[arch-commits] Commit in python-websocket-client/repos/community-any (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Fri Feb 4 15:10:01 UTC 2022
Date: Friday, February 4, 2022 @ 15:10:01
Author: felixonmars
Revision: 1125666
archrelease: copy trunk to community-any
Added:
python-websocket-client/repos/community-any/PKGBUILD
(from rev 1125665, python-websocket-client/trunk/PKGBUILD)
Deleted:
python-websocket-client/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 37 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-04 15:09:50 UTC (rev 1125665)
+++ PKGBUILD 2022-02-04 15:10:01 UTC (rev 1125666)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Thore Bödecker <foxxx0 at archlinux.org>
-# Contributor: Matmas <matmas at matmas.net>
-# Contributor: Thomas Gubler <thomasgubler at gmail.com>
-# Contributor: Daniel YC Lin <dlin.tw at gmail>
-# Contributor: Florian Bruhin <archlinux.org at the-compiler.org>
-
-_pkgbase='websocket-client'
-pkgname=python-$_pkgbase
-pkgver=1.2.3
-pkgrel=1
-pkgdesc="WebSocket client library for Python"
-arch=('any')
-url="https://github.com/$_pkgbase/$_pkgbase"
-license=('LGPL')
-depends=('python-six')
-makedepends=('python-setuptools')
-checkdepends=('python-pysocks')
-source=("https://pypi.io/packages/source/w/$_pkgbase/$_pkgbase-$pkgver.tar.gz")
-sha512sums=('5e5e00d43b7b4da5e2cb0d00d1e743e420791856e51e2b3d28d78219edcd7a2eace834ae4d7ee2faf89ab27c2b65f063e508f0e470a47ff9d88c36748b3dd113')
-
-prepare() {
- # Not sure why the conditions are not working :/
- sed -i "s/'backports.ssl_match_hostname'//" $_pkgbase-$pkgver/setup.py
-}
-
-build() {
- cd $_pkgbase-$pkgver
- python setup.py build
-}
-
-# check() {
-# cd $_pkgbase-$pkgver
-# python setup.py test
-# }
-
-package() {
- cd $_pkgbase-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
-
-# vim:set ts=2 sw=2 ft=sh et:
Copied: python-websocket-client/repos/community-any/PKGBUILD (from rev 1125665, python-websocket-client/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-04 15:10:01 UTC (rev 1125666)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Matmas <matmas at matmas.net>
+# Contributor: Thomas Gubler <thomasgubler at gmail.com>
+# Contributor: Daniel YC Lin <dlin.tw at gmail>
+# Contributor: Florian Bruhin <archlinux.org at the-compiler.org>
+
+pkgname=python-websocket-client
+pkgver=1.2.3
+pkgrel=2
+pkgdesc="WebSocket client library for Python"
+arch=('any')
+url="https://github.com/websocket-client/websocket-client"
+license=('LGPL')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://pypi.io/packages/source/w/websocket-client/websocket-client-$pkgver.tar.gz")
+sha512sums=('5e5e00d43b7b4da5e2cb0d00d1e743e420791856e51e2b3d28d78219edcd7a2eace834ae4d7ee2faf89ab27c2b65f063e508f0e470a47ff9d88c36748b3dd113')
+
+build() {
+ cd websocket-client-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd websocket-client-$pkgver
+ pytest
+}
+
+package() {
+ cd websocket-client-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
More information about the arch-commits
mailing list