[arch-commits] Commit in python-virtualenv-clone/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Oct 25 16:18:19 UTC 2019
Date: Friday, October 25, 2019 @ 16:18:16
Author: foutrelis
Revision: 519425
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 519424, python-virtualenv-clone/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-virtualenv-clone/repos/community-staging-any/PKGBUILD (from rev 519424, python-virtualenv-clone/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 16:18:16 UTC (rev 519425)
@@ -0,0 +1,32 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com
+
+pkgname=('python-virtualenv-clone' 'python2-virtualenv-clone')
+pkgver=0.5.3
+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=(https://files.pythonhosted.org/packages/source/v/virtualenv-clone/virtualenv-clone-$pkgver.tar.gz)
+sha256sums=('c88ae171a11b087ea2513f260cdac9232461d8e9369bcd1dc143fc399d220557')
+
+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