git: 933afd444d25 - main - devel/py-giturlparse: Add py-giturlparse 0.10.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 18 Jul 2022 20:40:53 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=933afd444d25eb5ff8194b5ed99a34e853f798de

commit 933afd444d25eb5ff8194b5ed99a34e853f798de
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-07-18 20:38:41 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-07-18 20:38:41 +0000

    devel/py-giturlparse: Add py-giturlparse 0.10.0
    
    giturlparse parses & rewrites git urls (supports GitHub, Bitbucket, FriendCode,
    Assembla, Gitlab ...). This is a fork of giturlparse.py with updated parsers.
    
    WWW: https://github.com/nephila/giturlparse
---
 devel/Makefile                 |  1 +
 devel/py-giturlparse/Makefile  | 20 ++++++++++++++++++++
 devel/py-giturlparse/distinfo  |  3 +++
 devel/py-giturlparse/pkg-descr |  4 ++++
 4 files changed, 28 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 4ae2fb5bd9e4..9c6904637d9a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4544,6 +4544,7 @@
     SUBDIR += py-gitdb
     SUBDIR += py-gitless
     SUBDIR += py-gitpython
+    SUBDIR += py-giturlparse
     SUBDIR += py-glance-store
     SUBDIR += py-glob2
     SUBDIR += py-gobject3
diff --git a/devel/py-giturlparse/Makefile b/devel/py-giturlparse/Makefile
new file mode 100644
index 000000000000..27ad81b9214c
--- /dev/null
+++ b/devel/py-giturlparse/Makefile
@@ -0,0 +1,20 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	giturlparse
+PORTVERSION=	0.10.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Git URL parsing module
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-giturlparse/distinfo b/devel/py-giturlparse/distinfo
new file mode 100644
index 000000000000..a1116ff63e26
--- /dev/null
+++ b/devel/py-giturlparse/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1658176302
+SHA256 (giturlparse-0.10.0.tar.gz) = 2595ab291d30717cda8474b874c9fd509f1b9802ad7f6968c36a45e4b13eb337
+SIZE (giturlparse-0.10.0.tar.gz) = 15794
diff --git a/devel/py-giturlparse/pkg-descr b/devel/py-giturlparse/pkg-descr
new file mode 100644
index 000000000000..5b26d3c2c95b
--- /dev/null
+++ b/devel/py-giturlparse/pkg-descr
@@ -0,0 +1,4 @@
+giturlparse parses & rewrites git urls (supports GitHub, Bitbucket, FriendCode,
+Assembla, Gitlab ...). This is a fork of giturlparse.py with updated parsers.
+
+WWW: https://github.com/nephila/giturlparse