Date: Friday, April 7, 2023 @ 07:11:42
Author: felixonmars
Revision: 1440792
archrelease: copy trunk to community-staging-any
Added:
python-pytest-expect/repos/community-staging-any/
python-pytest-expect/repos/community-staging-any/PKGBUILD
(from rev 1440790, python-pytest-expect/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: python-pytest-expect/repos/community-staging-any/PKGBUILD (from rev
1440790, python-pytest-expect/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-07 07:11:42 UTC (rev 1440792)
@@ -0,0 +1,27 @@
+# Contributor: Eli Schwartz <[email protected]>
+
+_pkgname=pytest-expect
+pkgname='python-pytest-expect'
+pkgver=1.1.0
+pkgrel=10
+pkgdesc="py.test plugin to store test expectations and mark tests based on
them"
+arch=('any')
+url="https://github.com/gsnedders/${_pkgname}"
+license=('MIT')
+depends=('python-pytest' 'python-u-msgpack')
+makedepends=('python-setuptools' 'python-pytest' 'python-u-msgpack')
+source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('8392093123dfc9807c28fee251e1d710aaed0d46ee77c7531528fb0a265eb798')
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+
+ python setup.py build
+}
+
+package_python-pytest-expect() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}