[arch-commits] Commit in python-lockfile/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Nov 11 15:12:59 UTC 2020
Date: Wednesday, November 11, 2020 @ 15:12:59
Author: foutrelis
Revision: 750988
archrelease: copy trunk to community-staging-any
Added:
python-lockfile/repos/community-staging-any/PKGBUILD
(from rev 750986, python-lockfile/trunk/PKGBUILD)
Deleted:
python-lockfile/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-11 15:12:58 UTC (rev 750987)
+++ PKGBUILD 2020-11-11 15:12:59 UTC (rev 750988)
@@ -1,49 +0,0 @@
-
-pkgbase=python-lockfile
-pkgname=(python-lockfile python2-lockfile)
-pkgver=0.12.2
-pkgrel=7
-pkgdesc='Platform-independent file locking module'
-arch=(any)
-url='https://github.com/openstack/pylockfile'
-license=(MIT)
-makedepends=(python-setuptools python2-setuptools python-pbr python2-pbr)
-checkdepends=(python-nose python2-nose)
-source=(https://files.pythonhosted.org/packages/source/l/lockfile/lockfile-$pkgver.tar.gz)
-sha1sums=('c2ac46e48585e5f8f8d57ccc55ca83faa8b53b86')
-
-prepare() {
- cp -a lockfile-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir/lockfile-$pkgver"
- python setup.py build
-
- cd "$srcdir/lockfile-$pkgver-py2"
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir/lockfile-$pkgver"
- nosetests
-
- cd "$srcdir/lockfile-$pkgver-py2"
- nosetests2
-}
-
-package_python-lockfile() {
- depends=(python)
-
- cd "$srcdir/lockfile-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-lockfile() {
- depends=(python2)
-
- cd "$srcdir/lockfile-$pkgver-py2"
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: python-lockfile/repos/community-staging-any/PKGBUILD (from rev 750986, python-lockfile/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-11 15:12:59 UTC (rev 750988)
@@ -0,0 +1,49 @@
+
+pkgbase=python-lockfile
+pkgname=(python-lockfile python2-lockfile)
+pkgver=0.12.2
+pkgrel=8
+pkgdesc='Platform-independent file locking module'
+arch=(any)
+url='https://github.com/openstack/pylockfile'
+license=(MIT)
+makedepends=(python-setuptools python2-setuptools python-pbr python2-pbr)
+checkdepends=(python-nose python2-nose)
+source=(https://files.pythonhosted.org/packages/source/l/lockfile/lockfile-$pkgver.tar.gz)
+sha1sums=('c2ac46e48585e5f8f8d57ccc55ca83faa8b53b86')
+
+prepare() {
+ cp -a lockfile-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir/lockfile-$pkgver"
+ python setup.py build
+
+ cd "$srcdir/lockfile-$pkgver-py2"
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir/lockfile-$pkgver"
+ nosetests
+
+ cd "$srcdir/lockfile-$pkgver-py2"
+ nosetests2
+}
+
+package_python-lockfile() {
+ depends=(python)
+
+ cd "$srcdir/lockfile-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-lockfile() {
+ depends=(python2)
+
+ cd "$srcdir/lockfile-$pkgver-py2"
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list