Date: Saturday, April 8, 2023 @ 05:50:32
  Author: felixonmars
Revision: 1441817

archrelease: copy trunk to community-staging-any

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

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

Copied: python-lockfile/repos/community-staging-any/PKGBUILD (from rev 1441815, 
python-lockfile/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-08 05:50:32 UTC (rev 1441817)
@@ -0,0 +1,34 @@
+
+pkgbase=python-lockfile
+pkgname=(python-lockfile)
+pkgver=0.12.2
+pkgrel=12
+pkgdesc='Platform-independent file locking module'
+arch=(any)
+url='https://github.com/openstack/pylockfile'
+license=(MIT)
+depends=(python)
+makedepends=(python-setuptools python-pbr)
+checkdepends=(python-nose)
+source=(https://files.pythonhosted.org/packages/source/l/lockfile/lockfile-$pkgver.tar.gz)
+sha256sums=('6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799')
+
+prepare() {
+  cp -a lockfile-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir/lockfile-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir/lockfile-$pkgver"
+  nosetests
+}
+
+package() {
+  cd "$srcdir/lockfile-$pkgver"
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Reply via email to