[arch-commits] Commit in (4 files)

David Runge dvzrv at archlinux.org
Sat Feb 3 17:12:19 UTC 2018


    Date: Saturday, February 3, 2018 @ 17:12:18
  Author: dvzrv
Revision: 288803

Adding python-pytest-subtesthack 0.1.1 from AUR (as dependency to vdirsyncer).

Added:
  python-pytest-subtesthack/
  python-pytest-subtesthack/repos/
  python-pytest-subtesthack/trunk/
  python-pytest-subtesthack/trunk/PKGBUILD

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

Added: python-pytest-subtesthack/trunk/PKGBUILD
===================================================================
--- python-pytest-subtesthack/trunk/PKGBUILD	                        (rev 0)
+++ python-pytest-subtesthack/trunk/PKGBUILD	2018-02-03 17:12:18 UTC (rev 288803)
@@ -0,0 +1,30 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: eolianoe <eolianoe At GoogleMAIL DoT com>
+
+_name=pytest-subtesthack
+pkgname=python-${_name}
+pkgver=0.1.1
+pkgrel=3
+pkgdesc="A hack to explicitly set up and tear down fixtures"
+arch=('any')
+url="https://github.com/untitaker/pytest-subtesthack"
+license=('custom')
+makedepends=('python-setuptools')
+depends=('python' 'python-pytest')
+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 -vDm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+


Property changes on: python-pytest-subtesthack/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list