diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2020-06-25 08:17:21 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2020-06-25 08:17:50 +0200 |
commit | 9ec66d490fdb2b0e87b8adb985b61e014cb2232f (patch) | |
tree | 467c8a932fae4827ce833f14ab4ff2997f4deb18 | |
parent | games-misc/usolitaire: new ebuild. (diff) | |
download | gentoo-9ec66d490fdb2b0e87b8adb985b61e014cb2232f.tar.gz gentoo-9ec66d490fdb2b0e87b8adb985b61e014cb2232f.tar.bz2 gentoo-9ec66d490fdb2b0e87b8adb985b61e014cb2232f.zip |
media-gfx/netpaint: new ebuild.
NetPaint is a cursed-based drawing tool, akin to the good old Paint on
Windows or GIMP on Linux. Very fun to play with!
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
-rw-r--r-- | media-gfx/netpaint/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/netpaint/metadata.xml | 12 | ||||
-rw-r--r-- | media-gfx/netpaint/netpaint-1.1.2.ebuild | 36 |
3 files changed, 49 insertions, 0 deletions
diff --git a/media-gfx/netpaint/Manifest b/media-gfx/netpaint/Manifest new file mode 100644 index 000000000000..d0d25bc2d29b --- /dev/null +++ b/media-gfx/netpaint/Manifest @@ -0,0 +1 @@ +DIST netpaint-1.1.2.tar.gz 427241 BLAKE2B 7884dadf63849bf45caf84bc009da818bdf3277660411c486b32333bf0caf9e0e03ab6f56f77add68456896e4d16520b803c51e19c4dc6b01ef1227f0bd90a28 SHA512 f998714fe176c84074aaa710e2950c83d5c3ac0819e69c6bbbd93e19f6415a66f8ef21e0799d3112a7c468c1a99383a878ac1837157b079089aaf072c664ee53 diff --git a/media-gfx/netpaint/metadata.xml b/media-gfx/netpaint/metadata.xml new file mode 100644 index 000000000000..b09023bbc390 --- /dev/null +++ b/media-gfx/netpaint/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>monsieurp@gentoo.org</email> + <name>Patrice Clement</name> + </maintainer> + <maintainer type="project"> + <email>shell-tools@gentoo.org</email> + <name>Gentoo Shell Tools Project</name> + </maintainer> +</pkgmetadata> diff --git a/media-gfx/netpaint/netpaint-1.1.2.ebuild b/media-gfx/netpaint/netpaint-1.1.2.ebuild new file mode 100644 index 000000000000..36c3bcd4fe2a --- /dev/null +++ b/media-gfx/netpaint/netpaint-1.1.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="curses-based drawing tool" +HOMEPAGE="https://github.com/SyntheticDreams/NetPaint" +SRC_URI="https://github.com/SyntheticDreams/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +MY_PN="NetPaint" +MY_P="${MY_PN}-${PV}" + +RDEPEND=" + dev-python/urwid[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}]" + +DEPEND=" + ${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + mv netpaint.py netpaint || die + sed -e 's#netpaint\.py#netpaint#g;' \ + -i setup.py || die "can't patch setup.py" +} |