[arch-commits] Commit in python-flufl.i18n/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Thu Oct 22 17:38:28 UTC 2020


    Date: Thursday, October 22, 2020 @ 17:38:27
  Author: dvzrv
Revision: 729304

upgpkg: python-flufl.i18n 3.1.2-1: Upgrade to 3.1.2.

Switch to gitlab for source tarball as upstream accidentally removed tests from the sdist tarballs.

Modified:
  python-flufl.i18n/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-22 17:37:50 UTC (rev 729303)
+++ PKGBUILD	2020-10-22 17:38:27 UTC (rev 729304)
@@ -2,11 +2,11 @@
 
 _name=flufl.i18n
 pkgname=python-flufl.i18n
-pkgver=3.1
+pkgver=3.1.2
 pkgrel=1
 pkgdesc="A high level API for internationalization"
 arch=('any')
-url="https://flufli18n.readthedocs.io/en/latest/"
+url="https://gitlab.com/warsaw/flufl.i18n"
 license=('Apache')
 depends=('python-atpublic')
 makedepends=('python-setuptools')
@@ -13,9 +13,11 @@
 checkdepends=('python-sybil' 'python-pytest')
 provides=('python-flufl-i18n')
 replaces=('python-flufl-i18n')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('048b9a53598e42bc7b2733375aaa7c149017a844cf5bd5eb77d058593a2c4efdea66e7341ef300210c9c2e0c0ad265a513e3a40ecfb138e3f81475d20a03fc88')
-b2sums=('93e169ca72217954bf67aa7bc912538126616b4f8f1d1892918a329124df33a41438f7bf79b919c6de39d46a25605f3c13b9ca0bd79dc4129d113cb478541c62')
+# upstream removed tests from the sdist tarball: https://gitlab.com/warsaw/flufl.i18n/-/issues/8
+# source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+source=("https://gitlab.com/warsaw/${_name}/-/archive/${pkgver}/${_name}-${pkgver}.tar.gz")
+sha512sums=('560ca3d28708a1a2203f95c8ae6cc8ad69849884493508c63d4ac5824d4e7eacafbb8dddca2a815a26d9af5c1af62d126031e8a5db4378950b4ea39636d81407')
+b2sums=('0ea7d45322c1dcf7e743abe8371f33981001e36e5b21fbccd9b8bdd0964a2ceedacc80eafda1971b5a55bf0989ad1a3ef512cd2e9467954fa06ec2768219e0e6')
 
 prepare() {
   mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
@@ -42,7 +44,4 @@
                           --optimize=1 \
                           --root="${pkgdir}"
   install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-  # upstream accidentally added tests top-level:
-  # https://gitlab.com/warsaw/flufl.i18n/-/issues/5
-  rm -rvf "${pkgdir}/${site_packages}/test"*
 }



More information about the arch-commits mailing list