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

Felix Yan felixonmars at archlinux.org
Tue Nov 10 04:00:08 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:00:08
  Author: felixonmars
Revision: 748336

archrelease: copy trunk to community-staging-x86_64

Added:
  python-bottleneck/repos/community-staging-x86_64/
  python-bottleneck/repos/community-staging-x86_64/PKGBUILD
    (from rev 748334, python-bottleneck/trunk/PKGBUILD)

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

Copied: python-bottleneck/repos/community-staging-x86_64/PKGBUILD (from rev 748334, python-bottleneck/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-10 04:00:08 UTC (rev 748336)
@@ -0,0 +1,28 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Michael Schubert <mschu.dev at gmail>
+# Contributor: Panagiotis Mavrogiorgos (pmav99) <> (gmail)
+
+pkgname=python-bottleneck
+pkgver=1.3.2
+pkgrel=2
+pkgdesc="Fast NumPy array functions written in Cython"
+arch=('x86_64')
+url="https://github.com/kwgoodman/bottleneck"
+license=('BSD')
+makedepends=('python-setuptools')
+depends=('python-numpy')
+optdepends=('python-nose: needed for integrated test suite'
+            'python-scipy: needed for integrated benchmarks')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/kwgoodman/bottleneck/archive/v${pkgver}.tar.gz")
+sha256sums=('5efac98f689c445eecc95400fb53d7bbc92435fa6db7a3dc75b427641d757807')
+
+build() {
+  cd "$srcdir"/bottleneck-${pkgver}
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir"/bottleneck-${pkgver}
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list