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

Felix Yan felixonmars at archlinux.org
Sat Oct 26 04:11:17 UTC 2019


    Date: Saturday, October 26, 2019 @ 04:11:16
  Author: felixonmars
Revision: 519927

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: python-icalendar/repos/community-staging-any/PKGBUILD (from rev 519924, python-icalendar/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 04:11:16 UTC (rev 519927)
@@ -0,0 +1,39 @@
+# 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
+pkgname=python-icalendar
+pkgver=4.0.3
+pkgrel=2
+pkgdesc='A parser/generator of iCalendar files (RFC 2445)'
+arch=('any')
+url="https://github.com/collective/icalendar"
+license=('BSD')
+depends=('python-dateutil' 'python-pytz')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('2f0ac5a7f36c7d37047ba20bec3f2ca7df51a9e3ec3f29751c71cdd264c01f7e0abd6efc298dac5a7c87911cb4916e56bf77716d6ca05a2d090e26486e6a56be')
+
+build() {
+  cd "${_name}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${_name}-${pkgver}"
+  python -m unittest discover src
+}
+
+package() {
+  cd "${_name}-${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"
+}



More information about the arch-commits mailing list