commit:     df1ad98d1c418763962f3bded77cb59c696bf8fa
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Tue Sep 22 19:45:06 2020 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Tue Sep 22 19:45:14 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=df1ad98d

dev-python/palettable: renamed brewer2mpl

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 dev-python/brewer2mpl/brewer2mpl-1.4.1.ebuild | 24 -------------------
 dev-python/brewer2mpl/brewer2mpl-9999.ebuild  | 24 -------------------
 dev-python/brewer2mpl/metadata.xml            | 22 -----------------
 dev-python/palettable/metadata.xml            | 16 +++++++++++++
 dev-python/palettable/palettable-3.3.0.ebuild | 34 +++++++++++++++++++++++++++
 dev-python/palettable/palettable-9999.ebuild  | 34 +++++++++++++++++++++++++++
 6 files changed, 84 insertions(+), 70 deletions(-)

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>mar...@linux.sungazer.de</email>
-               <name>Marius Brehler</name>
-       </maintainer>
-       <maintainer type="project">
-               <email>s...@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/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>mar...@linux.sungazer.de</email>
+               <name>Marius Brehler</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>s...@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}"
+}

Reply via email to