[arch-commits] Commit in python-gflags/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Fri Dec 3 00:28:37 UTC 2021
Date: Friday, December 3, 2021 @ 00:28:37
Author: foutrelis
Revision: 1063788
archrelease: copy trunk to community-staging-any
Added:
python-gflags/repos/community-staging-any/
python-gflags/repos/community-staging-any/PKGBUILD
(from rev 1063787, python-gflags/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: python-gflags/repos/community-staging-any/PKGBUILD (from rev 1063787, python-gflags/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-03 00:28:37 UTC (rev 1063788)
@@ -0,0 +1,28 @@
+# Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com >
+
+pkgname=python-gflags
+pkgver=3.1.2
+pkgrel=7
+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