[arch-commits] Commit in python-yarl/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat Oct 26 04:07:10 UTC 2019


    Date: Saturday, October 26, 2019 @ 04:07:09
  Author: felixonmars
Revision: 519903

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: python-yarl/repos/community-staging-x86_64/PKGBUILD (from rev 519900, python-yarl/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-10-26 04:07:09 UTC (rev 519903)
@@ -0,0 +1,33 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_pkgname=yarl
+pkgname=python-yarl
+pkgver=1.3.0
+pkgrel=2
+pkgdesc='Yet another URL library'
+url='https://github.com/aio-libs/yarl/'
+arch=('x86_64')
+license=('Apache')
+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')
+
+build() {
+  cd ${_pkgname}-${pkgver}
+  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:



More information about the arch-commits mailing list