[arch-commits] Commit in python-flufl.i18n/repos/community-staging-any (2 files)

Felix Yan felixonmars at archlinux.org
Wed Nov 11 15:10:48 UTC 2020


    Date: Wednesday, November 11, 2020 @ 15:10:47
  Author: felixonmars
Revision: 750944

archrelease: copy trunk to community-staging-any

Added:
  python-flufl.i18n/repos/community-staging-any/PKGBUILD
    (from rev 750943, python-flufl.i18n/trunk/PKGBUILD)
Deleted:
  python-flufl.i18n/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   94 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 47 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 15:10:38 UTC (rev 750943)
+++ PKGBUILD	2020-11-11 15:10:47 UTC (rev 750944)
@@ -1,47 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=flufl.i18n
-pkgname=python-flufl.i18n
-pkgver=3.1.3
-pkgrel=2
-pkgdesc="A high level API for internationalization"
-arch=('any')
-url="https://gitlab.com/warsaw/flufl.i18n"
-license=('Apache')
-depends=('python-atpublic')
-makedepends=('python-setuptools')
-checkdepends=('python-sybil' 'python-pytest')
-provides=('python-flufl-i18n')
-replaces=('python-flufl-i18n')
-# missing files to run tests: https://gitlab.com/warsaw/flufl.i18n/-/issues/9
-# 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=('114840595ac192da7d0213cb142001d4cdce207b470cc558d42d0a234b38c226c2158f50eebe85bbb1383929bd584d1ee72394534e3841e3e2c328375677c9e7')
-b2sums=('3f10ad2330664c5fd09e56c342e340a4843bd0082eabe0e7d47a02c74fdbc76ebbe575d217e0055b3dc34317f89934c2c486f3223349b6d547af7e963c77fc89')
-
-prepare() {
-  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
-  cd "$pkgname-$pkgver"
-  # we don't need code coverage during tests
-  sed -e '/addopts/d' -i setup.cfg
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH="build:${PYTHONPATH}"
-  pytest -v
-}
-
-package() {
-  local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-                          --optimize=1 \
-                          --root="${pkgdir}"
-  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: python-flufl.i18n/repos/community-staging-any/PKGBUILD (from rev 750943, python-flufl.i18n/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 15:10:47 UTC (rev 750944)
@@ -0,0 +1,47 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=flufl.i18n
+pkgname=python-flufl.i18n
+pkgver=3.1.3
+pkgrel=3
+pkgdesc="A high level API for internationalization"
+arch=('any')
+url="https://gitlab.com/warsaw/flufl.i18n"
+license=('Apache')
+depends=('python-atpublic')
+makedepends=('python-setuptools')
+checkdepends=('python-sybil' 'python-pytest')
+provides=('python-flufl-i18n')
+replaces=('python-flufl-i18n')
+# missing files to run tests: https://gitlab.com/warsaw/flufl.i18n/-/issues/9
+# 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=('114840595ac192da7d0213cb142001d4cdce207b470cc558d42d0a234b38c226c2158f50eebe85bbb1383929bd584d1ee72394534e3841e3e2c328375677c9e7')
+b2sums=('3f10ad2330664c5fd09e56c342e340a4843bd0082eabe0e7d47a02c74fdbc76ebbe575d217e0055b3dc34317f89934c2c486f3223349b6d547af7e963c77fc89')
+
+prepare() {
+  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  # we don't need code coverage during tests
+  sed -e '/addopts/d' -i setup.cfg
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+                          --optimize=1 \
+                          --root="${pkgdir}"
+  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list