[arch-commits] Commit in python-treq/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jun 29 09:43:59 UTC 2018
Date: Friday, June 29, 2018 @ 09:43:58
Author: felixonmars
Revision: 347727
archrelease: copy trunk to community-any
Added:
python-treq/repos/community-any/PKGBUILD
(from rev 347726, python-treq/trunk/PKGBUILD)
Deleted:
python-treq/repos/community-any/PKGBUILD
----------+
PKGBUILD | 118 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 59 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-29 09:43:40 UTC (rev 347726)
+++ PKGBUILD 2018-06-29 09:43:58 UTC (rev 347727)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-treq
-pkgname=('python-treq' 'python2-treq')
-pkgver=17.8.0
-pkgrel=1
-pkgdesc="A requests-like API built on top of twisted.web's Agent"
-arch=('any')
-license=('MIT')
-url='https://github.com/twisted/treq'
-makedepends=('python-setuptools' 'python2-setuptools' 'python-incremental' 'python2-incremental'
- 'python-requests' 'python2-requests' 'python2-pyopenssl' 'python-pyopenssl'
- 'python-service-identity' 'python2-service-identity' 'python-idna' 'python2-idna'
- 'python-attrs' 'python2-attrs' 'python-twisted' 'python2-twisted' 'httpbin'
- 'python2-httpbin')
-checkdepends=('python-mock' 'python2-mock' 'python-pytest-runner' 'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/twisted/treq/archive/release-$pkgver.tar.gz")
-sha512sums=('10378398c2ef70c260bc741ded2c9af98305146c765e65d7b2d81d73913f5a82e820043483b4c51ea6ffb1cca3f7535d86de0bd63d7d6bdb5831c96f929c465c')
-
-prepare() {
- cp -a treq-release-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/treq-release-$pkgver
- python setup.py build
-
- cd "$srcdir"/treq-release-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/treq-release-$pkgver
- python setup.py pytest
-
- cd "$srcdir"/treq-release-$pkgver-py2
- python2 setup.py pytest
-}
-
-package_python-treq() {
- depends=('python-incremental' 'python-requests' 'python-pyopenssl' 'python-service-identity'
- 'python-idna' 'python-attrs' 'python-twisted')
-
- cd treq-release-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-treq() {
- depends=('python2-incremental' 'python2-requests' 'python2-pyopenssl' 'python2-service-identity'
- 'python2-idna' 'python2-attrs' 'python2-twisted')
-
- cd treq-release-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-treq/repos/community-any/PKGBUILD (from rev 347726, python-treq/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-29 09:43:58 UTC (rev 347727)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-treq
+pkgname=('python-treq' 'python2-treq')
+pkgver=18.6.0
+pkgrel=1
+pkgdesc="A requests-like API built on top of twisted.web's Agent"
+arch=('any')
+license=('MIT')
+url='https://github.com/twisted/treq'
+makedepends=('python-setuptools' 'python2-setuptools' 'python-incremental' 'python2-incremental'
+ 'python-requests' 'python2-requests' 'python2-pyopenssl' 'python-pyopenssl'
+ 'python-service-identity' 'python2-service-identity' 'python-idna' 'python2-idna'
+ 'python-attrs' 'python2-attrs' 'python-twisted' 'python2-twisted' 'httpbin'
+ 'python2-httpbin')
+checkdepends=('python-mock' 'python2-mock' 'python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/twisted/treq/archive/release-$pkgver.tar.gz")
+sha512sums=('1d0d793725647c6b451853f166436040e49095fca43f6c74053f3ba18ec8f8ae0095ed78c7d141cc95dfba9674339ac44262943225bec7be0f0cb05253758688')
+
+prepare() {
+ cp -a treq-release-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/treq-release-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/treq-release-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/treq-release-$pkgver
+ python setup.py pytest
+
+ cd "$srcdir"/treq-release-$pkgver-py2
+ python2 setup.py pytest
+}
+
+package_python-treq() {
+ depends=('python-incremental' 'python-requests' 'python-pyopenssl' 'python-service-identity'
+ 'python-idna' 'python-attrs' 'python-twisted')
+
+ cd treq-release-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-treq() {
+ depends=('python2-incremental' 'python2-requests' 'python2-pyopenssl' 'python2-service-identity'
+ 'python2-idna' 'python2-attrs' 'python2-twisted')
+
+ cd treq-release-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list