From 7588abc25c783af4d833722ef59853508e6cbeea Mon Sep 17 00:00:00 2001 From: Zach Dykstra Date: Mon, 9 Mar 2020 22:08:58 -0500 Subject: [PATCH] python3-setuptools: update to 46.0.0. --- srcpkgs/python3-setuptools | 1 - srcpkgs/python3-setuptools/template | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) delete mode 120000 srcpkgs/python3-setuptools create mode 100644 srcpkgs/python3-setuptools/template diff --git a/srcpkgs/python3-setuptools b/srcpkgs/python3-setuptools deleted file mode 120000 index 493d712c799..00000000000 --- a/srcpkgs/python3-setuptools +++ /dev/null @@ -1 +0,0 @@ -python-setuptools \ No newline at end of file diff --git a/srcpkgs/python3-setuptools/template b/srcpkgs/python3-setuptools/template new file mode 100644 index 00000000000..6d144b848f6 --- /dev/null +++ b/srcpkgs/python3-setuptools/template @@ -0,0 +1,26 @@ +# Template file for 'python3-setuptools' +pkgname=python3-setuptools +version=46.0.0 +revision=1 +archs=noarch +wrksrc="setuptools-${version}" +build_style=python3-module +hostmakedepends="python3-devel" +depends="python3" +short_desc="Easily build and distribute Python3 packages" +maintainer="Alessio Sergi " +license="MIT" +homepage="https://github.com/pypa/setuptools" +distfiles="${PYPI_SITE}/s/setuptools/setuptools-${version}.zip" +checksum=2f00f25b780fbfd0787e46891dcccd805b08d007621f24629025f48afef444b5 +alternatives="setuptools:easy_install:/usr/bin/easy_install3" +provides="python3-distribute-${version}_1" +replaces="python3-distribute>=0" + +export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0 +export SETUPTOOLS_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 + +post_install() { + vlicense LICENSE + mv ${PKGDESTDIR}/usr/bin/easy_install ${PKGDESTDIR}/usr/bin/easy_install3 +}