SHARE
TWEET

python-nodeenv

ImNtReal Sep 25th, 2018 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgbase=python-nodeenv
  2. pkgname=(python-nodeenv python2-nodeenv)
  3. pkgver=1.3.2
  4. pkgrel=1
  5. pkgdesc="Node.js virtual environment builder"
  6. url="https://github.com/ekalinin/nodeenv"
  7. license=("BSD")
  8. arch=('any')
  9. makedepends=('python' 'python2' 'python-setuptools' 'python2-setuptools')
  10. source=("https://github.com/ekalinin/nodeenv/archive/${pkgver}.tar.gz")
  11. sha256sums=('9c0e27eb8c26cce3f668c9d36ab743dc15fe4df811928acb150b99d4ad26b9e9')
  12.  
  13. package_python-nodeenv() {
  14.   depends=('python')
  15.   conflicts=('python2-nodeenv')
  16.  
  17.   cd $srcdir/nodeenv-${pkgver}
  18.   python setup.py install --root=$pkgdir
  19.   install -D -m0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
  20. }
  21.  
  22. package_python2-nodeenv() {
  23.   depends=('python2')
  24.   conflicts=('python-nodeenv')
  25.  
  26.   cd $srcdir/nodeenv-${pkgver}
  27.   python2 setup.py install --root=$pkgdir
  28.   install -D -m0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
  29. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top