[arch-commits] Commit in python-virtualenv-clone/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Sep 19 10:26:44 UTC 2015
Date: Saturday, September 19, 2015 @ 12:26:44
Author: foutrelis
Revision: 140730
archrelease: copy trunk to community-staging-any
Added:
python-virtualenv-clone/repos/community-staging-any/
python-virtualenv-clone/repos/community-staging-any/PKGBUILD
(from rev 140729, python-virtualenv-clone/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-virtualenv-clone/repos/community-staging-any/PKGBUILD (from rev 140729, python-virtualenv-clone/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2015-09-19 10:26:44 UTC (rev 140730)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com
+
+pkgname=('python-virtualenv-clone' 'python2-virtualenv-clone')
+pkgver=0.2.6
+pkgrel=2
+pkgdesc="A script for cloning a non-relocatable virtualenv."
+arch=('any')
+url="https://github.com/edwardgeorge/virtualenv-clone"
+license=('GPL')
+makedepends=('python-distribute' 'python2-distribute')
+options=('!emptydirs')
+source=(http://pypi.python.org/packages/source/v/virtualenv-clone/virtualenv-clone-$pkgver.tar.gz)
+sha256sums=('6b3be5cab59e455f08c9eda573d23006b7d6fb41fae974ddaa2b275c93cc4405')
+
+package_python-virtualenv-clone() {
+ depends=('python-distribute')
+
+ cd "$srcdir/virtualenv-clone-$pkgver"
+ python3 setup.py install --root="$pkgdir" -O1
+}
+
+package_python2-virtualenv-clone() {
+ depends=('python2')
+
+ cd "$srcdir/virtualenv-clone-$pkgver"
+ python2 setup.py install --root="$pkgdir" -O1
+
+ # virtualenv-clone is provided by the python-virtualenv-clone package
+ rm "$pkgdir/usr/bin/virtualenv-clone"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list