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

Felix Yan felixonmars at archlinux.org
Mon May 31 17:22:46 UTC 2021


    Date: Monday, May 31, 2021 @ 17:22:46
  Author: felixonmars
Revision: 952841

archrelease: copy trunk to community-any

Added:
  python-noseofyeti/repos/community-any/
  python-noseofyeti/repos/community-any/PKGBUILD
    (from rev 952840, python-noseofyeti/trunk/PKGBUILD)

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

Copied: python-noseofyeti/repos/community-any/PKGBUILD (from rev 952840, python-noseofyeti/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2021-05-31 17:22:46 UTC (rev 952841)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-noseofyeti
+pkgver=2.0.2
+_commit=00bd23f1485e39c3489f84737cdfd03567b722b0
+pkgrel=1
+pkgdesc="A custom pyton codec that provides an RSpec style dsl for python"
+url="https://github.com/delfick/nose-of-yeti"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-asynctest' 'python-pytest' 'python-alt-pytest-asyncio'
+              'python-pytest-helpers-namespace')
+source=("https://github.com/delfick/nose-of-yeti/archive/$_commit/$pkgname-$_commit.tar.gz")
+sha512sums=('e666a4afe149efb2c5fb5b1c6f141c508ff9af263c7e421a0bea1706e8f90d28dd730c0232d094bc45da45ed55ea7cf4482d4ee4b68b95605c5a671b7246ce27')
+
+build() {
+  cd nose-of-yeti-$_commit
+  python setup.py build
+}
+
+check() {
+  cd nose-of-yeti-$_commit
+  PYTHONPATH="$PWD/build/lib" pytest
+}
+
+package() {
+  cd nose-of-yeti-$_commit
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list