aboutsummaryrefslogtreecommitdiff
path: root/devel/py-dateutil
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-07-20 11:28:23 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-07-20 11:28:23 +0000
commitddef71acca8a8a26294a063c3abf1c6321b6881e (patch)
tree279c803a14fbfc352e8d21c3227b85c15c0f5d7c /devel/py-dateutil
parent5d362afc9067d4dc6b3e66dca59ccafb2cdd323e (diff)
downloadports-ddef71acca8a8a26294a063c3abf1c6321b6881e.tar.gz
ports-ddef71acca8a8a26294a063c3abf1c6321b6881e.zip
Notes
Diffstat (limited to 'devel/py-dateutil')
-rw-r--r--devel/py-dateutil/Makefile2
-rw-r--r--devel/py-dateutil/files/patch-setup.py10
-rw-r--r--devel/py-dateutil/pkg-plist1
3 files changed, 11 insertions, 2 deletions
diff --git a/devel/py-dateutil/Makefile b/devel/py-dateutil/Makefile
index 87a7886df9e7..3f5c43d18602 100644
--- a/devel/py-dateutil/Makefile
+++ b/devel/py-dateutil/Makefile
@@ -15,8 +15,6 @@ DISTNAME= python-dateutil-${PORTVERSION}
MAINTAINER= lioux@FreeBSD.org
COMMENT= Provides powerful extensions to the standard datetime module
-BROKEN= Incomplete pkg-plist
-
USE_BZIP2= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
diff --git a/devel/py-dateutil/files/patch-setup.py b/devel/py-dateutil/files/patch-setup.py
new file mode 100644
index 000000000000..b712777ae554
--- /dev/null
+++ b/devel/py-dateutil/files/patch-setup.py
@@ -0,0 +1,10 @@
+--- setup.py.orig Thu Jun 9 13:41:05 2005
++++ setup.py Thu Jun 9 13:43:15 2005
+@@ -22,6 +22,5 @@
+ datetime module, available in Python 2.3+.
+ """,
+ packages = ["dateutil", "dateutil.zoneinfo"],
+- data_files = [(PYTHONLIB+"/dateutil/zoneinfo",
+- glob.glob("dateutil/zoneinfo/zoneinfo*.tar.*"))],
++ package_data={"dateutil.zoneinfo": ["zoneinfo*.tar.*"]},
+ )
diff --git a/devel/py-dateutil/pkg-plist b/devel/py-dateutil/pkg-plist
index 92e85c93b944..f3e3e8b01b52 100644
--- a/devel/py-dateutil/pkg-plist
+++ b/devel/py-dateutil/pkg-plist
@@ -22,6 +22,7 @@
%%PYTHON_SITELIBDIR%%/dateutil/zoneinfo/__init__.py
%%PYTHON_SITELIBDIR%%/dateutil/zoneinfo/__init__.pyc
%%PYTHON_SITELIBDIR%%/dateutil/zoneinfo/__init__.pyo
+%%PYTHON_SITELIBDIR%%/dateutil/zoneinfo/zoneinfo-2005e.tar.gz
@dirrm %%PYTHON_SITELIBDIR%%/dateutil/zoneinfo
@dirrm %%PYTHON_SITELIBDIR%%/dateutil
@unexec rmdir %D/%%PYTHON_SITELIBDIR%% 2>/dev/null || true