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

Felix Yan felixonmars at archlinux.org
Sat Nov 16 18:59:04 UTC 2019


    Date: Saturday, November 16, 2019 @ 18:59:04
  Author: felixonmars
Revision: 529719

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-16 18:58:49 UTC (rev 529718)
+++ PKGBUILD	2019-11-16 18:59:04 UTC (rev 529719)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-whatever
-pkgver=0.5
-pkgrel=4
-pkgdesc='Easy way to make anonymous functions by partial application of operators'
-arch=('any')
-license=('BSD')
-url='https://github.com/Suor/whatever'
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/Suor/whatever/archive/$pkgver.tar.gz")
-sha512sums=('eb3f0b9bc63197c1bfdd135a46a597e2f5d6131900910f266c984c1afd901d6cbc8c8ee62397e9af8393bf34beff068dc0007e8b016e70f275e019420f18f6e1')
-
-prepare() {
-  sed -i -e 's/(1, 0, 1)/(1, 0, 0, 1)/' -e 's/(self._arity, 0, self._arity)/(self._arity, 0, 0, self._arity)/' whatever-$pkgver/whatever.py
-}
-
-build() {
-  cd whatever-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd whatever-$pkgver
-  python setup.py pytest
-}
-
-package() {
-  cd whatever-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-whatever/repos/community-any/PKGBUILD (from rev 529718, python-whatever/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-16 18:59:04 UTC (rev 529719)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-whatever
+pkgver=0.6
+pkgrel=1
+pkgdesc='Easy way to make anonymous functions by partial application of operators'
+arch=('any')
+license=('BSD')
+url='https://github.com/Suor/whatever'
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Suor/whatever/archive/$pkgver.tar.gz")
+sha512sums=('f982100f0d6a8bf4c30e452a083c75f4cb2bca07e57e40ba4fd66baca752f039aea9519ffb97b3d43708df0ff5e981d0c4d03773f225106aa2f43e7770ee1975')
+
+build() {
+  cd whatever-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd whatever-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd whatever-$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