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

Levente Polyak anthraxx at gemini.archlinux.org
Tue Mar 8 21:25:48 UTC 2022


    Date: Tuesday, March 8, 2022 @ 21:25:48
  Author: anthraxx
Revision: 1145577

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   83 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-08 21:25:43 UTC (rev 1145576)
+++ PKGBUILD	2022-03-08 21:25:48 UTC (rev 1145577)
@@ -1,41 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
-
-_pyname=frozenlist
-pkgname=python-${_pyname}
-pkgver=1.2.0
-pkgrel=3
-pkgdesc='FrozenList is a list-like structure which can be made immutable'
-url='https://github.com/aio-libs/frozenlist'
-arch=('x86_64')
-license=('Apache')
-depends=('python')
-makedepends=('python-setuptools' 'cython')
-checkdepends=('python-pytest' 'python-pytest-cov' 'python-pytest-runner')
-source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('e5dda13e173db0b1c6e8c5a61949534f4eb30211cc4fcd102d0be1b55ee48e2db90d52fd770a2c6d6076f3a0d9e11289629a7a115c1270377636eda35d107e7a')
-b2sums=('cc82db759906ad3e0be1806cacd6815377f264ed07ed272abb7da4753c11561564cf1cb4dfc0154abaeb4005f5607c26e602410a4ef45dd8e94e26583caa2ab7')
-
-prepare() {
-  cd "${_pyname}-${pkgver}"
-  sed 's|.install-cython ||' -i Makefile
-}
-
-build() {
-  cd "${_pyname}-${pkgver}"
-  make cythonize
-  python setup.py build
-}
-
-check() {
-  cd "${_pyname}-${pkgver}"
-  python setup.py test
-}
-
-package() {
-  cd "${_pyname}-${pkgver}"
-  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -Dm 644 CHANGES.rst README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-frozenlist/repos/community-x86_64/PKGBUILD (from rev 1145576, python-frozenlist/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-08 21:25:48 UTC (rev 1145577)
@@ -0,0 +1,42 @@
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+
+_pyname=frozenlist
+pkgname=python-${_pyname}
+pkgver=1.3.0
+pkgrel=1
+pkgdesc='FrozenList is a list-like structure which can be made immutable'
+url='https://github.com/aio-libs/frozenlist'
+arch=('x86_64')
+license=('Apache')
+depends=('python')
+makedepends=('python-setuptools' 'cython')
+checkdepends=('python-pytest' 'python-pytest-cov' 'python-pytest-runner')
+source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('780f0ec0e1a701b009e5afcd7f62b2950eda5365140ad5842c09db85b0a3cf282ab70ff9ba752ea6dc7a97542fc7399023aaaca8fdd8ecbd5c26bf64f305f5f4')
+b2sums=('d09e18455893f7ede59c37a080e79ea5e085cc3362e53bc7016db64338b2cf26baf44e95ec0c691535527b0eef4a40ec1fbe814e5d4ae238300125438d21b467')
+
+prepare() {
+  cd "${_pyname}-${pkgver}"
+  sed 's|.install-cython ||' -i Makefile
+}
+
+build() {
+  cd "${_pyname}-${pkgver}"
+  make cythonize
+  python setup.py build
+}
+
+check() {
+  cd "${_pyname}-${pkgver}"
+  local _python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-${_python_version}" pytest
+}
+
+package() {
+  cd "${_pyname}-${pkgver}"
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 CHANGES.rst README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list