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

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


    Date: Thursday, November 12, 2020 @ 19:19:01
  Author: foutrelis
Revision: 753424

archrelease: copy trunk to community-staging-any

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

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

Copied: python-helper/repos/community-staging-any/PKGBUILD (from rev 753423, python-helper/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 19:19:01 UTC (rev 753424)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-helper
+pkgver=2.4.2
+pkgrel=6
+pkgdesc="Development library for quickly writing configurable applications and daemons"
+arch=('any')
+license=('BSD')
+url="https://helper.readthedocs.org"
+depends=('python-yaml')
+makedepends=('python-setuptools')
+checkdepends=('python-nose' 'python-mock' 'python-coverage')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/gmr/helper/archive/$pkgver.tar.gz")
+sha512sums=('56eca464eebc3e5a25f1b84c491b28c0f55f72fc3264598639fbd4200f87a1a3644b6edaba2201e97675fb33532a32df5a0e6bf0b2937b9951445666fc19c6f3')
+
+build() {
+  cd helper-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd helper-$pkgver
+  nosetests3
+}
+
+package() {
+  cd helper-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list