[arch-commits] Commit in python-requests-unixsocket (4 files)

Antonio Rojas arojas at archlinux.org
Sat Jun 26 09:40:16 UTC 2021


    Date: Saturday, June 26, 2021 @ 09:40:15
  Author: arojas
Revision: 967519

archrelease: copy trunk to community-any

Added:
  python-requests-unixsocket/repos/
  python-requests-unixsocket/repos/community-any/
  python-requests-unixsocket/repos/community-any/PKGBUILD
    (from rev 967518, python-requests-unixsocket/trunk/PKGBUILD)
  python-requests-unixsocket/repos/community-any/fix_setuptools_warnings.patch
    (from rev 967518, python-requests-unixsocket/trunk/fix_setuptools_warnings.patch)

-------------------------------+
 PKGBUILD                      |   37 +++++++++++++++++++++++++++++++++++++
 fix_setuptools_warnings.patch |   17 +++++++++++++++++
 2 files changed, 54 insertions(+)

Copied: python-requests-unixsocket/repos/community-any/PKGBUILD (from rev 967518, python-requests-unixsocket/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2021-06-26 09:40:15 UTC (rev 967519)
@@ -0,0 +1,37 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+
+pkgname=python-requests-unixsocket
+_name="${pkgname#python-}"
+pkgver=0.2.0
+pkgrel=3
+pkgdesc="Use requests to talk HTTP via a UNIX domain socket"
+arch=('any')
+depends=('python' 'python-requests' 'python-urllib3')
+makedepends=('python-setuptools' 'python-pip' 'python-pbr')
+url="https://github.com/msabramo/requests-unixsocket"
+license=('Apache')
+options=('!emptydirs')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"
+        'fix_setuptools_warnings.patch')
+b2sums=('cda02b5d963b00fb06cf86819bcbf552ecc21e30064198da338f502f47547a1f93184fd06052047c6cb8a6181f0a2f7b7a7cc53183b18dc22165a41dc14144b5'
+        'fdb486b0916eb8293b21510aa9dcae9875eb8d6bcb00d1aa3b0278fbe25b12d97df35682199ba468c98ca2ae58b9281a7a44c815600e19e5ff796bbbdd27380a')
+
+prepare() {
+  cd "$_name-$pkgver"
+
+  patch --forward --input="${srcdir}/fix_setuptools_warnings.patch"
+}
+
+build() {
+  cd "$_name-$pkgver"
+
+  python setup.py build
+}
+
+package() {
+  cd "$_name-$pkgver"
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+

Copied: python-requests-unixsocket/repos/community-any/fix_setuptools_warnings.patch (from rev 967518, python-requests-unixsocket/trunk/fix_setuptools_warnings.patch)
===================================================================
--- repos/community-any/fix_setuptools_warnings.patch	                        (rev 0)
+++ repos/community-any/fix_setuptools_warnings.patch	2021-06-26 09:40:15 UTC (rev 967519)
@@ -0,0 +1,17 @@
+--- setup.cfg
++++ setup.cfg
+@@ -1,11 +1,11 @@
+ [metadata]
+ name = requests-unixsocket
+ author = Marc Abramowitz
+-author-email = marc at marc-abramowitz.com
++author_email = marc at marc-abramowitz.com
+ summary = Use requests to talk HTTP via a UNIX domain socket
+-description-file = README.rst
++description_file = README.rst
+ license = Apache-2
+-home-page = https://github.com/msabramo/requests-unixsocket
++home_page = https://github.com/msabramo/requests-unixsocket
+ classifier = 
+ 	Development Status :: 3 - Alpha
+ 	Intended Audience :: Developers




More information about the arch-commits mailing list