aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisha Tammy <gentoo@aisha.cc>2020-09-22 15:45:06 -0400
committerAisha Tammy <gentoo@aisha.cc>2020-09-22 15:45:14 -0400
commitdf1ad98d1c418763962f3bded77cb59c696bf8fa (patch)
tree3e82428360f6b3a701e201c36c2b3660c1ff7399
parentdev-python/coords: drop dead package (diff)
downloadsci-df1ad98d1c418763962f3bded77cb59c696bf8fa.tar.gz
sci-df1ad98d1c418763962f3bded77cb59c696bf8fa.tar.bz2
sci-df1ad98d1c418763962f3bded77cb59c696bf8fa.zip
dev-python/palettable: renamed brewer2mpl
Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
-rw-r--r--dev-python/brewer2mpl/Manifest1
-rw-r--r--dev-python/brewer2mpl/brewer2mpl-1.4.1.ebuild24
-rw-r--r--dev-python/brewer2mpl/brewer2mpl-9999.ebuild24
-rw-r--r--dev-python/brewer2mpl/metadata.xml22
-rw-r--r--dev-python/palettable/Manifest1
-rw-r--r--dev-python/palettable/metadata.xml16
-rw-r--r--dev-python/palettable/palettable-3.3.0.ebuild34
-rw-r--r--dev-python/palettable/palettable-9999.ebuild34
8 files changed, 85 insertions, 71 deletions
diff --git a/dev-python/brewer2mpl/Manifest b/dev-python/brewer2mpl/Manifest
deleted file mode 100644
index a22acfba6..000000000
--- a/dev-python/brewer2mpl/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST brewer2mpl-1.4.1.tar.gz 23593 BLAKE2B cceb880b8f2f7d61e60b29da8fbbf62a10be04a5e005576989be17341a3938ac372405f3a0c6fb7495823584315d812dc194563eb4f6aff8be2dcf31a2c9ab3b SHA512 fe522ca7777117f199c4c82b95d299f91da57d061a8594e6bde59f174b2df243434f4e348f920dc50fb99bd4ebdca93622b1a62b8ec6caff6f790b33871b85dd
diff --git a/dev-python/brewer2mpl/brewer2mpl-1.4.1.ebuild b/dev-python/brewer2mpl/brewer2mpl-1.4.1.ebuild
deleted file mode 100644
index b451e52d7..000000000
--- a/dev-python/brewer2mpl/brewer2mpl-1.4.1.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4} )
-
-inherit distutils-r1
-
-DESCRIPTION="Connect colorbrewer2.org color maps to Python and matplotlib"
-HOMEPAGE="https://github.com/jiffyclub/brewer2mpl"
-
-if [ ${PV} == "9999" ] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/jiffyclub/${PN}.git git://github.com/jiffyclub/${PN}.git"
-else
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-
-RDEPEND="dev-python/matplotlib[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}"
diff --git a/dev-python/brewer2mpl/brewer2mpl-9999.ebuild b/dev-python/brewer2mpl/brewer2mpl-9999.ebuild
deleted file mode 100644
index b451e52d7..000000000
--- a/dev-python/brewer2mpl/brewer2mpl-9999.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4} )
-
-inherit distutils-r1
-
-DESCRIPTION="Connect colorbrewer2.org color maps to Python and matplotlib"
-HOMEPAGE="https://github.com/jiffyclub/brewer2mpl"
-
-if [ ${PV} == "9999" ] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/jiffyclub/${PN}.git git://github.com/jiffyclub/${PN}.git"
-else
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-
-RDEPEND="dev-python/matplotlib[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}"
diff --git a/dev-python/brewer2mpl/metadata.xml b/dev-python/brewer2mpl/metadata.xml
deleted file mode 100644
index 7cf56d68d..000000000
--- a/dev-python/brewer2mpl/metadata.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>marbre@linux.sungazer.de</email>
- <name>Marius Brehler</name>
- </maintainer>
- <maintainer type="project">
- <email>sci@gentoo.org</email>
- <name>Gentoo Science Project</name>
- </maintainer>
- <longdescription>
-brewer2mpl is a pure Python package for accessing colorbrewer2.org
-color maps from Python. With brewer2mpl you can get the raw RGB
-colors of all 165 colorbrewer2.org color maps. The color map data
-ships with brewer2mpl so no internet connection is required.
-</longdescription>
- <upstream>
- <remote-id type="github">jiffyclub/brewer2mpl</remote-id>
- <remote-id type="pypi">brewer2mpl</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-python/palettable/Manifest b/dev-python/palettable/Manifest
new file mode 100644
index 000000000..2fd3a2291
--- /dev/null
+++ b/dev-python/palettable/Manifest
@@ -0,0 +1 @@
+DIST palettable-3.3.0.tar.gz 105475 BLAKE2B bd3745e428b8273c1ce8ebca89cb99ba988fbf6bcfc11a387a946938dd8e573a8b9aadf3288b3a4c9a794add1c3b64f77519188a7025a1cb85de129e476429a4 SHA512 6689b009d3a7face36c0d3eaf2bee6a5e8f364f25f30e06924ec61d730c95921ef37cfc857a93b07a772a7b347e805ae8139f056478378a6c8669f853d5df810
diff --git a/dev-python/palettable/metadata.xml b/dev-python/palettable/metadata.xml
new file mode 100644
index 000000000..a5b9b813a
--- /dev/null
+++ b/dev-python/palettable/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>marbre@linux.sungazer.de</email>
+ <name>Marius Brehler</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">jiffyclub/palettable</remote-id>
+ <remote-id type="pypi">palettable</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/palettable/palettable-3.3.0.ebuild b/dev-python/palettable/palettable-3.3.0.ebuild
new file mode 100644
index 000000000..624f99cc4
--- /dev/null
+++ b/dev-python/palettable/palettable-3.3.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="library of color palettes for python"
+HOMEPAGE="https://github.com/jiffyclub/palettable"
+
+if [ ${PV} == "9999" ] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/jiffyclub/palettable.git"
+else
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests pytest
+
+python_test() {
+ distutils_install_for_testing
+ pytest -vv || die "tests failed for ${EPYTHON}"
+}
diff --git a/dev-python/palettable/palettable-9999.ebuild b/dev-python/palettable/palettable-9999.ebuild
new file mode 100644
index 000000000..624f99cc4
--- /dev/null
+++ b/dev-python/palettable/palettable-9999.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="library of color palettes for python"
+HOMEPAGE="https://github.com/jiffyclub/palettable"
+
+if [ ${PV} == "9999" ] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/jiffyclub/palettable.git"
+else
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests pytest
+
+python_test() {
+ distutils_install_for_testing
+ pytest -vv || die "tests failed for ${EPYTHON}"
+}