[gentoo-commits] proj/sci:master commit in: dev-python/hdbscan/

2023-05-22 Thread Andrew Ammerlaan
commit: 73dbc1a6b95b43d14e377d892aafd4f512594741
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Mon May 22 13:10:56 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon May 22 13:12:38 2023 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=73dbc1a6

dev-python/hdbscan: drop 0.8.26

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/hdbscan/hdbscan-0.8.26.ebuild | 33 
 1 file changed, 33 deletions(-)

diff --git a/dev-python/hdbscan/hdbscan-0.8.26.ebuild 
b/dev-python/hdbscan/hdbscan-0.8.26.ebuild
deleted file mode 100644
index 91e83eb87..0
--- a/dev-python/hdbscan/hdbscan-0.8.26.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 2021-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1
-
-DESCRIPTION="A high performance implementation of HDBSCAN clustering."
-HOMEPAGE="https://github.com/scikit-learn-contrib/hdbscan;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="test"
-# Tests fail, reported to upstream
-# https://github.com/scikit-learn-contrib/hdbscan/issues/501
-
-DEPEND=""
-RDEPEND="
-   dev-python/cython[${PYTHON_USEDEP}]
-   dev-python/joblib[${PYTHON_USEDEP}]
-   dev-python/numpy[${PYTHON_USEDEP}]
-   dev-python/scipy[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   sci-libs/scikit-learn[${PYTHON_USEDEP}]
-"
-BDEPEND=""
-
-distutils_enable_tests pytest



[gentoo-commits] proj/sci:master commit in: dev-python/hdbscan/

2023-05-22 Thread Andrew Ammerlaan
commit: 513259265b4c68a69c34536233033e52ad007fa6
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Mon May 22 13:10:47 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon May 22 13:12:37 2023 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=51325926

dev-python/hdbscan: update SRC_URI

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/hdbscan/hdbscan-0.8.29.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-python/hdbscan/hdbscan-0.8.29.ebuild 
b/dev-python/hdbscan/hdbscan-0.8.29.ebuild
index e13b6da0e..33947fd22 100644
--- a/dev-python/hdbscan/hdbscan-0.8.29.ebuild
+++ b/dev-python/hdbscan/hdbscan-0.8.29.ebuild
@@ -5,11 +5,10 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{10..11} )
 DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1
+inherit distutils-r1 pypi
 
 DESCRIPTION="A high performance implementation of HDBSCAN clustering."
 HOMEPAGE="https://github.com/scikit-learn-contrib/hdbscan;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"



[gentoo-commits] proj/sci:master commit in: dev-python/hdbscan/

2023-01-31 Thread Horea Christian
commit: 1068c61e051fbeb1a2ed2285ba0b497deaca9510
Author: Horea Christian  chymera  eu>
AuthorDate: Tue Jan 31 09:50:51 2023 +
Commit: Horea Christian  gmail  com>
CommitDate: Tue Jan 31 09:50:51 2023 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=1068c61e

dev-python/hdbscan: add pypi upstream metadata

Signed-off-by: Horea Christian  chymera.eu>

 dev-python/hdbscan/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/hdbscan/metadata.xml b/dev-python/hdbscan/metadata.xml
index b43e627e0..3e9aab1c5 100644
--- a/dev-python/hdbscan/metadata.xml
+++ b/dev-python/hdbscan/metadata.xml
@@ -24,5 +24,6 @@


scikit-learn-contrib/hdbscan
+   hdbscan

 



[gentoo-commits] proj/sci:master commit in: dev-python/hdbscan/

2023-01-31 Thread Horea Christian
commit: 3fa2245dba29ef460e60d00e43426359b28acbe7
Author: Horea Christian  chymera  eu>
AuthorDate: Tue Jan 31 09:52:08 2023 +
Commit: Horea Christian  gmail  com>
CommitDate: Tue Jan 31 09:52:08 2023 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=3fa2245d

dev-python/hdbscan: enable py3.11 and disable py3.9

Signed-off-by: Horea Christian  chymera.eu>

 dev-python/hdbscan/hdbscan-0.8.29.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/hdbscan/hdbscan-0.8.29.ebuild 
