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

Felix Yan felixonmars at archlinux.org
Sat Mar 14 19:41:13 UTC 2020


    Date: Saturday, March 14, 2020 @ 19:41:13
  Author: felixonmars
Revision: 597124

archrelease: copy trunk to community-any

Added:
  python-nodeenv/repos/community-any/
  python-nodeenv/repos/community-any/PKGBUILD
    (from rev 597123, python-nodeenv/trunk/PKGBUILD)

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

Copied: python-nodeenv/repos/community-any/PKGBUILD (from rev 597123, python-nodeenv/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-03-14 19:41:13 UTC (rev 597124)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-nodeenv
+pkgver=1.3.5
+pkgrel=1
+pkgdesc="Node.js virtual environment builder"
+url="https://github.com/ekalinin/nodeenv"
+license=('BSD')
+arch=('any')
+depends=('python' 'make')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-coverage' 'python-mock')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ekalinin/nodeenv/archive/$pkgver.tar.gz")
+sha512sums=('c7e9068a220f183a217b15e724aa8197fca8f2234c76eafd230899963b6796e66e151c20c529e6540f7e3c59849bda3860d563b38f5feeff73601043f79cfba0')
+
+build() {
+  cd nodeenv-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd nodeenv-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd nodeenv-$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