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

Felix Yan felixonmars at archlinux.org
Tue Apr 2 12:11:50 UTC 2019


    Date: Tuesday, April 2, 2019 @ 12:11:49
  Author: felixonmars
Revision: 447614

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-02 12:11:22 UTC (rev 447613)
+++ PKGBUILD	2019-04-02 12:11:49 UTC (rev 447614)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-funcy
-pkgname=('python-funcy' 'python2-funcy')
-pkgver=1.11
-pkgrel=1
-pkgdesc='A fancy and practical functional tools'
-arch=('any')
-license=('BSD')
-url='https://github.com/Suor/funcy'
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-whatever' 'python2-whatever')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/Suor/funcy/archive/$pkgver.tar.gz")
-sha512sums=('76c6fb5687016de1e61da670e0cdd84ae7be4d01571df613a2aca036acc782babb6d2c1b9877c44eaa6ae3f078344a282c80afeed88b5dca4618da502fbb8e68')
-
-prepare() {
-  cp -a funcy-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/funcy-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/funcy-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/funcy-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/funcy-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-funcy() {
-  depends=('python')
-
-  cd funcy-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-funcy() {
-  depends=('python2')
-
-  cd funcy-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-funcy/repos/community-any/PKGBUILD (from rev 447613, python-funcy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-02 12:11:49 UTC (rev 447614)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-funcy
+pkgver=1.11
+pkgrel=2
+pkgdesc='A fancy and practical functional tools'
+arch=('any')
+license=('BSD')
+url='https://github.com/Suor/funcy'
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-whatever')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Suor/funcy/archive/$pkgver.tar.gz")
+sha512sums=('76c6fb5687016de1e61da670e0cdd84ae7be4d01571df613a2aca036acc782babb6d2c1b9877c44eaa6ae3f078344a282c80afeed88b5dca4618da502fbb8e68')
+
+build() {
+  cd funcy-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd funcy-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd funcy-$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