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

Levente Polyak anthraxx at archlinux.org
Wed Nov 27 20:46:43 UTC 2019


    Date: Wednesday, November 27, 2019 @ 20:46:42
  Author: anthraxx
Revision: 534207

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   82 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 40 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-27 20:46:38 UTC (rev 534206)
+++ PKGBUILD	2019-11-27 20:46:42 UTC (rev 534207)
@@ -1,42 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: renek <aur at spaceshore.net>
-
-_pkgname=multidict
-pkgname=python-${_pkgname}
-pkgver=4.5.2
-pkgrel=3
-pkgdesc='Asyncio-based multidict implementation for Python'
-url='https://github.com/aio-libs/multidict'
-arch=('x86_64')
-license=('APACHE')
-depends=('python' 'glibc')
-makedepends=('cython' 'python-setuptools' 'git')
-checkdepends=('python-pytest' 'python-pytest-cov' 'python-pytest-runner' 'python-psutil' 'python-perf')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/aio-libs/multidict/archive/v${pkgver}.tar.gz
-        multidict-python-3.8.patch::"https://github.com/aio-libs/multidict/commit/49e1613a.patch")
-sha256sums=('09be72d0c223be82aa5ed42766665048c329dba9f4440cd2b9633f78e12b28da'
-            '2ff9957947e77109b002974b9d162f7f483501b15bc3fb768c8feb192f2cf970')
-sha512sums=('ec66cf3c57e3386e07e45641536a6eeb94e9707d8a0d3b485d22b8687f20282c9115d533c7b0e9fb6dba28b923cf68dd8cdda08c75e78ca4eca2f0c3ec23c58f'
-            '471e16d81214045cf06674690234348f1c67c0db99740d2a0bfcbc3c100387b0ace43a84e3f8451e435e7c3a1f17b63f51d44dab12a3851ed686539d13c50689')
-
-prepare() {
-  cd $_pkgname-$pkgver
-  git apply ../multidict-python-3.8.patch # Add test files for python 3.8
-}
-
-build() {
-  cd ${_pkgname}-${pkgver}
-  python setup.py build
-}
-
-check() {
-  cd ${_pkgname}-${pkgver}
-  python setup.py test
-}
-
-package() {
-  cd ${_pkgname}-${pkgver}
-  python setup.py install --root="${pkgdir}" -O1 --skip-build
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-multidict/repos/community-x86_64/PKGBUILD (from rev 534206, python-multidict/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-27 20:46:42 UTC (rev 534207)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: renek <aur at spaceshore.net>
+
+_pkgname=multidict
+pkgname=python-${_pkgname}
+pkgver=4.6.1
+pkgrel=1
+pkgdesc='Asyncio-based multidict implementation for Python'
+url='https://github.com/aio-libs/multidict'
+arch=('x86_64')
+license=('APACHE')
+depends=('python' 'glibc')
+makedepends=('cython' 'python-setuptools' 'git')
+checkdepends=('python-pytest' 'python-pytest-cov' 'python-pytest-runner' 'python-psutil' 'python-perf')
+source=(https://github.com/aio-libs/multidict/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('a7c85a93ecb2be388b922b564b05d83eff6be28c7e852a1ff51a6f47cad2814e')
+sha512sums=('494075a9d567e8db6a2273d59957288ca0aedf083d25632791a94938bc41d31d5d8d4c7284240103a62bbbd46783e68a5b5247d88b7187b70fb28a868b6f0f2f')
+
+prepare() {
+  cd ${_pkgname}-${pkgver}
+  sed 's| .install-cython ||g' -i Makefile
+}
+
+build() {
+  cd ${_pkgname}-${pkgver}
+  make cythonize
+  python setup.py build
+}
+
+check() {
+  cd ${_pkgname}-${pkgver}
+  python setup.py test
+}
+
+package() {
+  cd ${_pkgname}-${pkgver}
+  python setup.py install --root="${pkgdir}" -O1 --skip-build
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list