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

Felix Yan felixonmars at archlinux.org
Thu Mar 21 09:31:08 UTC 2019


    Date: Thursday, March 21, 2019 @ 09:31:08
  Author: felixonmars
Revision: 443004

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  124 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 62 insertions(+), 62 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-21 09:30:51 UTC (rev 443003)
+++ PKGBUILD	2019-03-21 09:31:08 UTC (rev 443004)
@@ -1,62 +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}" "python2-${_pkgbase}")
-pkgver=0.55.0
-pkgrel=1
-pkgdesc="WebSocket client library for Python"
-arch=(any)
-url="https://github.com/${_pkgbase}/${_pkgbase}"
-license=('LGPL')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six')
-source=("https://pypi.io/packages/source/w/${_pkgbase}/${__pkgbase}-${pkgver}.tar.gz")
-sha512sums=('d8f47f9872df04da5dcef71f392cbe41e5744a4a3b2b9a92ccc457a0761aa5bbeab23a8199d5e57ac617402c5f28465b7990dd11dd56a5ce2afff191856715d0')
-
-prepare() {
-  # Not sure why the conditions are not working :/
-  sed -i "s/'backports.ssl_match_hostname'//" "${srcdir}/${__pkgbase}-${pkgver}/setup.py"
-
-  cp -a "${srcdir}/${__pkgbase}-${pkgver}"{,-py2}
-}
-
-build() {
-  cd "${srcdir}/${__pkgbase}-${pkgver}"
-  python setup.py build
-
-  cd "${srcdir}/${__pkgbase}-${pkgver}-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "${srcdir}/${__pkgbase}-${pkgver}"
-  python setup.py test
-
-  cd "${srcdir}/${__pkgbase}-${pkgver}-py2"
-  python2 setup.py test
-}
-
-package_python-websocket-client() {
-  depends=('python-six')
-
-  cd "${srcdir}/${__pkgbase}-${pkgver}"
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-websocket-client() {
-  depends=('python2-six')
-
-  cd "${srcdir}/${__pkgbase}-${pkgver}-py2"
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
-  mv "$pkgdir"/usr/bin/wsdump{,2}.py
-}
-
-# vim:set ts=2 sw=2 ft=sh et:

Copied: python-websocket-client/repos/community-any/PKGBUILD (from rev 443003, python-websocket-client/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-21 09:31:08 UTC (rev 443004)
@@ -0,0 +1,62 @@
+# 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}" "python2-${_pkgbase}")
+pkgver=0.56.0
+pkgrel=1
+pkgdesc="WebSocket client library for Python"
+arch=(any)
+url="https://github.com/${_pkgbase}/${_pkgbase}"
+license=('LGPL')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six')
+source=("https://pypi.io/packages/source/w/${_pkgbase}/${__pkgbase}-${pkgver}.tar.gz")
+sha512sums=('f61497b5fa6deea11d0e81c1c0d3092d1efba9bcdb3427a45f51b81059444a486a9aa6a4d046fc2aa805e855d2c8e68a4ba46669c05a45eb928251c50e2e3a50')
+
+prepare() {
+  # Not sure why the conditions are not working :/
+  sed -i "s/'backports.ssl_match_hostname'//" "${srcdir}/${__pkgbase}-${pkgver}/setup.py"
+
+  cp -a "${srcdir}/${__pkgbase}-${pkgver}"{,-py2}
+}
+
+build() {
+  cd "${srcdir}/${__pkgbase}-${pkgver}"
+  python setup.py build
+
+  cd "${srcdir}/${__pkgbase}-${pkgver}-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "${srcdir}/${__pkgbase}-${pkgver}"
+  python setup.py test
+
+  cd "${srcdir}/${__pkgbase}-${pkgver}-py2"
+  python2 setup.py test
+}
+
+package_python-websocket-client() {
+  depends=('python-six')
+
+  cd "${srcdir}/${__pkgbase}-${pkgver}"
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-websocket-client() {
+  depends=('python2-six')
+
+  cd "${srcdir}/${__pkgbase}-${pkgver}-py2"
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+  mv "$pkgdir"/usr/bin/wsdump{,2}.py
+}
+
+# vim:set ts=2 sw=2 ft=sh et:



More information about the arch-commits mailing list