[arch-commits] Commit in python-cloudscraper/repos/community-any (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at gemini.archlinux.org
Sun Nov 14 18:35:23 UTC 2021


    Date: Sunday, November 14, 2021 @ 18:35:23
  Author: jelle
Revision: 1047560

archrelease: copy trunk to community-any

Added:
  python-cloudscraper/repos/community-any/PKGBUILD
    (from rev 1047559, python-cloudscraper/trunk/PKGBUILD)
Deleted:
  python-cloudscraper/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   74 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 37 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-14 18:35:13 UTC (rev 1047559)
+++ PKGBUILD	2021-11-14 18:35:23 UTC (rev 1047560)
@@ -1,37 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=cloudscraper
-pkgname=python-cloudscraper
-pkgver=1.2.58
-pkgrel=1
-pkgdesc="Python module to bypass Cloudflare's anti-bot page"
-arch=('any')
-url="https://github.com/VeNoMouS/${_pkgname}"
-license=('MIT')
-depends=('python-pyparsing' 'python-requests' 'python-requests-toolbelt')
-optdepends=('python-js2py: alternative interpreter/solver'
-            'nodejs: alternative interpreter/solver')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-responses' 'python-js2py' 'nodejs')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('9fc3562818e58f98d4e3ca874de5ff24d072c554b5a627ce9e38d394bb209c7f')
-b2sums=('b3e002d559ebdbb07686d74fe9967776f832397758653c2d6fe8ba766239d5744608fe6f321a0284c1da02a1ddb8257d7ce1931bb5adf71096e4151dbb9cb2a2')
-
-build(){
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py build
-}
-
-check() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python -m pytest
-}
-
-package() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: python-cloudscraper/repos/community-any/PKGBUILD (from rev 1047559, python-cloudscraper/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-14 18:35:23 UTC (rev 1047560)
@@ -0,0 +1,37 @@
+# Contributor: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=cloudscraper
+pkgname=python-cloudscraper
+pkgver=1.2.58
+pkgrel=2
+pkgdesc="Python module to bypass Cloudflare's anti-bot page"
+arch=('any')
+url="https://github.com/VeNoMouS/${_pkgname}"
+license=('MIT')
+depends=('python-pyparsing' 'python-requests' 'python-requests-toolbelt')
+optdepends=('python-js2py: alternative interpreter/solver'
+            'nodejs: alternative interpreter/solver')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-responses' 'python-js2py' 'nodejs')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('9fc3562818e58f98d4e3ca874de5ff24d072c554b5a627ce9e38d394bb209c7f')
+b2sums=('b3e002d559ebdbb07686d74fe9967776f832397758653c2d6fe8ba766239d5744608fe6f321a0284c1da02a1ddb8257d7ce1931bb5adf71096e4151dbb9cb2a2')
+
+build(){
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py build
+}
+
+check() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python -m pytest -k 'not test_getCookieString_challenge_js_challenge1_16_05_2020'
+}
+
+package() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}



More information about the arch-commits mailing list