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

Felix Yan felixonmars at archlinux.org
Mon Sep 17 17:32:56 UTC 2018


    Date: Monday, September 17, 2018 @ 17:32:55
  Author: felixonmars
Revision: 382629

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   93 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 42 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-17 17:32:38 UTC (rev 382628)
+++ PKGBUILD	2018-09-17 17:32:55 UTC (rev 382629)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-apipkg
-pkgname=('python-apipkg' 'python2-apipkg')
-pkgver=1.4
-pkgrel=4
-pkgdesc="Namespace control and lazy-import mechanism"
-arch=('any')
-license=('MIT')
-url="https://bitbucket.org/hpk42/apipkg"
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("https://files.pythonhosted.org/packages/source/a/apipkg/apipkg-$pkgver.tar.gz")
-sha512sums=('118f806706944513f50d3cdef596b32f8ce585cfaf94d2531a6d260f90a0e2147177161aaa6f5d6823150e6182d0f73be3dc01259b8a2f8d710733a22ea54789')
-
-prepare() {
-  cp -a apipkg-${pkgver}{,-py2}
-}
-
-build() {
-  cd "$srcdir/apipkg-${pkgver}"
-  python setup.py build
-
-  cd "$srcdir/apipkg-${pkgver}-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir/apipkg-${pkgver}"
-  py.test
-
-  cd "$srcdir/apipkg-${pkgver}-py2"
-  py.test2
-}
-
-package_python-apipkg() {
-  depends=('python')
-
-  cd apipkg-${pkgver}
-  python setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-apipkg() {
-  depends=('python2')
-
-  cd apipkg-${pkgver}-py2
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: python-apipkg/repos/community-any/PKGBUILD (from rev 382628, python-apipkg/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-09-17 17:32:55 UTC (rev 382629)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-apipkg
+pkgname=('python-apipkg' 'python2-apipkg')
+pkgver=1.5
+pkgrel=1
+pkgdesc="Namespace control and lazy-import mechanism"
+arch=('any')
+license=('MIT')
+url="https://bitbucket.org/hpk42/apipkg"
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("https://files.pythonhosted.org/packages/source/a/apipkg/apipkg-$pkgver.tar.gz")
+sha512sums=('828937ca5e203915248fac54db8e7c13f941e006403f2a415c27fa4d1aa114790be3d7b5dd892f528611e5e6dfe75114ee80f4f4589a03c3f789ae6ddfcae0bf')
+
+build() {
+  cd apipkg-$pkgver
+  python setup.py build
+  python2 setup.py build
+}
+
+check() {
+  cd apipkg-$pkgver
+  python setup.py pytest
+  python2 setup.py pytest
+}
+
+package_python-apipkg() {
+  depends=('python')
+
+  cd apipkg-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-apipkg() {
+  depends=('python2')
+
+  cd apipkg-$pkgver
+  python2 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