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 647EA138334 for ; Thu, 19 Dec 2019 15:42:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9FC31E0900; Thu, 19 Dec 2019 15:42:00 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 775ABE0900 for ; Thu, 19 Dec 2019 15:42:00 +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 00D1E34D289 for ; Thu, 19 Dec 2019 15:41:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6DCDC8A8 for ; Thu, 19 Dec 2019 15:41:57 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1576770106.b6ad0c68751d3900e8a3aa5b99f065e24d7869e8.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/sigil/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/sigil/Manifest app-text/sigil/sigil-1.0.0.ebuild X-VCS-Directories: app-text/sigil/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: b6ad0c68751d3900e8a3aa5b99f065e24d7869e8 X-VCS-Branch: master Date: Thu, 19 Dec 2019 15:41: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: d83ed172-2a7d-4c88-9c53-313a60d05dea X-Archives-Hash: 77958f204be7028e37e774a581db06a9 commit: b6ad0c68751d3900e8a3aa5b99f065e24d7869e8 Author: Zamarin Arthur gmail com> AuthorDate: Wed Dec 18 08:26:58 2019 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Thu Dec 19 15:41:46 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6ad0c68 app-text/sigil: bump v1.0.0 - use new PYTHON_MULTI_USEDEP API - remove unneeded dev-libs/boost and dev-libs/xerces-c dependency - remove readme.gentoo file as the notice is no longer needed Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Zamarin Arthur gmail.com> Closes: https://github.com/gentoo/gentoo/pull/14035 Signed-off-by: Joonas Niilola gentoo.org> app-text/sigil/Manifest | 1 + app-text/sigil/sigil-1.0.0.ebuild | 83 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) diff --git a/app-text/sigil/Manifest b/app-text/sigil/Manifest index d7d3abe4e75..16729427439 100644 --- a/app-text/sigil/Manifest +++ b/app-text/sigil/Manifest @@ -1,3 +1,4 @@ DIST Sigil-0.9.13.tar.gz 18235134 BLAKE2B 4afe0f0258a8c1056029534ec696372e40343b9a398b612ee32fe95a3d417594bcc6782a4e6447323d67e84db5193756ff7c8756e160c432678ebc59ddeab706 SHA512 cafc6b075827239b73e80d3efa02e4e77d5903fed1faf8b600f70b178fb0c248c38d43e115f249124859edc12ddd8caf199ef0b0d05f20852eb060b27e5a3578 DIST sigil-0.9.16.tar.gz 21241424 BLAKE2B 1e784768cfe98e08ac01f5a9c11ec8254f9a0211f69ee1eb479643cc83677f6fea43745bcb158ea178ac64eec87c2e0062e783af2fe7477e2e5e8faf4db24c46 SHA512 45358912527484a7c580db34733d30927938443096fbf23e969d966e140a20607a4d98e086149a5eeb620f2462efc9abd531988c1b5cd93c373e747d5e5cd20a DIST sigil-0.9.18.tar.gz 21396185 BLAKE2B a20a1465032371f9d7e567fff03c859adf4bd2264e9d803efeb3bdeb3b097eca826daa36824370848aea50fffb2b2b74b28568f7dca926565dfd0948d7ade030 SHA512 a8f669ffb76554268aae8aa0f85c6861f80def71e429b44b20ac9b231f3f7584839a82e7b6991f57ca1f2d1f023e24d1f37897bd048379e30565e9bdd7ee188a +DIST sigil-1.0.0.tar.gz 21623303 BLAKE2B 5772316d3ffc78387f7fb9db1e88397756bf82c25513246033fe71f288d619844e9316f43b7f08b914e4f59912e42eea061079cd4b468de77087bf7a8ea46be0 SHA512 7fc440131fcdd9af60b10f703dcdaf946ac6c667cabbfc842addd68c6c9af35fc8808630a6cfee6db465e7faeec6a6b4f2c6bbe185426a0f845e47c16b02d7d1 diff --git a/app-text/sigil/sigil-1.0.0.ebuild b/app-text/sigil/sigil-1.0.0.ebuild new file mode 100644 index 00000000000..60813fbd7a9 --- /dev/null +++ b/app-text/sigil/sigil-1.0.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7} ) +PYTHON_REQ_USE="tk" + +inherit cmake-utils python-single-r1 xdg-utils + +DESCRIPTION="Multi-platform WYSIWYG ebook editor for ePub format" +HOMEPAGE="https://sigil-ebook.com/ https://github.com/Sigil-Ebook/Sigil" +SRC_URI="https://github.com/Sigil-Ebook/Sigil/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+ Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+plugins system-mathjax" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + app-text/hunspell:= + dev-libs/libpcre:3=[pcre16] + $(python_gen_cond_dep \ + 'dev-python/css-parser[${PYTHON_MULTI_USEDEP}] + dev-python/lxml[${PYTHON_MULTI_USEDEP}] + dev-python/six[${PYTHON_MULTI_USEDEP}]') + >=dev-qt/qtconcurrent-5.12:5 + >=dev-qt/qtcore-5.12:5 + >=dev-qt/qtgui-5.12:5 + >=dev-qt/qtprintsupport-5.12:5 + >=dev-qt/qtwebengine-5.12:5[widgets] + >=dev-qt/qtwidgets-5.12:5 + sys-libs/zlib[minizip] + plugins? ( $(python_gen_cond_dep \ + 'dev-python/chardet[${PYTHON_MULTI_USEDEP}] + dev-python/cssselect[${PYTHON_MULTI_USEDEP}] + dev-python/cssutils[${PYTHON_MULTI_USEDEP}] + dev-python/html5lib[${PYTHON_MULTI_USEDEP}] + dev-python/pillow[${PYTHON_MULTI_USEDEP}] + dev-python/regex[${PYTHON_MULTI_USEDEP}]') ) + system-mathjax? ( dev-libs/mathjax ) +" +DEPEND="${RDEPEND}" + +BDEPEND=" + dev-qt/linguist-tools:5 + virtual/pkgconfig +" + +S="${WORKDIR}/Sigil-${PV}" + +DOCS=( ChangeLog.txt README.md ) + +src_configure() { + python_export PYTHON_LIBPATH PYTHON_INCLUDEDIR + local mycmakeargs=( + -DINSTALL_BUNDLED_DICTS=0 + -DUSE_SYSTEM_LIBS=1 + -DSYSTEM_LIBS_REQUIRED=1 + -DPYTHON_EXECUTABLE="${PYTHON}" + -DPYTHON_LIBRARY="${PYTHON_LIBPATH}" + -DPYTHON_INCLUDE_DIR="${PYTHON_INCLUDEDIR}" + ) + use system-mathjax && mycmakeargs+=( -DMATHJAX_DIR="${EPREFIX}"/usr/share/mathjax ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + python_fix_shebang "${ED}"/usr/share/sigil/ + python_optimize "${ED}"/usr/share/sigil/ +} + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +}