[arch-commits] Commit in python-multidict/repos/community-staging-x86_64 (2 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 1 14:41:56 UTC 2019


    Date: Friday, November 1, 2019 @ 14:41:56
  Author: foutrelis
Revision: 522037

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |   76 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 42 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-01 14:41:52 UTC (rev 522036)
+++ PKGBUILD	2019-11-01 14:41:56 UTC (rev 522037)
@@ -1,34 +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=2
-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')
-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)
-sha256sums=('09be72d0c223be82aa5ed42766665048c329dba9f4440cd2b9633f78e12b28da')
-sha512sums=('ec66cf3c57e3386e07e45641536a6eeb94e9707d8a0d3b485d22b8687f20282c9115d533c7b0e9fb6dba28b923cf68dd8cdda08c75e78ca4eca2f0c3ec23c58f')
-
-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-staging-x86_64/PKGBUILD (from rev 522036, python-multidict/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-01 14:41:56 UTC (rev 522037)
@@ -0,0 +1,42 @@
+# 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:



More information about the arch-commits mailing list