[arch-commits] Commit in python-cytoolz/repos/community-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Sat Nov 6 16:46:20 UTC 2021


    Date: Saturday, November 6, 2021 @ 16:46:20
  Author: dvzrv
Revision: 1037641

archrelease: copy trunk to community-x86_64

Added:
  python-cytoolz/repos/community-x86_64/PKGBUILD
    (from rev 1037640, python-cytoolz/trunk/PKGBUILD)
Deleted:
  python-cytoolz/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   88 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 43 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-06 16:46:13 UTC (rev 1037640)
+++ PKGBUILD	2021-11-06 16:46:20 UTC (rev 1037641)
@@ -1,45 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=cytoolz
-pkgname=python-cytoolz
-pkgver=0.11.0
-pkgrel=3
-pkgdesc="Cython implementation of Toolz: High performance functional utilities"
-arch=('x86_64')
-url="https://github.com/pytoolz/cytoolz/"
-license=('BSD')
-depends=('cython' 'python-toolz')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('d7ab7317a8c9b26136dfa1ef0bbe719a09d5ac290d73ad16596c8624976ad4eb50d826fb02885cd1979279057698ceab9276f14687791b6c4adc33fa4650dd6d')
-b2sums=('1df4d2342393ab9e58fcdeae7c48cff31a8c4ff02b928f4a1a73e089408349ae121ce9e7ee2cefe2ec92d183d00959cb913273eee78360da75faa813308a6cc6')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  # build C extension
-  python setup.py build_ext --inplace --with-cython
-  # build python extension
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  local _pyver=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
-  export PYTHONPATH="build/lib.linux-${CARCH}-${_pyver}/:${PYTHONPATH}"
-  echo "$PYTHONPATH"
-  pytest -v
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --root="${pkgdir}"
-  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -vDm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}

Copied: python-cytoolz/repos/community-x86_64/PKGBUILD (from rev 1037640, python-cytoolz/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-06 16:46:20 UTC (rev 1037641)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=cytoolz
+pkgname=python-cytoolz
+pkgver=0.11.2
+pkgrel=1
+pkgdesc="Cython implementation of Toolz: High performance functional utilities"
+arch=('x86_64')
+url="https://github.com/pytoolz/cytoolz/"
+license=('BSD')
+depends=('cython' 'python-toolz')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('7df91df94eee56097798ab75222a8c48d7bab042bfb284230c8888121a166fbf356a13ee49dc5fc54d5a8aad3c7bfbe0e4225ba20dbe36927655154e93b7bd13')
+b2sums=('9ed21c1a285b2d7dbe5c7e93656f9f062a184c20d81f9739d0c7173deae7c6d90fe85d77a56f08fc9af1cbce8fd6d6cdccdd44a6bfb2eb69268ae4fdee006147')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  # build C extension
+  python setup.py build_ext --inplace --with-cython
+  # build python extension
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  local _pyver=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+  export PYTHONPATH="build/lib.linux-${CARCH}-${_pyver}/:${PYTHONPATH}"
+  echo "$PYTHONPATH"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --optimize=1 --root="${pkgdir}"
+  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}



More information about the arch-commits mailing list