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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 4 09:53:50 UTC 2019


    Date: Monday, November 4, 2019 @ 09:53:50
  Author: foutrelis
Revision: 523977

archrelease: copy trunk to community-staging-any

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

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

Copied: python-funcy/repos/community-staging-any/PKGBUILD (from rev 523976, python-funcy/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 09:53:50 UTC (rev 523977)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-funcy
+pkgver=1.13
+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=('766a46e644d69e1a655d7218439b3bbf3ad8569070fcdb35faa22253fc820adda3c1e570939883a1481dcc686e13e2bc53bf2e95fe4b047a85bef69385d3bf84')
+
+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