Date: Tuesday, November 10, 2020 @ 05:05:28
  Author: felixonmars
Revision: 749290

archrelease: copy trunk to community-staging-any

Added:
  python-pytest-subtesthack/repos/community-staging-any/
  python-pytest-subtesthack/repos/community-staging-any/PKGBUILD
    (from rev 749289, python-pytest-subtesthack/trunk/PKGBUILD)

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

Copied: python-pytest-subtesthack/repos/community-staging-any/PKGBUILD (from 
rev 749289, python-pytest-subtesthack/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2020-11-10 05:05:28 UTC (rev 749290)
@@ -0,0 +1,29 @@
+# Maintainer: David Runge <d...@sleepmap.de>
+# Contributor: eolianoe <eolianoe At GoogleMAIL DoT com>
+
+_name=pytest-subtesthack
+pkgname=python-${_name}
+pkgver=0.1.1
+pkgrel=8
+pkgdesc="A hack to explicitly set up and tear down fixtures"
+arch=('any')
+url="https://github.com/untitaker/pytest-subtesthack";
+license=('custom')
+depends=('python-pytest' 'python-setuptools')
+source=(${_name}-${pkgver}.tar.gz::"https://github.com/untitaker/${_name}/archive/${pkgver}.tar.gz";)
+sha512sums=('0bf6425b535e65dc7f06f74493d10fbb6451e78a817174638661d7525f39f092f67db8da010228cbd54b400485e71e443118f91ebef660b9c00d2b354062a55f')
+
+build() {
+  cd "${_name}-${pkgver}"
+  python setup.py build
+}
+
+package() {
+  cd "${_name}-${pkgver}"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -vDm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -vDm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README.rst"
+}

Reply via email to