git: 416276e38014 - main - devel/py-verspec: Add py-verspec 0.1.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 Jun 2022 19:38:58 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=416276e380140faf2304f672b839c9dfdc0b0439
commit 416276e380140faf2304f672b839c9dfdc0b0439
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-16 19:33:13 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-16 19:33:13 +0000
devel/py-verspec: Add py-verspec 0.1.0
verspec is a Python library for handling software versions and specifiers,
adapted from the packaging package.
WWW: https://github.com/jimporter/verspec
---
devel/Makefile | 1 +
devel/py-verspec/Makefile | 22 ++++++++++++++++++++++
devel/py-verspec/distinfo | 3 +++
devel/py-verspec/pkg-descr | 4 ++++
4 files changed, 30 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 50dc3e992e26..855bd8c7ec91 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5469,6 +5469,7 @@
SUBDIR += py-venusian
SUBDIR += py-verboselogs
SUBDIR += py-versiontools
+ SUBDIR += py-verspec
SUBDIR += py-vine
SUBDIR += py-virtualenv
SUBDIR += py-virtualenv-api
diff --git a/devel/py-verspec/Makefile b/devel/py-verspec/Makefile
new file mode 100644
index 000000000000..220bd564c8e6
--- /dev/null
+++ b/devel/py-verspec/Makefile
@@ -0,0 +1,22 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= verspec
+PORTVERSION= 0.1.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Flexible version handling
+
+LICENSE= APACHE20 BSD2CLAUSE
+LICENSE_COMB= dual
+LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.APACHE
+LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.BSD
+
+USES= python:3.6+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-verspec/distinfo b/devel/py-verspec/distinfo
new file mode 100644
index 000000000000..8da13c6a0a19
--- /dev/null
+++ b/devel/py-verspec/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1655398646
+SHA256 (verspec-0.1.0.tar.gz) = c4504ca697b2056cdb4bfa7121461f5a0e81809255b41c03dda4ba823637c01e
+SIZE (verspec-0.1.0.tar.gz) = 27123
diff --git a/devel/py-verspec/pkg-descr b/devel/py-verspec/pkg-descr
new file mode 100644
index 000000000000..57e57863ddc3
--- /dev/null
+++ b/devel/py-verspec/pkg-descr
@@ -0,0 +1,4 @@
+verspec is a Python library for handling software versions and specifiers,
+adapted from the packaging package.
+
+WWW: https://github.com/jimporter/verspec