summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-08-27 15:45:19 +0000
committerwiz <wiz@pkgsrc.org>2016-08-27 15:45:19 +0000
commit94adf54eb7f4a52528abef94a137e77fcdd6a210 (patch)
tree571d4ebdd90d1563d700e8cef4b3d55a02a92ad1
parent135385f9d303663d94c5f6285b016b548ac28a57 (diff)
downloadpkgsrc-94adf54eb7f4a52528abef94a137e77fcdd6a210.tar.gz
Updated py-vobject to 0.9.3.
26 August 2016 vobject 0.9.3 released Release Notes Fixed use of doc in setup.py for -OO mode Added python3 compatibility for base64 encoding Fixed ORG fields with multiple components Handle pytz timezones in iCalendar serialization Use logging instead of printing to stdout 13 March 2016 vobject 0.9.2 released Release Notes Better line folding for utf-8 strings Convert unicode to utf-8 to be StringIO compatible 16 February 2016 vobject 0.9.1 released Release Notes Removed lock on dateutil version (>=2.4.0 now works) 3 February 2016 vobject 0.9.0 released Release Notes Python 3 compatible Updated version of dateutil (2.4.0) More comprehensive unit tests available in tests.py Performance improvements in iteration Test files are included in PyPI download package 28 January 2016 vobject 0.8.2 released Release Notes Removed unnecessary ez_setup call from setup.py
-rw-r--r--textproc/py-vobject/Makefile28
-rw-r--r--textproc/py-vobject/PLIST7
-rw-r--r--textproc/py-vobject/distinfo10
3 files changed, 25 insertions, 20 deletions
diff --git a/textproc/py-vobject/Makefile b/textproc/py-vobject/Makefile
index 516e947e1fd..807664888c4 100644
--- a/textproc/py-vobject/Makefile
+++ b/textproc/py-vobject/Makefile
@@ -1,25 +1,29 @@
-# $NetBSD: Makefile,v 1.17 2016/07/09 13:04:11 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2016/08/27 15:45:19 wiz Exp $
-DISTNAME= vobject-0.8.1c
+DISTNAME= vobject-0.9.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 2
CATEGORIES= textproc python
-MASTER_SITES= http://vobject.skyhouseconsulting.com/
+MASTER_SITES= ${MASTER_SITE_PYPI:=v/vobject/}
MAINTAINER= kleink@NetBSD.org
-HOMEPAGE= http://vobject.skyhouseconsulting.com/
+HOMEPAGE= https://eventable.github.io/vobject/
COMMENT= Python iCalendar (ics) and vCard library
LICENSE= apache-2.0
-PYTHON_VERSIONED_DEPENDENCIES= dateutil
-PYTHON_VERSIONS_INCOMPATIBLE= 34 35 # not yet ported as of 0.8.1c
+DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
+DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-PYTHON_SELF_CONFLICT= yes
-EGG_NAME= ${DISTNAME:S/1c/1rc0/}
+PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
-PYDISTUTILSPKG= yes
-PY_PATCHPLIST= yes
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} change_tz change_tz-${PYVERSSUFFIX} && \
+ ${MV} ics_diff ics_diff-${PYVERSSUFFIX}
+
+# tests.py is missing in 0.9.3 tarball
+# https://github.com/eventable/vobject/issues/38
+do-test:
+ cd ${WRKSRC} && ${PYTHONBIN} tests.py
.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-vobject/PLIST b/textproc/py-vobject/PLIST
index 14dbc76f7fd..3fb33efb8e7 100644
--- a/textproc/py-vobject/PLIST
+++ b/textproc/py-vobject/PLIST
@@ -1,10 +1,11 @@
-@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:17:26 joerg Exp $
-bin/change_tz
-bin/ics_diff
+@comment $NetBSD: PLIST,v 1.4 2016/08/27 15:45:19 wiz Exp $
+bin/change_tz-${PYVERSSUFFIX}
+bin/ics_diff-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/pbr.json
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/${EGG_INFODIR}/zip-safe
diff --git a/textproc/py-vobject/distinfo b/textproc/py-vobject/distinfo
index 3155ee44ae6..1719cd16379 100644
--- a/textproc/py-vobject/distinfo
+++ b/textproc/py-vobject/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2015/11/04 02:00:05 agc Exp $
+$NetBSD: distinfo,v 1.5 2016/08/27 15:45:19 wiz Exp $
-SHA1 (vobject-0.8.1c.tar.gz) = 97f1daf9d813a2b2128c2d39ca52bbbcc152fdfd
-RMD160 (vobject-0.8.1c.tar.gz) = ca1b1f207b6b7d4418a401938656627e6404aacf
-SHA512 (vobject-0.8.1c.tar.gz) = 3c7071e040172c8ef9e93bb818fb3c5f04912322adaaf56794b00005ff1ee787d54ad6860835be4fb123fa4215c104e1cbc4031dcdab53e96f7dbed771c0fa79
-Size (vobject-0.8.1c.tar.gz) = 59925 bytes
+SHA1 (vobject-0.9.3.tar.gz) = f0f5dbb2f2f482636e9da69f4603985082379b3b
+RMD160 (vobject-0.9.3.tar.gz) = b89df8591829e440acdd63d00a49576b803981d6
+SHA512 (vobject-0.9.3.tar.gz) = 2dda4c4f15801dd657aea716d2d1af143afa3893ca72ae86aa425fb58354ec9a937cf6ebdc311ff3edaadfc7ebd3564d4d8c3b67c46be84c153865e7707b4a92
+Size (vobject-0.9.3.tar.gz) = 51106 bytes