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

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 14:55:06 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:55:06
  Author: felixonmars
Revision: 1059525

archrelease: copy trunk to community-staging-any

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

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

Copied: python-noseofyeti/repos/community-staging-any/PKGBUILD (from rev 1059523, python-noseofyeti/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 14:55:06 UTC (rev 1059525)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-noseofyeti
+pkgver=2.0.3
+pkgrel=2
+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/release-$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('7bb849e190607b95873525d3d3c182f87252c8199936c25ac1c4af1548fe65e2e755015d79c20da72096d80559908e56e19a618bf72cadf66771f55164a9c07d')
+
+build() {
+  cd nose-of-yeti-release-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd nose-of-yeti-release-$pkgver
+  PYTHONPATH="$PWD/build/lib" pytest
+}
+
+package() {
+  cd nose-of-yeti-release-$pkgver
+  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