[arch-commits] Commit in python-wsproto/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jan 24 11:08:34 UTC 2019
Date: Thursday, January 24, 2019 @ 11:08:33
Author: felixonmars
Revision: 427503
archrelease: copy trunk to community-any
Added:
python-wsproto/repos/community-any/PKGBUILD
(from rev 427502, python-wsproto/trunk/PKGBUILD)
Deleted:
python-wsproto/repos/community-any/PKGBUILD
----------+
PKGBUILD | 92 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 48 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-01-24 11:08:14 UTC (rev 427502)
+++ PKGBUILD 2019-01-24 11:08:33 UTC (rev 427503)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
-# Contributor: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-wsproto
-pkgname=(python-wsproto python2-wsproto)
-pkgver=0.12.0
-pkgrel=1
-pkgdesc="WebSockets state-machine based protocol implementation"
-url="https://github.com/python-hyper/wsproto"
-license=('MIT')
-arch=('any')
-makedepends=('python-h11' 'python2-h11' 'python-setuptools' 'python2-setuptools' 'python2-enum34')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("https://pypi.io/packages/source/w/wsproto/wsproto-$pkgver.tar.gz")
-sha512sums=('159b7f67eff60c2514cfca17036d95017109fe251def6cec132998ac82a037484e3e248d4335539fd03491f56c491a7cf51582aa3f74a44d7d150220a875b18d')
-
-build() {
- cd wsproto-$pkgver
- python setup.py build
- python2 setup.py build
-}
-
-check() {
- cd wsproto-$pkgver
- python setup.py pytest
- python2 setup.py pytest
-}
-
-package_python-wsproto() {
- depends=('python-h11')
-
- cd wsproto-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-wsproto() {
- depends=('python2-h11' 'python2-enum34')
-
- cd wsproto-$pkgver
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-wsproto/repos/community-any/PKGBUILD (from rev 427502, python-wsproto/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-01-24 11:08:33 UTC (rev 427503)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=python-wsproto
+pkgname=(python-wsproto python2-wsproto)
+pkgver=0.13.0
+pkgrel=1
+pkgdesc="WebSockets state-machine based protocol implementation"
+url="https://github.com/python-hyper/wsproto"
+license=('MIT')
+arch=('any')
+makedepends=('python-h11' 'python2-h11' 'python-setuptools' 'python2-setuptools' 'python2-enum34')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("https://pypi.io/packages/source/w/wsproto/wsproto-$pkgver.tar.gz")
+sha512sums=('2dd7a2fea22748ab7fe213ccd5b44415b67855d4fbeb3cab8acc5967e84ea7e910bdd2c937a10c348389e997a39eeff7a29f65fee595f8126c23982eaf1ae306')
+
+build() {
+ cd wsproto-$pkgver
+ python setup.py build
+ python2 setup.py build
+}
+
+check() {
+ cd wsproto-$pkgver
+ python setup.py pytest
+ python2 setup.py pytest
+}
+
+package_python-wsproto() {
+ depends=('python-h11')
+
+ cd wsproto-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+ mv "$pkgdir"/usr/lib/python3.7/site-packages/{,wsproto/}test
+}
+
+package_python2-wsproto() {
+ depends=('python2-h11' 'python2-enum34')
+
+ cd wsproto-$pkgver
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+ mv "$pkgdir"/usr/lib/python2.7/site-packages/{,wsproto/}test
+}
More information about the arch-commits
mailing list