mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
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>
This commit is contained in:
parent
9fad96f627
commit
b4552dabef
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=418710
@ -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/&()/' \
|
||||
|
Loading…
Reference in New Issue
Block a user