[arch-commits] Commit in python-virtualenv-clone/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Nov 23 22:09:52 UTC 2019


    Date: Saturday, November 23, 2019 @ 22:09:51
  Author: arojas
Revision: 532397

Drop python2

Modified:
  python-virtualenv-clone/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++---------------
 1 file changed, 3 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-23 22:07:32 UTC (rev 532396)
+++ PKGBUILD	2019-11-23 22:09:51 UTC (rev 532397)
@@ -1,6 +1,6 @@
 # Maintainer: Evangelos Foutras <evangelos at foutrelis.com
 
-pkgname=('python-virtualenv-clone' 'python2-virtualenv-clone')
+pkgname='python-virtualenv-clone'
 pkgver=0.5.3
 pkgrel=3
 pkgdesc="A script for cloning a non-relocatable virtualenv."
@@ -7,26 +7,14 @@
 arch=('any')
 url="https://github.com/edwardgeorge/virtualenv-clone"
 license=('GPL')
-makedepends=('python-distribute' 'python2-distribute')
+depends=('python-setuptools')
 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')
-
+package() {
   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