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

Felix Yan felixonmars at archlinux.org
Mon Nov 4 06:30:10 UTC 2019


    Date: Monday, November 4, 2019 @ 06:30:09
  Author: felixonmars
Revision: 523408

archrelease: copy trunk to community-staging-any

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

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

Copied: python-helper/repos/community-staging-any/PKGBUILD (from rev 523407, python-helper/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 06:30:09 UTC (rev 523408)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-helper
+pkgver=2.4.2
+pkgrel=5
+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