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

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 04:15:56 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:15:56
  Author: foutrelis
Revision: 748603

archrelease: copy trunk to community-staging-any

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

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

Copied: python-pipreqs/repos/community-staging-any/PKGBUILD (from rev 748602, python-pipreqs/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:15:56 UTC (rev 748603)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pipreqs
+pkgver=0.4.10
+pkgrel=2
+pkgdesc="Pip requirements.txt generator based on imports in project"
+url="https://github.com/bndr/pipreqs"
+license=('MIT')
+arch=('any')
+depends=('python-docopt' 'python-yarg')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/bndr/pipreqs/archive/v$pkgver.tar.gz")
+sha512sums=('031fb48122f4e63d4df6a773567e69d8cf0746cdc846b9166d5b5c52bfa18ee309666926a75d43eecbf89f11e6cdc97789c4fd7cd9e42e2c497e992b767e8f3b')
+
+build() {
+  cd pipreqs-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd pipreqs-$pkgver
+  python setup.py test
+}
+
+package() {
+  cd pipreqs-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list