[arch-commits] Commit in python-unittest-mixins/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 04:00:37 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:00:37
  Author: foutrelis
Revision: 748350

archrelease: copy trunk to community-staging-any

Added:
  python-unittest-mixins/repos/community-staging-any/
  python-unittest-mixins/repos/community-staging-any/PKGBUILD
    (from rev 748349, python-unittest-mixins/trunk/PKGBUILD)

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

Copied: python-unittest-mixins/repos/community-staging-any/PKGBUILD (from rev 748349, python-unittest-mixins/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:00:37 UTC (rev 748350)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-unittest-mixins
+pkgver=1.6
+pkgrel=5
+pkgdesc='Helpful mixins for unittest classes'
+arch=('any')
+license=('Apache')
+url='https://github.com/nedbat/unittest-mixins'
+depends=('python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/nedbat/unittest-mixins/archive/v$pkgver.tar.gz")
+sha512sums=('0d4a0bbf80264f34a03aebbb2668733cd3753f99b24b006ea6704a2b97df9fb51755e8c4efd0094219e65d25756ea31ff27d3892b32ab6829050236a6bcbc986')
+
+build() {
+  cd "$srcdir"/unittest-mixins-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/unittest-mixins-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd unittest-mixins-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list