[arch-commits] Commit in python-zc.lockfile/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 20:20:22 UTC 2021
Date: Tuesday, November 30, 2021 @ 20:20:21
Author: felixonmars
Revision: 1058041
archrelease: copy trunk to community-staging-any
Added:
python-zc.lockfile/repos/community-staging-any/
python-zc.lockfile/repos/community-staging-any/PKGBUILD
(from rev 1058039, python-zc.lockfile/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-zc.lockfile/repos/community-staging-any/PKGBUILD (from rev 1058039, python-zc.lockfile/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 20:20:21 UTC (rev 1058041)
@@ -0,0 +1,33 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=python-zc.lockfile
+_pkgname=${pkgname#python-}
+pkgver=2.0
+pkgrel=7
+arch=('any')
+pkgdesc="Zope testing frameworks"
+url="https://github.com/zopefoundation/$_pkgname"
+license=('custom:ZPL')
+makedepends=('python-setuptools')
+checkdepends=('python-zope-testing')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('bdb429c506064a83cb6fe0964aef6793cc20b5c954c208497a2c3d596213687b40be6d778490d3317de87ff997dfcfc9357f6e5225f48636148f1acdc9325350')
+
+build() {
+ cd $_pkgname-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd $_pkgname-$pkgver
+ python setup.py test -q
+}
+
+package() {
+ depends=('python')
+ cd $_pkgname-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ install -Dm 644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list