[arch-commits] Commit in python-helper/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Mar 17 10:47:29 UTC 2019


    Date: Sunday, March 17, 2019 @ 10:47:28
  Author: felixonmars
Revision: 442351

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-17 10:47:09 UTC (rev 442350)
+++ PKGBUILD	2019-03-17 10:47:28 UTC (rev 442351)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-helper
-pkgname=('python-helper' 'python2-helper')
-pkgver=2.4.2
-pkgrel=3
-pkgdesc="Development library for quickly writing configurable applications and daemons"
-arch=('any')
-license=('BSD')
-url="https://helper.readthedocs.org"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-yaml' 'python2-yaml' 'git')
-checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock' 'python-coverage'
-              'python2-coverage')
-source=("git+https://github.com/gmr/helper.git#tag=$pkgver")
-sha512sums=('SKIP')
-
-prepare() {
-  cp -a helper{,-py2}
-}
-
-build() {
-  cd "$srcdir"/helper
-  python setup.py build
-
-  cd "$srcdir"/helper-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/helper
-  nosetests3
-
-  cd "$srcdir"/helper-py2
-  nosetests2
-}
-
-package_python-helper() {
-  depends=('python-yaml')
-
-  cd helper
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-helper() {
-  depends=('python2-yaml')
-
-  cd helper-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-

Copied: python-helper/repos/community-any/PKGBUILD (from rev 442350, python-helper/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-17 10:47:28 UTC (rev 442351)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-helper
+pkgver=2.4.2
+pkgrel=4
+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