From 57732d17ce7887773933b8dd4ed094c84eaf0aab Mon Sep 17 00:00:00 2001 From: Ryan Fox Date: Thu, 4 Nov 2021 16:53:46 -0700 Subject: [PATCH] sci-visualization/plots: New package This program is very useful for plotting stuff! Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Ryan Fox --- sci-visualization/plots/Manifest | 4 ++ sci-visualization/plots/metadata.xml | 11 ++++++ sci-visualization/plots/plots-0.6.1.ebuild | 43 ++++++++++++++++++++++ sci-visualization/plots/plots-9999.ebuild | 43 ++++++++++++++++++++++ 4 files changed, 101 insertions(+) create mode 100644 sci-visualization/plots/Manifest create mode 100644 sci-visualization/plots/metadata.xml create mode 100644 sci-visualization/plots/plots-0.6.1.ebuild create mode 100644 sci-visualization/plots/plots-9999.ebuild diff --git a/sci-visualization/plots/Manifest b/sci-visualization/plots/Manifest new file mode 100644 index 0000000..e28be04 --- /dev/null +++ b/sci-visualization/plots/Manifest @@ -0,0 +1,4 @@ +DIST plots-0.6.1.tar.gz 816362 BLAKE2B 0569b56319c258c8c4eaa1755639249bce8c633e4f64d5b0bc22f7972a90138b9f557bc2a1919285d864e2e7abed573ddda84f7cd82bd8dfb02be52bca1e8881 SHA512 641dbe09ef61de629990f0c892ff947d43ad3dc2385ec87340454f8da780b13d2e805c31eaf66060375bf9222bed29e5201b4474b8d38239e521b6636a588011 +EBUILD plots-0.6.1.ebuild 904 BLAKE2B 25a209a871b5d84f5d43ee480f8fdd1b7228031e7f7b756943076e6519226d0918dbc178c25012d6afbd7bb129a98636576069ae84f2fd2cbe70ce527a8443d4 SHA512 8483246e9289c6acc653f920430bcc50846369fcd27c0d8660fba4a3c3f6eb9a7d433c41c6b3ec90cbef56c5dc19b5823a6376a71e5254dcf5929f6dadd405ea +EBUILD plots-9999.ebuild 904 BLAKE2B 25a209a871b5d84f5d43ee480f8fdd1b7228031e7f7b756943076e6519226d0918dbc178c25012d6afbd7bb129a98636576069ae84f2fd2cbe70ce527a8443d4 SHA512 8483246e9289c6acc653f920430bcc50846369fcd27c0d8660fba4a3c3f6eb9a7d433c41c6b3ec90cbef56c5dc19b5823a6376a71e5254dcf5929f6dadd405ea +MISC metadata.xml 324 BLAKE2B 2ce3b06025a482512b009aca09ed4cd00652cf589f4254e40a7b3fde2cb0c1fe075a7b081f64aaf200903c28b326186fe6b48cde072812c835ff8ed18f260c36 SHA512 3f24074d387a3ec1e3187492c94c65f5c83947f046d5ab169604b34f1bdf62712f7f0002328ac81b526ebcf08ffb636ce473a41868f91f0d2ac322a7cdf4cbee diff --git a/sci-visualization/plots/metadata.xml b/sci-visualization/plots/metadata.xml new file mode 100644 index 0000000..83587de --- /dev/null +++ b/sci-visualization/plots/metadata.xml @@ -0,0 +1,11 @@ + + + + + flewkey@2a03.party + Ryan Fox + + + alexhuntley/Plots + + diff --git a/sci-visualization/plots/plots-0.6.1.ebuild b/sci-visualization/plots/plots-0.6.1.ebuild new file mode 100644 index 0000000..2ef6c7c --- /dev/null +++ b/sci-visualization/plots/plots-0.6.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6..9} ) +DISTUTILS_USE_SETUPTOOLS=bdepend + +inherit distutils-r1 + +if [[ ${PV} != *9999* ]]; then + SRC_URI="https://github.com/alexhuntley/Plots/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + MY_PN="Plots" + MY_P="${MY_PN}-${PV}" + S="${WORKDIR}/${MY_P}" +else + inherit git-r3 + EGIT_REPO_URI="https://github.com/alexhuntley/Plots.git" +fi + +DESCRIPTION="Graph plotting app for GNOME" +HOMEPAGE="https://github.com/alexhuntley/Plots" +LICENSE="GPL-3" +SLOT="0" + +RDEPEND=" + dev-python/freetype-py + dev-python/jinja + dev-python/lark-parser + dev-python/numpy + dev-python/pyglm + dev-python/pygobject + dev-python/pyopengl +" +BDEPEND="" + +src_prepare() { + default + sed -i "s/find_packages()/find_packages(exclude=['tests'])/" "${S}/setup.py" +} + +distutils_enable_tests pytest diff --git a/sci-visualization/plots/plots-9999.ebuild b/sci-visualization/plots/plots-9999.ebuild new file mode 100644 index 0000000..2ef6c7c --- /dev/null +++ b/sci-visualization/plots/plots-9999.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6..9} ) +DISTUTILS_USE_SETUPTOOLS=bdepend + +inherit distutils-r1 + +if [[ ${PV} != *9999* ]]; then + SRC_URI="https://github.com/alexhuntley/Plots/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + MY_PN="Plots" + MY_P="${MY_PN}-${PV}" + S="${WORKDIR}/${MY_P}" +else + inherit git-r3 + EGIT_REPO_URI="https://github.com/alexhuntley/Plots.git" +fi + +DESCRIPTION="Graph plotting app for GNOME" +HOMEPAGE="https://github.com/alexhuntley/Plots" +LICENSE="GPL-3" +SLOT="0" + +RDEPEND=" + dev-python/freetype-py + dev-python/jinja + dev-python/lark-parser + dev-python/numpy + dev-python/pyglm + dev-python/pygobject + dev-python/pyopengl +" +BDEPEND="" + +src_prepare() { + default + sed -i "s/find_packages()/find_packages(exclude=['tests'])/" "${S}/setup.py" +} + +distutils_enable_tests pytest