Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] python3-scipy: update to 1.3.1
Date: Fri, 13 Sep 2019 04:34:47 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-14428@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 608 bytes --]

There is a new pull request by fosslinux against master on the void-packages repository

https://github.com/fosslinux/void-packages python-scipy-1.3.1
https://github.com/void-linux/void-packages/pull/14428

python3-scipy: update to 1.3.1
The name and template have been changed to reflect that scipy no longer supports python2. Hence, there is no more `python-scipy` package.

`python-scikit-learn` has also been moved to `python3-scikit-learn` as it depends on scipy, so there can no longer be a python 2 version.

A patch file from https://github.com/void-linux/void-packages/pull/14428.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python-scipy-1.3.1-14428.patch --]
[-- Type: text/x-diff, Size: 6120 bytes --]

From 59b816f203ebb758604af6ab838979ef8383f8a6 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Fri, 13 Sep 2019 12:02:47 +1000
Subject: [PATCH 1/2] python3-scipy: update to 1.3.1

---
 srcpkgs/python-scipy/template                 | 33 -------------------
 srcpkgs/python3-scipy                         |  1 -
 srcpkgs/python3-scipy/template                | 23 +++++++++++++
 .../{python-scipy => python3-scipy}/update    |  0
 4 files changed, 23 insertions(+), 34 deletions(-)
 delete mode 100644 srcpkgs/python-scipy/template
 delete mode 120000 srcpkgs/python3-scipy
 create mode 100644 srcpkgs/python3-scipy/template
 rename srcpkgs/{python-scipy => python3-scipy}/update (100%)

diff --git a/srcpkgs/python-scipy/template b/srcpkgs/python-scipy/template
deleted file mode 100644
index adbc6de4d52..00000000000
--- a/srcpkgs/python-scipy/template
+++ /dev/null
@@ -1,33 +0,0 @@
-# Template file for 'python-scipy'
-pkgname=python-scipy
-version=1.2.2
-revision=1
-wrksrc="scipy-${version}"
-build_style=python-module
-pycompile_module="scipy"
-hostmakedepends="python-setuptools python3-setuptools
- python-Cython python3-Cython gcc-fortran"
-makedepends="python-devel python3-devel python-numpy python3-numpy lapack-devel"
-depends="python-numpy"
-short_desc="Scientific library for Python2"
-maintainer="Alessio Sergi <al3hex@gmail.com>"
-homepage="https://scipy.org/scipylib/"
-license="BSD-3-Clause"
-distfiles="https://github.com/scipy/scipy/archive/v${version}.tar.gz"
-checksum=bc8c1364b365e741a9ba5ed67496eacc8565c67d1e0b82be0f203384f05d8026
-
-LDFLAGS="-shared"
-
-post_install() {
-	vlicense LICENSE.txt
-}
-
-python3-scipy_package() {
-	pycompile_module="scipy"
-	depends="python3-numpy"
-	short_desc="${short_desc/Python2/Python3}"
-	pkg_install() {
-		vmove usr/lib/python3*
-		vlicense LICENSE.txt
-	}
-}
diff --git a/srcpkgs/python3-scipy b/srcpkgs/python3-scipy
deleted file mode 120000
index 5107676dd24..00000000000
--- a/srcpkgs/python3-scipy
+++ /dev/null
@@ -1 +0,0 @@
-python-scipy
\ No newline at end of file
diff --git a/srcpkgs/python3-scipy/template b/srcpkgs/python3-scipy/template
new file mode 100644
index 00000000000..291ac3734f1
--- /dev/null
+++ b/srcpkgs/python3-scipy/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-scipy'
+pkgname=python3-scipy
+version=1.3.1
+revision=1
+wrksrc="scipy-${version}"
+build_style=python3-module
+pycompile_module="scipy"
+hostmakedepends="python3-setuptools
+ python3-Cython gcc-fortran"
+makedepends="python3-devel python3-numpy lapack-devel"
+depends="python-numpy"
+short_desc="Scientific library for Python3"
+maintainer="Alessio Sergi <al3hex@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://scipy.org/scipylib/"
+distfiles="https://github.com/scipy/scipy/releases/download/v${version}/scipy-${version}.tar.xz"
+checksum=326ffdad79f113659ed0bca80f5d0ed5e28b2e967b438bb1f647d0738073a92e
+
+LDFLAGS="-shared"
+
+post_install() {
+	vlicense LICENSE.txt
+}
diff --git a/srcpkgs/python-scipy/update b/srcpkgs/python3-scipy/update
similarity index 100%
rename from srcpkgs/python-scipy/update
rename to srcpkgs/python3-scipy/update

From cad2d48ed2db38e493f9637718b37548b5a8b0e2 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Fri, 13 Sep 2019 12:19:19 +1000
Subject: [PATCH 2/2] 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 <al3hex@gmail.com>"
-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 <al3hex@gmail.com>"
+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
+}

             reply	other threads:[~2019-09-13  2:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-13  2:34 voidlinux-github [this message]
2019-09-13  6:12 ` [PR PATCH] [Merged]: " voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-14428@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).