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

Felix Yan felixonmars at archlinux.org
Sat Jul 14 19:13:40 UTC 2018


    Date: Saturday, July 14, 2018 @ 19:13:40
  Author: felixonmars
Revision: 359388

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 359387, python-yarl/trunk/PKGBUILD)

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

Copied: python-yarl/repos/community-staging-x86_64/PKGBUILD (from rev 359387, python-yarl/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-07-14 19:13:40 UTC (rev 359388)
@@ -0,0 +1,33 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_pkgname=yarl
+pkgname=python-yarl
+pkgver=1.2.6
+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')
+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=('1083cb0eb2a68638c239d96ed6b3cfe8427f5fea62aa2e575ae5511a196b5df5')
+sha512sums=('bf714e1ba526a9c36361fbc852c3ab8b40db76eaf6b222eed2abaf1bbea6171a1d37cb0c5481905cc8eccfac8c2077e38fc744fdd6e8c83e33bac51747dceaf9')
+
+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