From a3eb341fa64c5183c8a60762cf956b5eae8cad7c Mon Sep 17 00:00:00 2001 From: fosslinux Date: Fri, 13 Sep 2019 12:19:19 +1000 Subject: [PATCH] python3-scikit-learn: rename from python-scikit-learn --- srcpkgs/python-scikit-learn/template | 30 --------------------------- srcpkgs/python3-scikit-learn | 1 - srcpkgs/python3-scikit-learn/template | 20 ++++++++++++++++++ 3 files changed, 20 insertions(+), 31 deletions(-) delete mode 100644 srcpkgs/python-scikit-learn/template delete mode 120000 srcpkgs/python3-scikit-learn create mode 100644 srcpkgs/python3-scikit-learn/template diff --git a/srcpkgs/python-scikit-learn/template b/srcpkgs/python-scikit-learn/template deleted file mode 100644 index 398d649b211..00000000000 --- a/srcpkgs/python-scikit-learn/template +++ /dev/null @@ -1,30 +0,0 @@ -# Template file for 'python-scikit-learn' -pkgname=python-scikit-learn -version=0.20.4 -revision=1 -wrksrc="scikit-learn-${version}" -build_style=python-module -pycompile_module="sklearn" -hostmakedepends="python-setuptools python3-setuptools python-Cython python3-Cython" -makedepends="python-devel python3-devel python-scipy python3-scipy" -depends="python-scipy" -short_desc="Python2 modules for machine learning and data mining" -maintainer="Alessio Sergi " -license="BSD-3-Clause" -homepage="https://scikit-learn.org/" -distfiles="https://github.com/scikit-learn/scikit-learn/archive/${version}.tar.gz" -checksum=1ec7a8dbf45fec730afaf6c783a797f9863fefc1225735ac4ce4706cc5857415 - -post_install() { - vlicense COPYING -} - -python3-scikit-learn_package() { - depends="python3-scipy" - pycompile_module="sklearn" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense COPYING - } -} diff --git a/srcpkgs/python3-scikit-learn b/srcpkgs/python3-scikit-learn deleted file mode 120000 index b21d4d2c2b2..00000000000 --- a/srcpkgs/python3-scikit-learn +++ /dev/null @@ -1 +0,0 @@ -python-scikit-learn \ No newline at end of file diff --git a/srcpkgs/python3-scikit-learn/template b/srcpkgs/python3-scikit-learn/template new file mode 100644 index 00000000000..73799b9f420 --- /dev/null +++ b/srcpkgs/python3-scikit-learn/template @@ -0,0 +1,20 @@ +# Template file for 'python3-scikit-learn' +pkgname=python3-scikit-learn +version=0.20.4 +revision=1 +wrksrc="scikit-learn-${version}" +build_style=python3-module +pycompile_module="sklearn" +hostmakedepends="python3-setuptools python3-Cython" +makedepends="python3-devel python3-numpy python3-scipy" +depends="python3-numpy python3-scipy" +short_desc="Python3 modules for machine learning and data mining" +maintainer="Alessio Sergi " +license="BSD-3-Clause" +homepage="https://scikit-learn.org/" +distfiles="https://github.com/scikit-learn/scikit-learn/archive/${version}.tar.gz" +checksum=1ec7a8dbf45fec730afaf6c783a797f9863fefc1225735ac4ce4706cc5857415 + +post_install() { + vlicense COPYING +}