b/dev-python/hdbscan/hdbscan-0.8.29.ebuild
index 85d049d4c..e13b6da0e 100644
--- a/dev-python/hdbscan/hdbscan-0.8.29.ebuild
+++ b/dev-python/hdbscan/hdbscan-0.8.29.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{10..11} )
 DISTUTILS_USE_PEP517=setuptools
 inherit distutils-r1
 



[gentoo-commits] proj/sci:master commit in: dev-python/hdbscan/

2023-01-30 Thread Horea Christian
commit: 207a85724b6526e0f3be017a8a953412fcdcf597
Author: Horea Christian  chymera  eu>
AuthorDate: Tue Jan 31 03:23:22 2023 +
Commit: Horea Christian  gmail  com>
CommitDate: Tue Jan 31 03:23:22 2023 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=207a8572

dev-python/hdbscan: new package, add 0.8.26, 0.8.29

Signed-off-by: Horea Christian  chymera.eu>

 dev-python/hdbscan/hdbscan-0.8.26.ebuild | 33 
 dev-python/hdbscan/hdbscan-0.8.29.ebuild | 33 
 dev-python/hdbscan/metadata.xml  | 28 +++
 3 files changed, 94 insertions(+)

diff --git a/dev-python/hdbscan/hdbscan-0.8.26.ebuild 
b/dev-python/hdbscan/hdbscan-0.8.26.ebuild
new file mode 100644
index 0..91e83eb87
--- /dev/null
+++ b/dev-python/hdbscan/hdbscan-0.8.26.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="A high performance implementation of HDBSCAN clustering."
+HOMEPAGE="https://github.com/scikit-learn-contrib/hdbscan;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="test"
+# Tests fail, reported to upstream
+# https://github.com/scikit-learn-contrib/hdbscan/issues/501
+
+DEPEND=""
+RDEPEND="
+   dev-python/cython[${PYTHON_USEDEP}]
+   dev-python/joblib[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   sci-libs/scikit-learn[${PYTHON_USEDEP}]
+"
+BDEPEND=""
+
+distutils_enable_tests pytest

diff --git a/dev-python/hdbscan/hdbscan-0.8.29.ebuild 
b/dev-python/hdbscan/hdbscan-0.8.29.ebuild
new file mode 100644
index 0..85d049d4c
--- /dev/null
+++ b/dev-python/hdbscan/hdbscan-0.8.29.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="A high performance implementation of HDBSCAN clustering."
+HOMEPAGE="https://github.com/scikit-learn-contrib/hdbscan;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+# Reported upstream:
+# https://github.com/scikit-learn-contrib/hdbscan/issues/501
+RESTRICT="test"
+
+DEPEND=""
+RDEPEND="
+   dev-python/cython[${PYTHON_USEDEP}]
+   dev-python/joblib[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/scipy[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   sci-libs/scikit-learn[${PYTHON_USEDEP}]
+"
+BDEPEND=""
+
+distutils_enable_tests pytest

diff --git a/dev-python/hdbscan/metadata.xml b/dev-python/hdbscan/metadata.xml
new file mode 100644
index 0..b43e627e0
--- /dev/null
+++ b/dev-python/hdbscan/metadata.xml
@@ -0,0 +1,28 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   gen...@chymera.eu
+   Horea Christian
+   
+   
+   s...@gentoo.org
+   Gentoo Science Project
+   
+   
+   HDBSCAN - Hierarchical Density-Based Spatial Clustering of 
Applications with
+   Noise. Performs DBSCAN over varying epsilon values and 
integrates the result
+   to find a clustering that gives the best stability over 
epsilon. This allows
+   HDBSCAN to find clusters of varying densities (unlike DBSCAN), 
and be more
+   robust to parameter selection.
+
+   In practice this means that HDBSCAN returns a good clustering 
straight away
+   with little or no parameter tuning -- and the primary 
parameter, minimum
+   cluster size, is intuitive and easy to select. HDBSCAN is ideal 
for
+   exploratory data analysis; it's a fast and robust algorithm 
that you can
+   trust to return meaningful clusters (if there are any).
+   
+   
+   scikit-learn-contrib/hdbscan
+   
+