[arch-commits] Commit in python-gflags/repos/community-any (PKGBUILD PKGBUILD)

Ike Devolder idevolder at archlinux.org
Wed Nov 9 18:48:59 UTC 2016


    Date: Wednesday, November 9, 2016 @ 18:48:59
  Author: idevolder
Revision: 195232

archrelease: copy trunk to community-any

Added:
  python-gflags/repos/community-any/PKGBUILD
    (from rev 195231, python-gflags/trunk/PKGBUILD)
Deleted:
  python-gflags/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  100 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 50 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-11-09 18:46:44 UTC (rev 195231)
+++ PKGBUILD	2016-11-09 18:48:59 UTC (rev 195232)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com >
-pkgbase=python-gflags
-pkgname=('python-gflags' 'python2-gflags')
-pkgver=3.1.0
-pkgrel=1
-pkgdesc="Commandline flags module for Python"
-arch=('any')
-url="https://github.com/google/python-gflags"
-license=('BSD')
-makedepends=('python2-setuptools' 'python-setuptools')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/google/$pkgbase/archive/$pkgver.tar.gz")
-sha256sums=('60ffd920dc19efc0696fba8bd5c2b2c708c6514e8856e7efd66ece276c29ee07')
-
-prepare() {
-    cp -a "$pkgbase-$pkgver" "${pkgbase/python/python2}-$pkgver"
-}
-
-build() {
-    cd "$srcdir/$pkgbase-$pkgver"
-	python setup.py build
-
-	cd "$srcdir/${pkgbase/python/python2}-$pkgver"
-	python2 setup.py build
-}
-
-package_python-gflags() {
-    depends=('python')
-	cd "$pkgbase-$pkgver"
-	python setup.py install --root=${pkgdir}
-    chmod +x "$pkgdir/usr/bin/gflags2man.py"
-	#chmod +r ${pkgdir}/* -R
-	#install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
-	install -Dm644 AUTHORS "$pkgdir/usr/share/licenses/$pkgbase/AUTHORS"
-	install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgbase/COPYING"
-}
-
-package_python2-gflags() {
-    depends=('python2')
-	cd ${pkgbase/python/python2}-${pkgver}
-    find -name "*.py" -exec sed -e 's/env python/&2/' -i {} \;
-	python2 setup.py install --root=${pkgdir}
-    mv "$pkgdir/usr/bin/gflags2man.py" "$pkgdir/usr/bin/gflags2man.py2"
-    chmod +x "$pkgdir/usr/bin/gflags2man.py2"
-	#chmod +r ${pkgdir}/* -R
-	#install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
-	install -Dm644 AUTHORS "$pkgdir/usr/share/licenses/${pkgbase/python/python2}/AUTHORS"
-	install -Dm644 COPYING "$pkgdir/usr/share/licenses/${pkgbase/python/python2}/COPYING"
-}
-

Copied: python-gflags/repos/community-any/PKGBUILD (from rev 195231, python-gflags/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-11-09 18:48:59 UTC (rev 195232)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com >
+pkgbase=python-gflags
+pkgname=('python-gflags' 'python2-gflags')
+pkgver=3.1.0
+pkgrel=1
+pkgdesc="Commandline flags module for Python"
+arch=('any')
+url="https://github.com/google/python-gflags"
+license=('BSD')
+makedepends=('python2-setuptools' 'python-setuptools')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/google/$pkgbase/archive/$pkgver.tar.gz")
+sha256sums=('60ffd920dc19efc0696fba8bd5c2b2c708c6514e8856e7efd66ece276c29ee07')
+
+prepare() {
+    cp -a "$pkgbase-$pkgver" "${pkgbase/python/python2}-$pkgver"
+}
+
+build() {
+    cd "$srcdir/$pkgbase-$pkgver"
+	python setup.py build
+
+	cd "$srcdir/${pkgbase/python/python2}-$pkgver"
+	python2 setup.py build
+}
+
+package_python-gflags() {
+    depends=('python')
+	cd "$pkgbase-$pkgver"
+	python setup.py install --root=${pkgdir}
+    chmod +x "$pkgdir/usr/bin/gflags2man.py"
+	#chmod +r ${pkgdir}/* -R
+	#install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
+	install -Dm644 AUTHORS "$pkgdir/usr/share/licenses/$pkgbase/AUTHORS"
+	install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgbase/COPYING"
+}
+
+package_python2-gflags() {
+    depends=('python2')
+	cd ${pkgbase/python/python2}-${pkgver}
+    find -name "*.py" -exec sed -e 's/env python/&2/' -i {} \;
+	python2 setup.py install --root=${pkgdir}
+    mv "$pkgdir/usr/bin/gflags2man.py" "$pkgdir/usr/bin/gflags2man.py2"
+    chmod +x "$pkgdir/usr/bin/gflags2man.py2"
+	#chmod +r ${pkgdir}/* -R
+	#install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
+	install -Dm644 AUTHORS "$pkgdir/usr/share/licenses/${pkgbase/python/python2}/AUTHORS"
+	install -Dm644 COPYING "$pkgdir/usr/share/licenses/${pkgbase/python/python2}/COPYING"
+}
+



More information about the arch-commits mailing list