[arch-commits] Commit in python-pytest-expect/repos/community-any (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at gemini.archlinux.org
Sat Nov 13 16:09:01 UTC 2021


    Date: Saturday, November 13, 2021 @ 16:09:01
  Author: jelle
Revision: 1045570

archrelease: copy trunk to community-any

Added:
  python-pytest-expect/repos/community-any/PKGBUILD
    (from rev 1045569, python-pytest-expect/trunk/PKGBUILD)
Deleted:
  python-pytest-expect/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   67 ++++++++++++++++++++++++-------------------------------------
 1 file changed, 27 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-13 16:08:56 UTC (rev 1045569)
+++ PKGBUILD	2021-11-13 16:09:01 UTC (rev 1045570)
@@ -1,40 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=pytest-expect
-pkgbase='python-pytest-expect'
-pkgname=('python-pytest-expect' 'python2-pytest-expect')
-pkgver=1.1.0
-pkgrel=6
-pkgdesc="py.test plugin to store test expectations and mark tests based on them"
-arch=('any')
-url="https://github.com/gsnedders/${_pkgname}"
-license=('MIT')
-makedepends=('python-setuptools' 'python-pytest' 'python-u-msgpack'
-             'python2-setuptools' 'python2-pytest' 'python2-u-msgpack')
-source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('8392093123dfc9807c28fee251e1d710aaed0d46ee77c7531528fb0a265eb798')
-
-build() {
-  cd "${srcdir}/${_pkgname}-${pkgver}"
-
-  python setup.py build
-  python2 setup.py build
-}
-
-package_python-pytest-expect() {
-  depends=('python-pytest' 'python-u-msgpack')
-
-  cd "${srcdir}/${_pkgname}-${pkgver}"
-  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-pytest-expect() {
-  depends+=('python2-pytest' 'python2-u-msgpack')
-
-  cd "${srcdir}/${_pkgname}-${pkgver}"
-  python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: python-pytest-expect/repos/community-any/PKGBUILD (from rev 1045569, python-pytest-expect/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-13 16:09:01 UTC (rev 1045570)
@@ -0,0 +1,27 @@
+# Contributor: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=pytest-expect
+pkgname='python-pytest-expect'
+pkgver=1.1.0
+pkgrel=7
+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"
+}



More information about the arch-commits mailing list