[arch-commits] Commit in python-yarl/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Sat Jan 18 21:12:56 UTC 2020
Date: Saturday, January 18, 2020 @ 21:12:55
Author: anthraxx
Revision: 553104
upgpkg: python-yarl 1.4.2-1
Modified:
python-yarl/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-18 21:12:09 UTC (rev 553103)
+++ PKGBUILD 2020-01-18 21:12:55 UTC (rev 553104)
@@ -2,8 +2,8 @@
_pkgname=yarl
pkgname=python-yarl
-pkgver=1.3.0
-pkgrel=3
+pkgver=1.4.2
+pkgrel=1
pkgdesc='Yet another URL library'
url='https://github.com/aio-libs/yarl/'
arch=('x86_64')
@@ -11,12 +11,18 @@
depends=('glibc' 'python' 'python-multidict' 'python-idna')
makedepends=('cython' 'python-setuptools')
checkdepends=('python-pytest' 'python-pytest-runner')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/aio-libs/yarl/archive/v${pkgver}.tar.gz)
-sha256sums=('0d4acfd6c750612871e11c49eea43213949f1528686a184eefc1366142a6fbb3')
-sha512sums=('36c55ac73830629045399e409f9e097d2e231e64f457c095003a2dd0e48899145e5e970a397458c8b1b1fbd8c24885774cf6bd7ea0b9bf67cd192c46be90af83')
+source=(https://github.com/aio-libs/yarl/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('63c2802c8bf6b96d7f4bd309d42d90c007e3fe8b44113db191b02d7acb59c2583a95b5c91563012b7e052f9ad2bc5c0c3776219e3000926809ca0fb374686a6e')
+b2sums=('3fdf101c70928eda2c823e95a4b1dd6bd7b5e670cc316371f34baf34247f5b46887808c44bddbd7707f9e2b978a3478f451d523104cbfb3bdaaa8a4b2f2ee113')
+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
}
More information about the arch-commits
mailing list