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

Felix Yan felixonmars at archlinux.org
Sat Jun 30 15:40:18 UTC 2018


    Date: Saturday, June 30, 2018 @ 15:40:18
  Author: felixonmars
Revision: 348286

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 348285, python-virtualenv-clone/trunk/PKGBUILD)

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

Copied: python-virtualenv-clone/repos/community-staging-any/PKGBUILD (from rev 348285, python-virtualenv-clone/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-06-30 15:40:18 UTC (rev 348286)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com
+
+pkgname=('python-virtualenv-clone' 'python2-virtualenv-clone')
+pkgver=0.3.0
+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=('b5cfe535d14dc68dfc1d1bb4ac1209ea28235b91156e2bba8e250d291c3fb4f8')
+
+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