aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2009-02-14 16:24:14 +0800
committerlwhsu <lwhsu@FreeBSD.org>2009-02-14 16:24:14 +0800
commite0d6384096d46bf07d307edfa6af9068b570c0d1 (patch)
tree642e42aebbbad82fdb0166956d81a32d558792d8 /devel
parente040842d0961a7e7a455c99eebdf9628565d8e36 (diff)
downloadfreebsd-ports-gnome-e0d6384096d46bf07d307edfa6af9068b570c0d1.tar.gz
freebsd-ports-gnome-e0d6384096d46bf07d307edfa6af9068b570c0d1.tar.zst
freebsd-ports-gnome-e0d6384096d46bf07d307edfa6af9068b570c0d1.zip
- Update to 2.0.1
- Pass maintainership to submitter PR: ports/131608 Submitted by: "Junji NAKANISHI" <jun-g AT daemonfreaks.com>
Diffstat (limited to 'devel')
-rw-r--r--devel/py-icalendar/Makefile30
-rw-r--r--devel/py-icalendar/distinfo6
-rw-r--r--devel/py-icalendar/pkg-plist7
3 files changed, 11 insertions, 32 deletions
diff --git a/devel/py-icalendar/Makefile b/devel/py-icalendar/Makefile
index 873293950bf7..f02170d949d5 100644
--- a/devel/py-icalendar/Makefile
+++ b/devel/py-icalendar/Makefile
@@ -6,43 +6,23 @@
#
PORTNAME= icalendar
-PORTVERSION= 1.2
-PORTREVISION= 1
+PORTVERSION= 2.0.1
CATEGORIES= devel python
-MASTER_SITES= http://codespeak.net/icalendar/ \
- http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= iCalendar-${PORTVERSION}
-EXTRACT_SUFX= .tgz
-MAINTAINER= lwhsu@FreeBSD.org
+MAINTAINER= jun-g@daemonfreaks.com
COMMENT= Parser and generator of iCalender files for Python
-BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_NOEGGINFO= yes # XXX convert easy_install support to bsd.python.mk's
+USE_PYDISTUTILS=easy_install
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
-EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
-
-PYDISTUTILS_BUILD_TARGET= bdist_egg
-PYDISTUTILS_INSTALL_TARGET= easy_install
-PYDISTUTILS_INSTALLARGS= -O 1 -N -S ${PYTHON_SITELIBDIR} ${WRKSRC}/dist/${PYICALENDAR_EGG}
-
-PYICALENDAR_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
-
-PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
- PYICALENDAR_EGG=${PYICALENDAR_EGG} \
- PYICALENDAR_EGG_VER="${PORTNAME}==${PORTVERSION}"
-
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- ${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}
+ (cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${DOCSDIR})
.endif
.include <bsd.port.mk>
diff --git a/devel/py-icalendar/distinfo b/devel/py-icalendar/distinfo
index be9f9b090b16..241dc63074f1 100644
--- a/devel/py-icalendar/distinfo
+++ b/devel/py-icalendar/distinfo
@@ -1,3 +1,3 @@
-MD5 (iCalendar-1.2.tgz) = 810cb3707605b75e51163e6eb1c1410a
-SHA256 (iCalendar-1.2.tgz) = cb192515a349f23ccebc12a02b4259207036613045d72497aff51b847cb75b4c
-SIZE (iCalendar-1.2.tgz) = 71947
+MD5 (icalendar-2.0.1.tar.gz) = 7346f458f1958df1de8179b3cb63f6aa
+SHA256 (icalendar-2.0.1.tar.gz) = 2b0d6fbede8360bb8db13e72e25fd3c5de26ca7fb811be61ece7d29b947c9100
+SIZE (icalendar-2.0.1.tar.gz) = 73338
diff --git a/devel/py-icalendar/pkg-plist b/devel/py-icalendar/pkg-plist
index 5b97043d890d..b15f69c3ca61 100644
--- a/devel/py-icalendar/pkg-plist
+++ b/devel/py-icalendar/pkg-plist
@@ -1,12 +1,11 @@
-@exec %%EASY_INSTALL_CMD%% -q -N -S %D/%%PYTHON_SITELIBDIR%% %%PYICALENDAR_EGG_VER%%
-@unexec %%EASY_INSTALL_CMD%% -q -m -S %D/%%PYTHON_SITELIBDIR%% %%PYICALENDAR_EGG_VER%%
-%%PYTHON_SITELIBDIR%%/%%PYICALENDAR_EGG%%
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
%%PORTDOCS%%%%DOCSDIR%%/example.txt
%%PORTDOCS%%%%DOCSDIR%%/groupscheduled.ics
%%PORTDOCS%%%%DOCSDIR%%/groupscheduled.txt
%%PORTDOCS%%%%DOCSDIR%%/multiple.ics
%%PORTDOCS%%%%DOCSDIR%%/multiple.txt
+%%PORTDOCS%%%%DOCSDIR%%/recurrence.ics
+%%PORTDOCS%%%%DOCSDIR%%/recurrence.txt
%%PORTDOCS%%%%DOCSDIR%%/small.ics
%%PORTDOCS%%%%DOCSDIR%%/small.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrmtry %%PYTHON_SITELIBDIR%%