aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2018-02-09 22:08:57 +0800
committersunpoet <sunpoet@FreeBSD.org>2018-02-09 22:08:57 +0800
commit2709d3cc2e9a470553a5a313f0d23891a2fa40ee (patch)
tree8bd475690d8dc9c168f7c0d35046892823427769
parent30db3d6099db59fe138660a054f3ac2dbc33d690 (diff)
downloadfreebsd-ports-gnome-2709d3cc2e9a470553a5a313f0d23891a2fa40ee.tar.gz
freebsd-ports-gnome-2709d3cc2e9a470553a5a313f0d23891a2fa40ee.tar.zst
freebsd-ports-gnome-2709d3cc2e9a470553a5a313f0d23891a2fa40ee.zip
Update to 0.6.1
- Update MASTER_SITES - Update LICENSE - Allow concurrent installation (USE_PYTHON=concurrent) - Remove DOCS option - Update pkg-descr - Update WWW - Take maintainership Changes: https://github.com/LinkCareServices/period/commits/master
-rw-r--r--devel/py-period/Makefile28
-rw-r--r--devel/py-period/distinfo5
-rw-r--r--devel/py-period/pkg-descr11
-rw-r--r--devel/py-period/pkg-plist3
4 files changed, 18 insertions, 29 deletions
diff --git a/devel/py-period/Makefile b/devel/py-period/Makefile
index 1c734a3f722d..dab37c8e765f 100644
--- a/devel/py-period/Makefile
+++ b/devel/py-period/Makefile
@@ -2,32 +2,20 @@
# $FreeBSD$
PORTNAME= period
-PORTVERSION= 0.5
-PORTREVISION= 1
+PORTVERSION= 0.6.1
CATEGORIES= devel python
-MASTER_SITES= http://www.biostat.wisc.edu/~annis/creations/
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Basic time period checking library
-LICENSE= ART10 # same as perl
+LICENSE= ART20
-USES= python shebangfix
-SHEBANG_FILES= period.py
-NO_BUILD= yes
-NO_ARCH= yes
-
-OPTIONS_DEFINE= DOCS
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>=0:devel/py-pip@${FLAVOR}
-do-install:
- @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/period.py ${STAGEDIR}${PYTHON_SITELIBDIR}
-
-do-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for ex in html txt
- ${INSTALL_DATA} ${WRKSRC}/period.${ex} ${STAGEDIR}${DOCSDIR}
-.endfor
+NO_ARCH= yes
+USE_PYTHON= autoplist concurrent distutils
+USES= python
.include <bsd.port.mk>
diff --git a/devel/py-period/distinfo b/devel/py-period/distinfo
index 0d2d27c53334..00121f2cb990 100644
--- a/devel/py-period/distinfo
+++ b/devel/py-period/distinfo
@@ -1,2 +1,3 @@
-SHA256 (period-0.5.tar.gz) = f545ad16c078a42eb09d907ad5bfd11abb382bff185af5c834438d825269f3b6
-SIZE (period-0.5.tar.gz) = 8998
+TIMESTAMP = 1517677421
+SHA256 (period-0.6.1.tar.gz) = c821a27109bb97893def7fae81d44f31e302db45c7d72af2f919ec5bb90f930b
+SIZE (period-0.6.1.tar.gz) = 8384
diff --git a/devel/py-period/pkg-descr b/devel/py-period/pkg-descr
index 015235939b54..a94b460d36dd 100644
--- a/devel/py-period/pkg-descr
+++ b/devel/py-period/pkg-descr
@@ -1,5 +1,8 @@
-This is an early version of a basic time period checking library for Python.
-It is in part inspired by perl's Time::Period module and the time class
-mechanism of Cfengine.
+Period is a basic time period checking library.
-WWW: http://www.biostat.wisc.edu/~annis/creations/period.py.html
+Period is based on period.py by William S. Annis. (available at
+https://www.biostat.wisc.edu/~annis/creations/period.py.html) and ported to
+python3 with a few improvements. Period.py was in part inspired by perl's
+Time::Period module and the time class mechanism of Cfengine.
+
+WWW: https://pypi.python.org/pypi/period
diff --git a/devel/py-period/pkg-plist b/devel/py-period/pkg-plist
deleted file mode 100644
index 87f199eb7483..000000000000
--- a/devel/py-period/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-%%PYTHON_SITELIBDIR%%/period.py
-%%PORTDOCS%%share/doc/period/period.html
-%%PORTDOCS%%share/doc/period/period.txt