[arch-commits] Commit in python-contextlib2/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Oct 31 17:53:55 UTC 2019
Date: Thursday, October 31, 2019 @ 17:53:54
Author: felixonmars
Revision: 521461
archrelease: copy trunk to community-staging-any
Added:
python-contextlib2/repos/community-staging-any/PKGBUILD
(from rev 521460, python-contextlib2/trunk/PKGBUILD)
Deleted:
python-contextlib2/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 17:53:42 UTC (rev 521460)
+++ PKGBUILD 2019-10-31 17:53:54 UTC (rev 521461)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-# Contributor: Cedric Girard <girard.cedric at gmail.com>
-
-_pkgname=contextlib2
-pkgbase=python-$_pkgname
-pkgname=(python-$_pkgname python2-$_pkgname)
-pkgver=0.6.0
-pkgrel=2
-pkgdesc="Backport of the standard library's contextlib module to earlier Python versions"
-arch=('any')
-url='https://github.com/jazzband/contextlib2'
-license=('PSF')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("$pkgname-$pkgver::$url/archive/v$pkgver.tar.gz")
-sha512sums=('586e5dcd0ae54661df8a7a0be7868f514af2b3fa35328ad56a42dfd793deab9b0487e6b4aacb8ae727607d8b8cf2cf2a3a8f017cec1c2f975ea015afaa83382b')
-
-prepare() {
- cp -a $_pkgname-$pkgver{,-py2}
-}
-
-build() {
- echo "Building python-$_pkgname $pkgver"
- cd "$srcdir"/$_pkgname-$pkgver
- python setup.py build
-
- echo "Building python2-$_pkgname $pkgver"
- cd "$srcdir"/$_pkgname-$pkgver-py2
- python2 setup.py build
-}
-
-package_python-contextlib2() {
- 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
-}
-
-package_python2-contextlib2() {
- depends=('python2')
- cd $_pkgname-$pkgver-py2
-
- python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
- install -Dm 644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-contextlib2/repos/community-staging-any/PKGBUILD (from rev 521460, python-contextlib2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 17:53:54 UTC (rev 521461)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Contributor: Cedric Girard <girard.cedric at gmail.com>
+
+_pkgname=contextlib2
+pkgbase=python-$_pkgname
+pkgname=(python-$_pkgname python2-$_pkgname)
+pkgver=0.6.0
+pkgrel=3
+pkgdesc="Backport of the standard library's contextlib module to earlier Python versions"
+arch=('any')
+url='https://github.com/jazzband/contextlib2'
+license=('PSF')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("$pkgname-$pkgver::$url/archive/v$pkgver.tar.gz")
+sha512sums=('586e5dcd0ae54661df8a7a0be7868f514af2b3fa35328ad56a42dfd793deab9b0487e6b4aacb8ae727607d8b8cf2cf2a3a8f017cec1c2f975ea015afaa83382b')
+
+prepare() {
+ cp -a $_pkgname-$pkgver{,-py2}
+}
+
+build() {
+ echo "Building python-$_pkgname $pkgver"
+ cd "$srcdir"/$_pkgname-$pkgver
+ python setup.py build
+
+ echo "Building python2-$_pkgname $pkgver"
+ cd "$srcdir"/$_pkgname-$pkgver-py2
+ python2 setup.py build
+}
+
+package_python-contextlib2() {
+ 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
+}
+
+package_python2-contextlib2() {
+ depends=('python2')
+ cd $_pkgname-$pkgver-py2
+
+ python2 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