[arch-commits] Commit in python-flufl.bounce/repos (2 files)

2020-11-09 Thread Evangelos Foutras via arch-commits
Date: Monday, November 9, 2020 @ 20:12:30
  Author: foutrelis
Revision: 748140

archrelease: copy trunk to community-staging-any

Added:
  python-flufl.bounce/repos/community-staging-any/
  python-flufl.bounce/repos/community-staging-any/PKGBUILD
(from rev 748139, python-flufl.bounce/trunk/PKGBUILD)

--+
 PKGBUILD |   42 ++
 1 file changed, 42 insertions(+)

Copied: python-flufl.bounce/repos/community-staging-any/PKGBUILD (from rev 
748139, python-flufl.bounce/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2020-11-09 20:12:30 UTC (rev 748140)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge 
+
+_name=flufl.bounce
+pkgname=python-flufl.bounce
+pkgver=3.0.1
+pkgrel=2
+pkgdesc="Email bounce detectors"
+arch=('any')
+url="https://fluflbounce.readthedocs.io/en/latest/;
+license=('Apache')
+depends=('python-atpublic' 'python-zope-interface')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+provides=('python-flufl-bounce')
+replaces=('python-flufl-bounce')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz;)
+sha512sums=('9a8d0dec98f8699fd3dff62f5dd831ab5754f11d246b750cfed8ae7ebb771c3c7c1abd4fcceb0f8aa052653802c6e6e5a7bd4711e63b9095ede238817a3cd146')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+--optimize=1 \
+--prefix=/usr \
+--root="${pkgdir}"
+  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}


[arch-commits] Commit in python-flufl.bounce/repos (2 files)

2020-01-10 Thread David Runge via arch-commits
Date: Friday, January 10, 2020 @ 21:25:55
  Author: dvzrv
Revision: 551807

archrelease: copy trunk to community-any

Added:
  python-flufl.bounce/repos/community-any/
  python-flufl.bounce/repos/community-any/PKGBUILD
(from rev 551806, python-flufl.bounce/trunk/PKGBUILD)

--+
 PKGBUILD |   42 ++
 1 file changed, 42 insertions(+)

Copied: python-flufl.bounce/repos/community-any/PKGBUILD (from rev 551806, 
python-flufl.bounce/trunk/PKGBUILD)
===
--- community-any/PKGBUILD  (rev 0)
+++ community-any/PKGBUILD  2020-01-10 21:25:55 UTC (rev 551807)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge 
+
+_name=flufl.bounce
+pkgname=python-flufl.bounce
+pkgver=3.0
+pkgrel=2
+pkgdesc="Email bounce detectors"
+arch=('any')
+url="https://fluflbounce.readthedocs.io/en/latest/;
+license=('Apache')
+depends=('python-atpublic' 'python-zope-interface')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+provides=('python-flufl-bounce')
+replaces=('python-flufl-bounce')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz;)
+sha512sums=('f6effe38c80e1e5e1119d7951a1a32bb9b91fc52db0887eee4ebb74e005ad5cf48351311985a3169649301efe9273d3fe480b3dded7eff3b77b73312d0416f45')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+--optimize=1 \
+--prefix=/usr \
+--root="${pkgdir}"
+  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}