[arch-commits] Commit in python-hstspreload/repos/community-any (PKGBUILD PKGBUILD)
Kpcyrd
kpcyrd at archlinux.org
Sun May 16 22:21:42 UTC 2021
Date: Sunday, May 16, 2021 @ 22:21:41
Author: kpcyrd
Revision: 935959
archrelease: copy trunk to community-any
Added:
python-hstspreload/repos/community-any/PKGBUILD
(from rev 935958, python-hstspreload/trunk/PKGBUILD)
Deleted:
python-hstspreload/repos/community-any/PKGBUILD
----------+
PKGBUILD | 77 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-16 22:21:26 UTC (rev 935958)
+++ PKGBUILD 2021-05-16 22:21:41 UTC (rev 935959)
@@ -1,38 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=hstspreload
-pkgname=python-hstspreload
-pkgver=2020.7.7
-pkgrel=3
-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=('6d35ab04556ef4a3bfac3686d7dff5bf6327f4afe723bcdc72894206a09c0b727bba7456f9b05b58b61f9c35975c9b897e28f09df0397bd676b8ac03fe712860')
-b2sums=('1eb636660c0036bc6f29188fa1f8d34b86e18895afd81f7acd367d79e1dd8cee682d8940a73e33949931d3601810287a6af6eaf246b8700326d86601e7458782')
-
-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
-}
Copied: python-hstspreload/repos/community-any/PKGBUILD (from rev 935958, python-hstspreload/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-16 22:21:41 UTC (rev 935959)
@@ -0,0 +1,39 @@
+# 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
+}
More information about the arch-commits
mailing list