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

Felix Yan felixonmars at archlinux.org
Sat Oct 26 04:06:07 UTC 2019


    Date: Saturday, October 26, 2019 @ 04:06:05
  Author: felixonmars
Revision: 519895

archrelease: copy trunk to community-staging-any

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

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

Copied: python-vobject/repos/community-staging-any/PKGBUILD (from rev 519894, python-vobject/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 04:06:05 UTC (rev 519895)
@@ -0,0 +1,34 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Carsten Feuls <archlinux at carstenfeuls.de>
+
+_name=vobject
+pkgname=python-vobject
+pkgver=0.9.6.1
+pkgrel=3
+pkgdesc='Module for parsing and generating vCard and vCalendar files'
+url="https://eventable.github.io/vobject/"
+license=('Apache')
+arch=('any')
+depends=('python-dateutil' 'python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('0b299fd4ca105a063f4ac7b03b157c54a3867d6fb798f9072897939b0ba275ba0887bb001c5ed38002a8eb1c10aee710af880413c072140b855af4b62d5aff72')
+
+build() {
+  cd "${_name}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${_name}-${pkgver}"
+  python setup.py test
+}
+
+package() {
+  cd "${_name}-${pkgver}"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -vDm 644 {ACKNOWLEDGEMENTS.txt,README.md} \
+    -t "${pkgdir}/usr/share/${pkgname}"
+}



More information about the arch-commits mailing list