[arch-commits] Commit in python-gflags/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 19:34:57 UTC 2020


    Date: Thursday, November 12, 2020 @ 19:34:56
  Author: foutrelis
Revision: 753533

archrelease: copy trunk to community-staging-any

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

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

Copied: python-gflags/repos/community-staging-any/PKGBUILD (from rev 753532, python-gflags/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 19:34:56 UTC (rev 753533)
@@ -0,0 +1,27 @@
+# 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
+}



More information about the arch-commits mailing list