[arch-commits] Commit in python-backcall/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Wed Jun 10 21:59:20 UTC 2020
Date: Wednesday, June 10, 2020 @ 21:59:19
Author: polyzen
Revision: 641854
archrelease: copy trunk to community-any
Added:
python-backcall/repos/community-any/PKGBUILD
(from rev 641853, python-backcall/trunk/PKGBUILD)
Deleted:
python-backcall/repos/community-any/PKGBUILD
----------+
PKGBUILD | 70 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 34 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-10 21:58:56 UTC (rev 641853)
+++ PKGBUILD 2020-06-10 21:59:19 UTC (rev 641854)
@@ -1,36 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-_name=backcall
-pkgname=python-backcall
-pkgver=0.1.0
-pkgrel=4
-pkgdesc='Backwards compatible callback APIs'
-arch=('any')
-url=https://github.com/takluyver/backcall
-license=('BSD')
-depends=('python')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz"
- "$_name-8eb45a77-LICENSE::https://raw.githubusercontent.com/takluyver/backcall/8eb45a77a40edad74b33086d05fd4d99d43d80b0/LICENSE")
-sha256sums=('38ecd85be2c1e78f77fd91700c76e14667dc21e2713b63876c0eb901196e01e4'
- 'd422f8ce77312733c07f5fec8ccbe61d58d539774f7a66f37e4bc54740d86020')
-
-build() {
- cd $_name-$pkgver
- python setup.py build
-}
-
-check() {
- cd $_name-$pkgver
- mkdir -p temp
- local sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
- python setup.py install --skip-build --root=temp
- PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$sitepackages" python tests/test_callback_prototypes.py
-}
-
-package() {
- cd $_name-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
- install -Dm644 ../$_name-8eb45a77-LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-backcall/repos/community-any/PKGBUILD (from rev 641853, python-backcall/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-06-10 21:59:19 UTC (rev 641854)
@@ -0,0 +1,34 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_name=backcall
+pkgname=python-backcall
+pkgver=0.2.0
+pkgrel=1
+pkgdesc='Backwards compatible callback APIs'
+arch=('any')
+url=https://github.com/takluyver/backcall
+license=('BSD')
+depends=('python')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('5cbdbf27be5e7cfadb448baf0aa95508f91f2bbc6c6437cd9cd06e2a4c215e1e')
+
+build() {
+ cd $_name-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd $_name-$pkgver
+ mkdir -p temp
+ local sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
+ python setup.py install --skip-build --root=temp
+ PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$sitepackages" python tests/test_callback_prototypes.py
+}
+
+package() {
+ cd $_name-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list