[arch-commits] Commit in python-vobject/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Nov 10 04:13:09 UTC 2020
Date: Tuesday, November 10, 2020 @ 04:13:09
Author: felixonmars
Revision: 748564
archrelease: copy trunk to community-staging-any
Added:
python-vobject/repos/community-staging-any/
python-vobject/repos/community-staging-any/PKGBUILD
(from rev 748562, python-vobject/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python-vobject/repos/community-staging-any/PKGBUILD (from rev 748562, python-vobject/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-10 04:13:09 UTC (rev 748564)
@@ -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=5
+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