diff --git a/srcpkgs/python-pip/template b/srcpkgs/python-pip/template deleted file mode 100644 index b438cd13c0..0000000000 --- a/srcpkgs/python-pip/template +++ /dev/null @@ -1,31 +0,0 @@ -# Template file for 'python-pip' -pkgname=python-pip -version=20.2.3 -revision=1 -wrksrc="pip-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -depends="python-setuptools" -short_desc="PyPA recommended tool for installing PyPI packages (Python2)" -maintainer="Alessio Sergi " -license="MIT" -homepage="https://pip.pypa.io/" -changelog="https://raw.githubusercontent.com/pypa/pip/master/NEWS.rst" -distfiles="${PYPI_SITE}/p/pip/pip-${version}.tar.gz" -checksum=30c70b6179711a7c4cf76da89e8a0f5282279dfb0278bec7b94134be92543b6d -alternatives="pip:pip:/usr/bin/pip2" - -post_install() { - vlicense LICENSE.txt -} - -python3-pip_package() { - depends="python3-setuptools" - short_desc="${short_desc/Python2/Python3}" - alternatives="pip:pip:/usr/bin/pip3" - pkg_install() { - vmove usr/bin/pip3 - vmove usr/lib/python3* - vlicense LICENSE.txt - } -} diff --git a/srcpkgs/python3-pip b/srcpkgs/python3-pip deleted file mode 120000 index 9de2412ef6..0000000000 --- a/srcpkgs/python3-pip +++ /dev/null @@ -1 +0,0 @@ -python-pip \ No newline at end of file diff --git a/srcpkgs/python-pip/patches/no-versioned-pip.patch b/srcpkgs/python3-pip/patches/no-versioned-pip.patch similarity index 100% rename from srcpkgs/python-pip/patches/no-versioned-pip.patch rename to srcpkgs/python3-pip/patches/no-versioned-pip.patch diff --git a/srcpkgs/python3-pip/template b/srcpkgs/python3-pip/template new file mode 100644 index 0000000000..fcfc36e4c1 --- /dev/null +++ b/srcpkgs/python3-pip/template @@ -0,0 +1,21 @@ +# Template file for 'python3-pip' +pkgname=python3-pip +version=20.2.3 +revision=2 +wrksrc="pip-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-setuptools" +short_desc="PyPA recommended tool for installing PyPI packages (Python3)" +maintainer="Orphaned " +license="MIT" +homepage="https://pip.pypa.io/" +changelog="https://raw.githubusercontent.com/pypa/pip/master/NEWS.rst" +distfiles="${PYPI_SITE}/p/pip/pip-${version}.tar.gz" +checksum=30c70b6179711a7c4cf76da89e8a0f5282279dfb0278bec7b94134be92543b6d +alternatives="pip:pip:/usr/bin/pip3" + +post_install() { + mv $DESTDIR/usr/bin/pip $DESTDIR/usr/bin/pip3 + vlicense LICENSE.txt +} diff --git a/srcpkgs/python-pip/update b/srcpkgs/python3-pip/update similarity index 100% rename from srcpkgs/python-pip/update rename to srcpkgs/python3-pip/update