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

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


    Date: Tuesday, March 8, 2022 @ 21:55:48
  Author: anthraxx
Revision: 1145608

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   79 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 40 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-08 21:55:43 UTC (rev 1145607)
+++ PKGBUILD	2022-03-08 21:55:48 UTC (rev 1145608)
@@ -1,39 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-_pkgname=yarl
-pkgname=python-yarl
-pkgver=1.7.2
-pkgrel=3
-pkgdesc='Yet another URL library'
-url='https://github.com/aio-libs/yarl/'
-arch=('x86_64')
-license=('Apache')
-depends=('glibc' 'python' 'python-multidict' 'python-idna' 'python-typing_extensions')
-makedepends=('cython' 'python-setuptools')
-checkdepends=('python-pytest' 'python-pytest-runner')
-source=(https://github.com/aio-libs/yarl/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('bf69c5758f523259757ff84a8737e28931f46311f12f6e141329a5074d34a0cfb45795bf79cb7b78cb676ca7bc38042a2fbd946a5f41bf1d149ada50b88b31ae')
-b2sums=('7bd212b652a77ac29fde4c6565c48c4067f2a24db6bbf735107f3dfa5ee8b6ad2e5a5c3c6206e8dc7692e4cfd5c975d4304dd93280087574bddd73a337417c52')
-
-prepare() {
-  cd ${_pkgname}-${pkgver}
-  sed 's| .install-cython ||g' -i Makefile
-}
-
-build() {
-  cd ${_pkgname}-${pkgver}
-  make cythonize
-  LANG=en_US.UTF-8 python setup.py build
-}
-
-check() {
-  cd ${_pkgname}-${pkgver}
-  python setup.py test
-}
-
-package() {
-  cd ${_pkgname}-${pkgver}
-  LANG=en_US.UTF-8 python setup.py install --root="${pkgdir}" -O1 --skip-build
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-yarl/repos/community-x86_64/PKGBUILD (from rev 1145607, python-yarl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-08 21:55:48 UTC (rev 1145608)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_pkgname=yarl
+pkgname=python-yarl
+pkgver=1.8.0
+pkgrel=1
+pkgdesc='Yet another URL library'
+url='https://github.com/aio-libs/yarl/'
+arch=('x86_64')
+license=('Apache')
+depends=('glibc' 'python' 'python-multidict' 'python-idna' 'python-typing_extensions')
+makedepends=('cython' 'python-setuptools')
+checkdepends=('python-pytest' 'python-pytest-runner' 'python-pytest-cov')
+source=(https://github.com/aio-libs/yarl/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('da10de61afded586947a17dd0a205bc5265c133a5259c06d56c631c7685ed78966d2c40ae6c7ce59f56dadaff753aa0c4c9273f6df6904c9f68f8c9bdb075723')
+b2sums=('3a6516105f7cb96d266773e26581bae3625866e0b98a530502863af79efe3631677ef4bd383e081bb7ebeeb770fcc54d6a7aa34b7f9c540b73ec306583bb1a1b')
+
+prepare() {
+  cd ${_pkgname}-${pkgver}
+  sed 's| .install-cython ||g' -i Makefile
+}
+
+build() {
+  cd ${_pkgname}-${pkgver}
+  make cythonize
+  LANG=en_US.UTF-8 python setup.py build
+}
+
+check() {
+  cd ${_pkgname}-${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 ${_pkgname}-${pkgver}
+  LANG=en_US.UTF-8 python setup.py install --root="${pkgdir}" -O1 --skip-build
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list