[arch-commits] Commit in python-zope-deprecation/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 15:41:52 UTC 2020
Date: Monday, November 9, 2020 @ 15:41:52
Author: felixonmars
Revision: 747095
archrelease: copy trunk to community-staging-any
Added:
python-zope-deprecation/repos/community-staging-any/
python-zope-deprecation/repos/community-staging-any/PKGBUILD
(from rev 747093, python-zope-deprecation/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-zope-deprecation/repos/community-staging-any/PKGBUILD (from rev 747093, python-zope-deprecation/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 15:41:52 UTC (rev 747095)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-zope-deprecation
+pkgver=4.4.0
+pkgrel=4
+pkgdesc="Zope Deprecation Infrastructure"
+arch=('any')
+url="https://github.com/zopefoundation/zope.deprecation"
+license=('ZPL')
+depends=('python-setuptools')
+checkdepends=('python-nose')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/zope.deprecation/archive/$pkgver.tar.gz")
+sha512sums=('d8632a3442eee059383014bb3341b30897ad8f9206b71bc586c873c4cccf5f87296edaf18f1e1c93878f480e3b0e8e1c1936ac19ed327f4ab227402ebbc73e0e')
+
+build() {
+ cd "$srcdir"/zope.deprecation-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/zope.deprecation-$pkgver
+ nosetests3
+}
+
+package() {
+ cd zope.deprecation-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list