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

Jelle van der Waa jelle at archlinux.org
Fri Dec 11 20:49:05 UTC 2020


    Date: Friday, December 11, 2020 @ 20:49:05
  Author: jelle
Revision: 773214

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   55 ++++++++++++++++++++++++++++---------------------------
 1 file changed, 28 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-11 20:48:57 UTC (rev 773213)
+++ PKGBUILD	2020-12-11 20:49:05 UTC (rev 773214)
@@ -1,27 +0,0 @@
-# Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com >
-pkgname=python-gflags
-pkgver=3.1.2
-pkgrel=5
-pkgdesc="Commandline flags module for Python"
-arch=('any')
-url="https://github.com/google/python-gflags"
-license=('BSD')
-depends=('python')
-makedepends=('python-setuptools')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/google/${pkgname}/archive/${pkgver}.tar.gz")
-sha256sums=('f1692c79ccf4a55d13895dcd195f0db1ebd55c71024b431ec953703b38d73f96')
-
-build() {
-    cd ${pkgname}-${pkgver}
-    python setup.py build
-}
-
-package() {
-  cd ${pkgname}-${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/${pkgname}/AUTHORS
-  install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
-}

Copied: python-gflags/repos/community-any/PKGBUILD (from rev 773213, python-gflags/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-11 20:49:05 UTC (rev 773214)
@@ -0,0 +1,28 @@
+# Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com >
+
+pkgname=python-gflags
+pkgver=3.1.2
+pkgrel=6
+pkgdesc="Commandline flags module for Python"
+arch=('any')
+url="https://github.com/google/python-gflags"
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/google/${pkgname}/archive/${pkgver}.tar.gz")
+sha256sums=('f1692c79ccf4a55d13895dcd195f0db1ebd55c71024b431ec953703b38d73f96')
+
+build() {
+    cd ${pkgname}-${pkgver}
+    PYTHONHASHSEED=1 python setup.py build
+}
+
+package() {
+  cd ${pkgname}-${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/${pkgname}/AUTHORS
+  install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
+}



More information about the arch-commits mailing list