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

Antonio Rojas arojas at gemini.archlinux.org
Mon Nov 1 10:52:53 UTC 2021


    Date: Monday, November 1, 2021 @ 10:52:53
  Author: arojas
Revision: 1035177

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   77 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 38 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-01 10:52:42 UTC (rev 1035176)
+++ PKGBUILD	2021-11-01 10:52:53 UTC (rev 1035177)
@@ -1,39 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=hstspreload
-pkgname=python-hstspreload
-pkgver=2020.12.22
-pkgrel=1
-pkgdesc="Chromium HSTS Preload list as a Python package"
-arch=('any')
-url="https://github.com/sethmlarson/${_pkgname}"
-license=('BSD')
-depends=('python')
-makedepends=('python-setuptools')
-#checkdepends=('python-pytest' 'python-urllib3')
-#source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
-sha512sums=('19e92c4f4f0d3d9693f4540ce6c730b748eecbdb75b05ba7b25d64cef7afe0c6c8477c7b0a35bb8b8105269689e7dae6b1ff109e953b4aac375fb9903e4ffaf6')
-b2sums=('a9695c15ec624fd8322ac713a05109d5a1921abca6e37846357c9dec96f5f55cd8ecefdd915416f0ef88e42913999b946e18012d0df925e58b496d6822c0dbb8')
-
-build() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    export PYTHONHASHSEED=0
-    python setup.py build
-}
-
-# This runs around 230k tests, checking to see if the online list matches the current one.
-# It can take 5 minutes just to collect the tests. They're not distributed in the PyPI tarball.
-#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-hstspreload/repos/community-any/PKGBUILD (from rev 1035176, python-hstspreload/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-01 10:52:53 UTC (rev 1035177)
@@ -0,0 +1,38 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=hstspreload
+pkgname=python-hstspreload
+pkgver=2021.11.1
+pkgrel=1
+pkgdesc="Chromium HSTS Preload list as a Python package"
+arch=('any')
+url="https://github.com/sethmlarson/${_pkgname}"
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+#checkdepends=('python-pytest' 'python-urllib3')
+#source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha512sums=('a5d42098c07c4b472916c4a695bafd3db6bc3144aabb43f933d2d56fa97cbfa4899d326e27eb4786658a91761fcc82fe0d68a61f4ce344365e209bbcdfe456f4')
+b2sums=('1818718bace7cd107a378043496e11b5110d25e4fe723e0b242cd6dd484477d9160d16420d44edc41b93a61f9e29c5705f0946d2c3efef95525cb0518ef11ff3')
+
+build() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py build
+}
+
+# This runs around 230k tests, checking to see if the online list matches the current one.
+# It can take 5 minutes just to collect the tests. They're not distributed in the PyPI tarball.
+#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
+}



More information about the arch-commits mailing list