[arch-commits] Commit in python-vobject/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Sat Jul 14 22:16:11 UTC 2018


    Date: Saturday, July 14, 2018 @ 22:16:11
  Author: dvzrv
Revision: 359501

archrelease: copy trunk to community-any

Added:
  python-vobject/repos/community-any/PKGBUILD
    (from rev 359500, python-vobject/trunk/PKGBUILD)
Deleted:
  python-vobject/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  124 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 62 insertions(+), 62 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-14 22:16:03 UTC (rev 359500)
+++ PKGBUILD	2018-07-14 22:16:11 UTC (rev 359501)
@@ -1,62 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: Carsten Feuls <archlinux at carstenfeuls.de>
-
-_name=vobject
-pkgbase=python-vobject
-pkgname=('python-vobject' 'python2-vobject')
-pkgver=0.9.5
-pkgrel=4
-pkgdesc='Module for parsing and generating vCard and vCalendar files'
-url="https://eventable.github.io/vobject/"
-license=('Apache')
-arch=('any')
-makedepends=('python-dateutil' 'python-setuptools' 'python2-dateutil' 'python2-setuptools')
-source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/eventable/vobject/archive/${pkgver}.tar.gz")
-sha512sums=('087b394ad6c48c359ee1cabb90cbc85cb305ed9e65199f33c19f386c7075b70273e5fddcf7fde5356b140ead7a581efd917594e4d493e720c4e1a632f797acc7')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "${pkgname[0]}-${pkgver}"
-  cp -av "${pkgname[0]}-${pkgver}" "${pkgname[1]}-${pkgver}"
-}
-
-build() {
-  cd "${pkgname[0]}-${pkgver}"
-  python setup.py build
-  cd ../"${pkgname[1]}-${pkgver}"
-  python2 setup.py build
-}
-
-## tests fail: https://github.com/eventable/vobject/issues/113
-#check() {
-#  cd "${pkgname[0]}-${pkgver}"
-#  python setup.py test
-#  cd ../"${pkgname[1]}-${pkgver}"
-#  python2 setup.py test
-#}
-
-package_python-vobject() {
-  depends=('python-dateutil' 'python-setuptools')
-  cd "${pkgname}-${pkgver}"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -t "${pkgdir}/usr/share/${pkgname}" \
-    -vDm 644 {ACKNOWLEDGEMENTS.txt,README.md}
-}
-
-package_python2-vobject() {
-  depends=('python2-dateutil' 'python2-setuptools')
-  cd "${pkgname}-${pkgver}"
-  python2 setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  mv -v "${pkgdir}/usr/bin/ics_diff" "${pkgdir}/usr/bin/ics_diff2"
-  mv -v "${pkgdir}/usr/bin/change_tz" "${pkgdir}/usr/bin/change_tz2"
-  install -t "${pkgdir}/usr/share/${pkgname}" \
-    -vDm 644 {ACKNOWLEDGEMENTS.txt,README.md}
-}
-
-# vim:set ts=2 sw=2 et:
-

Copied: python-vobject/repos/community-any/PKGBUILD (from rev 359500, python-vobject/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-07-14 22:16:11 UTC (rev 359501)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Carsten Feuls <archlinux at carstenfeuls.de>
+
+_name=vobject
+pkgbase=python-vobject
+pkgname=('python-vobject' 'python2-vobject')
+pkgver=0.9.6
+pkgrel=1
+pkgdesc='Module for parsing and generating vCard and vCalendar files'
+url="https://eventable.github.io/vobject/"
+license=('Apache')
+arch=('any')
+makedepends=('python-dateutil' 'python-setuptools' 'python2-dateutil' 'python2-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('06baa4dadda0f0c51ab271d611b8e4b46fe40da8c248864d6a8b88f433af1e4212f00ccdd3db31ad0cb52087c100ede088e51f3bd7470011ea50ef5353cf00a5')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "${pkgname[0]}-${pkgver}"
+  cp -av "${pkgname[0]}-${pkgver}" "${pkgname[1]}-${pkgver}"
+}
+
+build() {
+  cd "${pkgname[0]}-${pkgver}"
+  python setup.py build
+  cd ../"${pkgname[1]}-${pkgver}"
+  python2 setup.py build
+}
+
+check() {
+  cd "${pkgname[0]}-${pkgver}"
+  python setup.py test
+  cd ../"${pkgname[1]}-${pkgver}"
+  python2 setup.py test
+}
+
+package_python-vobject() {
+  depends=('python-dateutil' 'python-setuptools')
+  cd "${pkgname}-${pkgver}"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -t "${pkgdir}/usr/share/${pkgname}" \
+    -vDm 644 {ACKNOWLEDGEMENTS.txt,README.md}
+}
+
+package_python2-vobject() {
+  depends=('python2-dateutil' 'python2-setuptools')
+  cd "${pkgname}-${pkgver}"
+  python2 setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  mv -v "${pkgdir}/usr/bin/ics_diff" "${pkgdir}/usr/bin/ics_diff2"
+  mv -v "${pkgdir}/usr/bin/change_tz" "${pkgdir}/usr/bin/change_tz2"
+  install -t "${pkgdir}/usr/share/${pkgname}" \
+    -vDm 644 {ACKNOWLEDGEMENTS.txt,README.md}
+}
+
+# vim:set ts=2 sw=2 et:
+



More information about the arch-commits mailing list