[arch-commits] Commit in python-icalendar/repos/community-staging-any (2 files)

David Runge dvzrv at archlinux.org
Mon Jul 16 23:25:39 UTC 2018


    Date: Monday, July 16, 2018 @ 23:25:38
  Author: dvzrv
Revision: 360312

archrelease: copy trunk to community-staging-any

Added:
  python-icalendar/repos/community-staging-any/PKGBUILD
    (from rev 360311, python-icalendar/trunk/PKGBUILD)
Deleted:
  python-icalendar/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |  141 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 71 insertions(+), 70 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-16 23:23:19 UTC (rev 360311)
+++ PKGBUILD	2018-07-16 23:25:38 UTC (rev 360312)
@@ -1,70 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: Daniel M. Capella <polyzen at archlinux.info>
-# Contributor: Sirat18 <aur at sirat18.de>
-# Contributor: Jonas Heinrich <onny at project-insanity.org>
-
-_name=icalendar
-pkgbase=python-icalendar
-pkgname=('python-icalendar' 'python2-icalendar')
-pkgver=4.0.1
-pkgrel=2
-pkgdesc='A parser/generator of iCalendar files (RFC 2445)'
-arch=('any')
-url="https://github.com/collective/icalendar"
-license=('custom:BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-dateutil' 'python-pytz' 'python2-dateutil' 'python2-pytz')
-source=("${_name}-${pkgver}.tar.gz::https://github.com/collective/${_name}/archive/${pkgver}.tar.gz")
-sha512sums=('98a2f006819f589b9d7b2c9a16e8344092fd6b013f8ad32362a2820f68d352cc67796c8044c4c720e6910bb7d735e035d81b9c1239d7c25b7ec00fcb5c987c0d')
-
-prepare() {
-  # Disable failing test (https://github.com/collective/icalendar/issues/260)
-  sed -i 's/test_create_america_new_york/disabled_&/' \
-    "${_name}-${pkgver}"/src/icalendar/tests/test_timezoned.py
-  mv -v "${_name}-${pkgver}" "${pkgname}-${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 -m unittest discover src
-  cd ../"${pkgname[1]}-${pkgver}"
-  python2 -m unittest discover src
-}
-
-package_python-icalendar() {
-  depends=('python-dateutil' 'python-pytz')
-  cd "${pkgname[0]}-${pkgver}"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -t "${pkgdir}/usr/share/doc/${pkgname[0]}/" \
-    -vDm644 {CHANGES,CONTRIBUTING,README}.rst
-  install -vDm644 LICENSE.rst \
-    "${pkgdir}/usr/share/licenses/${pkgname[0]}/LICENSE"
-}
-
-package_python2-icalendar() {
-  depends=('python2-dateutil' 'python2-pytz')
-  cd "${pkgname[1]}-${pkgver}"
-  python2 setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  mv -v "${pkgdir}/usr/bin/${_name}" "${pkgdir}/usr/bin/${_name}2"
-  install -t "${pkgdir}/usr/share/doc/${pkgname[1]}/" \
-    -vDm644 {CHANGES,CONTRIBUTING,README}.rst
-  install -vDm644 LICENSE.rst \
-    "${pkgdir}/usr/share/licenses/${pkgname[1]}/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:
-

Copied: python-icalendar/repos/community-staging-any/PKGBUILD (from rev 360311, python-icalendar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-07-16 23:25:38 UTC (rev 360312)
@@ -0,0 +1,71 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Daniel M. Capella <polyzen at archlinux.info>
+# Contributor: Sirat18 <aur at sirat18.de>
+# Contributor: Jonas Heinrich <onny at project-insanity.org>
+
+_name=icalendar
+pkgbase=python-icalendar
+pkgname=('python-icalendar' 'python2-icalendar')
+pkgver=4.0.2
+pkgrel=2
+pkgdesc='A parser/generator of iCalendar files (RFC 2445)'
+arch=('any')
+url="https://github.com/collective/icalendar"
+license=('custom:BSD')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-dateutil' 'python-pytz' 'python2-dateutil' 'python2-pytz')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('6dc2d03209fcdd02b095c305e9cd2a1fe22762b368c459d8fcb6cd5d7657673195dcee3014b3b8f521e0a411f96a5643014bbf7b20065c54146332ce130ba682')
+
+prepare() {
+  # Disable failing test: https://github.com/collective/icalendar/issues/260
+  sed -e 's/test_create_america_new_york/disabled_&/' \
+      -i "${_name}-${pkgver}"/src/icalendar/tests/test_timezoned.py
+  mv -v "${_name}-${pkgver}" "${pkgname}-${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 -m unittest discover src
+  cd ../"${pkgname[1]}-${pkgver}"
+  python2 -m unittest discover src
+}
+
+package_python-icalendar() {
+  depends=('python-dateutil' 'python-pytz')
+  cd "${pkgname}-${pkgver}"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
+    -vDm 644 {CHANGES,CONTRIBUTING,README}.rst
+  install -vDm 644 LICENSE.rst \
+    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-icalendar() {
+  depends=('python2-dateutil' 'python2-pytz')
+  cd "${pkgname}-${pkgver}"
+  python2 setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  mv -v "${pkgdir}/usr/bin/${_name}" "${pkgdir}/usr/bin/${_name}2"
+  install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
+    -vDm 644 {CHANGES,CONTRIBUTING,README}.rst
+  install -vDm 644 LICENSE.rst \
+    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
+



More information about the arch-commits mailing list