[arch-commits] Commit in (4 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Sun Aug 11 10:03:18 UTC 2019


    Date: Sunday, August 11, 2019 @ 10:03:17
  Author: svenstaro
Revision: 498949

Add python-argparse-manpage for 389-ds

Added:
  python-argparse-manpage/
  python-argparse-manpage/repos/
  python-argparse-manpage/trunk/
  python-argparse-manpage/trunk/PKGBUILD

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

Added: python-argparse-manpage/trunk/PKGBUILD
===================================================================
--- python-argparse-manpage/trunk/PKGBUILD	                        (rev 0)
+++ python-argparse-manpage/trunk/PKGBUILD	2019-08-11 10:03:17 UTC (rev 498949)
@@ -0,0 +1,31 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=python-argparse-manpage
+pkgver=1.1
+pkgrel=1
+pkgdesc='Automatically build man-pages for your Python project'
+url='https://github.com/praiskup/argparse-manpage'
+arch=('any')
+license=('Apache')
+makedepends=('python-setuptools')
+source=("https://github.com/praiskup/argparse-manpage/archive/v${pkgver}.tar.gz")
+sha512sums=('2479d06558390439835f0ca8a8af3c48e5d905b51274add7d4a4047911ad3a01259e1342b540d002e33263a19e590326d62a9167bbf1df6ccb5183fb7825edcc')
+
+build() {
+  cd "$srcdir/argparse-manpage-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir/argparse-manpage-$pkgver"
+  python setup.py test
+}
+
+package() {
+  cd "$srcdir/argparse-manpage-$pkgver"
+  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list