[arch-commits] Commit in python-websocket-client/repos/community-any (2 files)

Felix Yan felixonmars at archlinux.org
Tue May 11 17:32:41 UTC 2021


    Date: Tuesday, May 11, 2021 @ 17:32:41
  Author: felixonmars
Revision: 930312

archrelease: copy trunk to community-any

Added:
  python-websocket-client/repos/community-any/PKGBUILD
    (from rev 930310, python-websocket-client/trunk/PKGBUILD)
Deleted:
  python-websocket-client/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-11 17:32:39 UTC (rev 930311)
+++ PKGBUILD	2021-05-11 17:32:41 UTC (rev 930312)
@@ -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'
-__pkgbase="${_pkgbase//-/_}"
-pkgname=python-${_pkgbase}
-pkgver=0.58.0
-pkgrel=1
-pkgdesc="WebSocket client library for Python"
-arch=(any)
-url="https://github.com/${_pkgbase}/${_pkgbase}"
-license=('LGPL')
-depends=('python-six')
-makedepends=('python-setuptools')
-source=("https://pypi.io/packages/source/w/${_pkgbase}/${__pkgbase}-${pkgver}.tar.gz")
-sha512sums=('c587945831427a9bddef96be53d20fec7f55ffd7efe2b676dac96b8078ba446ecda85379a4edfc49c36de936516d3994cbd0515decb9b615cd969bde1117167a')
-
-prepare() {
-  # Not sure why the conditions are not working :/
-  sed -i "s/'backports.ssl_match_hostname'//" "${srcdir}/${__pkgbase}-${pkgver}/setup.py"
-}
-
-build() {
-  cd "${srcdir}/${__pkgbase}-${pkgver}"
-  python setup.py build
-}
-
-check() {
-  cd "${srcdir}/${__pkgbase}-${pkgver}"
-  python setup.py test
-}
-
-package() {
-  cd "${srcdir}/${__pkgbase}-${pkgver}"
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-# vim:set ts=2 sw=2 ft=sh et:

Copied: python-websocket-client/repos/community-any/PKGBUILD (from rev 930310, python-websocket-client/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-11 17:32:41 UTC (rev 930312)
@@ -0,0 +1,43 @@
+# 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=0.59.0
+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=('c7f4a0336093de86fd00828049a836477a3c859cc4bddebd9e7d31eb746dab4de8fa11205a5fb182e5df3590964aa73f279310575dfabc4abc32157e80df42b1')
+
+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:



More information about the arch-commits mailing list