[arch-commits] Commit in python-flask-gravatar/repos/community-staging-any (2 files)

Felix Yan felixonmars at archlinux.org
Sun Nov 15 15:10:14 UTC 2020


    Date: Sunday, November 15, 2020 @ 15:10:14
  Author: felixonmars
Revision: 754521

archrelease: copy trunk to community-staging-any

Added:
  python-flask-gravatar/repos/community-staging-any/PKGBUILD
    (from rev 754520, python-flask-gravatar/trunk/PKGBUILD)
Deleted:
  python-flask-gravatar/repos/community-staging-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-15 15:10:04 UTC (rev 754520)
+++ PKGBUILD	2020-11-15 15:10:14 UTC (rev 754521)
@@ -1,37 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-_pkgname=Flask-Gravatar
-pkgname=python-flask-gravatar
-pkgver=0.5.0
-pkgrel=4
-pkgdesc='Small and simple gravatar usage in Flask'
-url='https://github.com/zzzsochi/Flask-Gravatar/'
-arch=('any')
-license=('BSD')
-makedepends=('python-flask' 'python-sphinx' 'python-setuptools')
-checkdepends=('python-pytest')
-source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/zzzsochi/Flask-Gravatar/archive/v${pkgver}.tar.gz)
-sha256sums=('9f9ea35b3537f635a25a09390821b768c9c3cf53274e16ffabbfc1f8c6e77d55')
-sha512sums=('8acc5374e559687cc1b5fbaa90c1d17e96fd91e8b01d3df8083bc10c92afefb3725c03c4640e92e73d727320fc26235f80f6dfe36a06aeff49268af44110a23c')
-
-build() {
-  cd ${_pkgname}-${pkgver}
-  python setup.py build
-  sphinx-build -b text docs docs/_build/text
-  sphinx-build -b man docs docs/_build/man
-}
-
-check() {
-  cd ${_pkgname}-${pkgver}
-  python setup.py test
-}
-
-package() {
-  depends=('python' 'python-flask')
-  cd ${_pkgname}-${pkgver}
-  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-  install -Dm 644 README.rst CHANGES.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -Dm 644 docs/_build/text/*.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 docs/_build/man/flaskgravatar.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-}

Copied: python-flask-gravatar/repos/community-staging-any/PKGBUILD (from rev 754520, python-flask-gravatar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-15 15:10:14 UTC (rev 754521)
@@ -0,0 +1,39 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_pkgname=Flask-Gravatar
+pkgname=python-flask-gravatar
+pkgver=0.5.0
+pkgrel=5
+pkgdesc='Small and simple gravatar usage in Flask'
+url='https://github.com/zzzsochi/Flask-Gravatar/'
+arch=('any')
+license=('BSD')
+makedepends=('python-flask' 'python-sphinx' 'python-setuptools')
+checkdepends=('python-pytest')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/zzzsochi/Flask-Gravatar/archive/v${pkgver}.tar.gz)
+sha256sums=('9f9ea35b3537f635a25a09390821b768c9c3cf53274e16ffabbfc1f8c6e77d55')
+sha512sums=('8acc5374e559687cc1b5fbaa90c1d17e96fd91e8b01d3df8083bc10c92afefb3725c03c4640e92e73d727320fc26235f80f6dfe36a06aeff49268af44110a23c')
+
+build() {
+  cd ${_pkgname}-${pkgver}
+  python setup.py build
+  sphinx-build -b text docs docs/_build/text
+  sphinx-build -b man docs docs/_build/man
+}
+
+check() {
+  cd ${_pkgname}-${pkgver}
+  # Remove pytest.ini to not run coverage/pep8
+  rm pytest.ini
+  PYTHONPATH=. pytest .
+}
+
+package() {
+  depends=('python' 'python-flask')
+  cd ${_pkgname}-${pkgver}
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 644 README.rst CHANGES.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 docs/_build/text/*.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 docs/_build/man/flaskgravatar.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+}



More information about the arch-commits mailing list