Relax USES=python
- Take maintainership
This commit is contained in:
@@ -7,7 +7,7 @@ CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Various utilities for working with date and datetime objects
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
@@ -16,8 +16,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}argparse>0:devel/py-argparse@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}
|
||||
|
||||
USES= python:2.7
|
||||
USE_PYTHON= autoplist distutils
|
||||
USES= python
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
|
||||
8
devel/py-dateutils/files/patch-dateutils-dateadd.py
Normal file
8
devel/py-dateutils/files/patch-dateutils-dateadd.py
Normal file
@@ -0,0 +1,8 @@
|
||||
--- dateutils/dateadd.py.orig 2013-05-02 02:45:52 UTC
|
||||
+++ dateutils/dateadd.py
|
||||
@@ -53,4 +53,4 @@ def main():
|
||||
if any(bool(v) for v in kwargs.values()):
|
||||
dates = [increment(dt, **kwargs) for dt in dates]
|
||||
for dt in dates:
|
||||
- print dt.strftime(args.format)
|
||||
+ print(dt.strftime(args.format))
|
||||
8
devel/py-dateutils/files/patch-dateutils-datediff.py
Normal file
8
devel/py-dateutils/files/patch-dateutils-datediff.py
Normal file
@@ -0,0 +1,8 @@
|
||||
--- dateutils/datediff.py.orig 2013-05-02 02:45:52 UTC
|
||||
+++ dateutils/datediff.py
|
||||
@@ -37,4 +37,4 @@ def main():
|
||||
if args.holiday_file:
|
||||
holidays.extend(parse(l) for l in open(args.holiday_file))
|
||||
kwargs['holidays'] = holidays
|
||||
- print __import__(args.unit)(end_dt, start_dt, **kwargs)
|
||||
+ print(__import__(args.unit)(end_dt, start_dt, **kwargs))
|
||||
Reference in New Issue
Block a user