From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B970713835C for ; Sun, 16 Aug 2020 20:06:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 025A2E0835; Sun, 16 Aug 2020 20:06:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B8456E0891 for ; Sun, 16 Aug 2020 20:06:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5F75334F33E for ; Sun, 16 Aug 2020 20:06:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8CD9731C for ; Sun, 16 Aug 2020 19:48:57 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1597607322.2b51ea3a2a46efbfafb80a2d8a62f5d678d5f57d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/mypaint/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/mypaint/Manifest media-gfx/mypaint/mypaint-2.0.1.ebuild X-VCS-Directories: media-gfx/mypaint/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 2b51ea3a2a46efbfafb80a2d8a62f5d678d5f57d X-VCS-Branch: master Date: Sun, 16 Aug 2020 19:48:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 349fb435-1344-439a-8524-6e79c44593a6 X-Archives-Hash: 3defb5952ef62b5634ccb37a726d9210 commit: 2b51ea3a2a46efbfafb80a2d8a62f5d678d5f57d Author: Sam James gentoo org> AuthorDate: Sun Aug 16 19:48:42 2020 +0000 Commit: Sam James gentoo org> CommitDate: Sun Aug 16 19:48:42 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b51ea3a media-gfx/mypaint: bump to 2.0.1 Bug: https://bugs.gentoo.org/735374 Bug: https://bugs.gentoo.org/708500 Bug: https://bugs.gentoo.org/701098 Closes: https://bugs.gentoo.org/701104 Closes: https://bugs.gentoo.org/701078 Closes: https://bugs.gentoo.org/662562 Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Sam James gentoo.org> media-gfx/mypaint/Manifest | 1 + media-gfx/mypaint/mypaint-2.0.1.ebuild | 77 ++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/media-gfx/mypaint/Manifest b/media-gfx/mypaint/Manifest index 190d7a1c477..4dd29e8dea2 100644 --- a/media-gfx/mypaint/Manifest +++ b/media-gfx/mypaint/Manifest @@ -1 +1,2 @@ DIST mypaint-1.2.1.tar.xz 37897196 BLAKE2B 2d8f6b03f710febae1c2d617a6e542543786be384585ae8a973604da2eba8a0fb770d185aa3d2dfc6f794adf29ffb9c217356a96ab27d677ebb57816f62fae9c SHA512 1783765e495b9535669a83a29d27ba684e6201fdfe0875bdd2c167b1dab8af05993b19025767fe0b2770ed9e578e4709f75d8a4820ac945812cba85609f9eb9b +DIST mypaint-2.0.1.tar.xz 7295048 BLAKE2B 813a939f95ea6887c57d8c0868e33e9bc8b1b95746d5ecd793d4fd13a32198ee5a445cfdd2691a15e944bfb0099d6ac624dff320ae29465db5b1e0d197bedb30 SHA512 449beddcc6da5d720c9efbeac94a466ed0057bd1962d42ebb419190e8b7fd8ffd341327408467fc5da47920f9d0da1fd6d78233a0dda88de5f5d52d53d9ab562 diff --git a/media-gfx/mypaint/mypaint-2.0.1.ebuild b/media-gfx/mypaint/mypaint-2.0.1.ebuild new file mode 100644 index 00000000000..cb35547d5db --- /dev/null +++ b/media-gfx/mypaint/mypaint-2.0.1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit desktop distutils-r1 gnome2-utils xdg xdg-utils + +DESCRIPTION="fast and easy graphics application for digital painters" +HOMEPAGE="http://mypaint.org/" +SRC_URI="https://github.com/mypaint/${PN}/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +LANGS="cs de en_CA en_GB es fr hu id it ja ko nb nn_NO pl pt_BR ro ru sl sv uk zh_CN zh_TW" + +BDEPEND=" + dev-lang/swig + sys-devel/gettext + virtual/pkgconfig +" +RDEPEND=" + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + >=dev-python/pycairo-1.4[${PYTHON_USEDEP}] + dev-python/protobuf-python[${PYTHON_USEDEP}] + ') + >=dev-libs/json-c-0.11:= + gnome-base/librsvg + media-gfx/mypaint-brushes:2.0 + media-libs/lcms:2 + >=media-libs/libmypaint-1.5.0 + media-libs/libpng:0= + sys-devel/gettext + sys-libs/libomp + x11-libs/gtk+:3 +" +DEPEND="${RDEPEND}" + +# Need to poke at failing tests +# Dying on a numpy assert +RESTRICT="test" + +distutils_enable_tests setup.py + +src_install() { + distutils-r1_src_install + + newicon pixmaps/${PN}_logo.png ${PN}.png + + local lang= + for lang in ${LANGS}; do + if ! has ${lang} ${LINGUAS}; then + rm -rf "${ED}"/usr/share/locale/${lang} || die + fi + done +} + +pkg_preinst() { + xdg_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + xdg_pkg_postinst + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_pkg_postrm + xdg_mimeinfo_database_update +}