aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2016-07-19 00:14:45 +0800
committerjbeich <jbeich@FreeBSD.org>2016-07-19 00:14:45 +0800
commit34a9607eaf94b58a24279810e1f97927e5d8736f (patch)
tree4af71c91fb19819d83b689830a8317b2757aa423 /devel
parent5022140333a73dc641fa47340f38e6380beda7b0 (diff)
downloadfreebsd-ports-gnome-34a9607eaf94b58a24279810e1f97927e5d8736f.tar.gz
freebsd-ports-gnome-34a9607eaf94b58a24279810e1f97927e5d8736f.tar.zst
freebsd-ports-gnome-34a9607eaf94b58a24279810e1f97927e5d8736f.zip
devel/py-apscheduler: fix python package version after r418353
>>> import apscheduler >>> apscheduler.__version__ '0.0.0' PR: 210980 Submitted by: Andrej Ebert <andrej@ebert.su>
Diffstat (limited to 'devel')
-rw-r--r--devel/py-apscheduler/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/py-apscheduler/Makefile b/devel/py-apscheduler/Makefile
index ad2d88318b42..70a9dd972b7b 100644
--- a/devel/py-apscheduler/Makefile
+++ b/devel/py-apscheduler/Makefile
@@ -2,6 +2,7 @@
PORTNAME= apscheduler
PORTVERSION= 3.2.0
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,6 +14,7 @@ COMMENT= In-process task scheduler with Cron-like capabilities
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz \
${PYTHON_PKGNAMEPREFIX}six>=1.4.0:devel/py-six \
${PYTHON_PKGNAMEPREFIX}tzlocal>=1.2:devel/py-tzlocal
@@ -33,7 +35,6 @@ TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock
.endif
post-patch:
- @${REINPLACE_CMD} -e '/setup_requires/,/],/d' ${WRKSRC}/${PYSETUP}
@${REINPLACE_CMD} -e 's/ --cov//' ${WRKSRC}/${PYSETUP:R}.cfg
@${REINPLACE_CMD} -e 's/set_level/setLevel/' \
-e 's/\.records/&()/' \