[arch-commits] Commit in python-funcy/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu May 10 03:08:22 UTC 2018
Date: Thursday, May 10, 2018 @ 03:08:21
Author: felixonmars
Revision: 319929
archrelease: copy trunk to community-any
Added:
python-funcy/repos/community-any/PKGBUILD
(from rev 319928, python-funcy/trunk/PKGBUILD)
Deleted:
python-funcy/repos/community-any/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-10 03:07:57 UTC (rev 319928)
+++ PKGBUILD 2018-05-10 03:08:21 UTC (rev 319929)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-funcy
-pkgname=('python-funcy' 'python2-funcy')
-pkgver=1.10.1
-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=('97b0c23e541d8d6a1a37e537fa80ce72fc1ef811df6e9b95ffae57e2345f74719d590e8fe9e76ba47b19f9f18baf1b97c9473e0a9941b13601f9af5b7f737a8c')
-
-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 319928, python-funcy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-10 03:08:21 UTC (rev 319929)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-funcy
+pkgname=('python-funcy' 'python2-funcy')
+pkgver=1.10.2
+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=('3d636972294e5d3469dc51fbeac3db42e99f913fcb47f572ba2ac140521888ef383a75b426e18bd108034b0327e793fa50be9df79147b792bf510df496ad61ae')
+
+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:
More information about the arch-commits
mailing list