From 463397cf1e064185110fe57c568d73f99a06f5d1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 17 Feb 2021 10:35:54 +0000 Subject: gentoo resync : 17.02.2021 --- app-text/cherrytree/Manifest | 4 +- .../cherrytree-0.99.0_p20200523-r1.ebuild | 97 ++++++++++++++++++++++ .../cherrytree/cherrytree-0.99.0_p20200523.ebuild | 97 ---------------------- app-text/cherrytree/cherrytree-9999.ebuild | 4 +- 4 files changed, 101 insertions(+), 101 deletions(-) create mode 100644 app-text/cherrytree/cherrytree-0.99.0_p20200523-r1.ebuild delete mode 100644 app-text/cherrytree/cherrytree-0.99.0_p20200523.ebuild (limited to 'app-text/cherrytree') diff --git a/app-text/cherrytree/Manifest b/app-text/cherrytree/Manifest index 9fbd866a67a1..a1e029c748fa 100644 --- a/app-text/cherrytree/Manifest +++ b/app-text/cherrytree/Manifest @@ -1,4 +1,4 @@ DIST cherrytree-0.99.0_p20200523.tar.gz 10452221 BLAKE2B cbac9b5b1c4fc1454d229a56784a59f1622b134d640db720e496cc0f1b4f95ee097343572f33d8b0626903f58ae188e8b85065144fcad8c647732e7eddadd0b9 SHA512 4eb142368bd1d3838879669d5bf1742689b02f08f50edd51a6fa6f22fef83d0f1871147aca3c346e9fcd1193c3f494e112cdc9e10eda4b3124587f605f89cc54 -EBUILD cherrytree-0.99.0_p20200523.ebuild 2084 BLAKE2B 905996191f12009b0dcb8b5064afcadeeb6bafac1a21f197d9461cf8349cf99529f1a0e3a49faffc430fd03d9431f32128dc196635609625e030c364ad9652d5 SHA512 084faf24287e7ec8c80b7a8ecb91b80978da0ce6df012153692ce1b2b9ba084c2f4e1b8e73ef775552752e759a7c5d4e08ad04b3946bcdd3efb4162fc678c211 -EBUILD cherrytree-9999.ebuild 2084 BLAKE2B 905996191f12009b0dcb8b5064afcadeeb6bafac1a21f197d9461cf8349cf99529f1a0e3a49faffc430fd03d9431f32128dc196635609625e030c364ad9652d5 SHA512 084faf24287e7ec8c80b7a8ecb91b80978da0ce6df012153692ce1b2b9ba084c2f4e1b8e73ef775552752e759a7c5d4e08ad04b3946bcdd3efb4162fc678c211 +EBUILD cherrytree-0.99.0_p20200523-r1.ebuild 2088 BLAKE2B ba7d653c4736c3efcdfab9c02bcd5179fc5d15915106b33cd93448e5acb1520822ea6751b60b86820fa38fcd1d573efaa19c4cb7d0802fe1b949bc7a4da18809 SHA512 3f350c0d1f0a7f1ef337d6947775846cab20a829b201c0a003daf861ee355a7b4a32b3f2162dbba82c3881631f7b8e1bb8ba4ee6853fc6ae38e75a4631e7f85a +EBUILD cherrytree-9999.ebuild 2088 BLAKE2B ba7d653c4736c3efcdfab9c02bcd5179fc5d15915106b33cd93448e5acb1520822ea6751b60b86820fa38fcd1d573efaa19c4cb7d0802fe1b949bc7a4da18809 SHA512 3f350c0d1f0a7f1ef337d6947775846cab20a829b201c0a003daf861ee355a7b4a32b3f2162dbba82c3881631f7b8e1bb8ba4ee6853fc6ae38e75a4631e7f85a MISC metadata.xml 444 BLAKE2B d40087a12c79b778c4af5cd9b7eea1299941df716a11351acb087ad6ff3bc64e271bc54014b4fd9402fc679cd15d63a91ab5c1b8a838a9203b463e0ed21e4b60 SHA512 f3a43e7c407bbc442b165e5fe5401a1a0090f925bfb34b1e1fb6e46a068c274c5202f32f5e733b8abcfbee33e59677cd0b85017fc544f5fc1cfb7a0ea5156448 diff --git a/app-text/cherrytree/cherrytree-0.99.0_p20200523-r1.ebuild b/app-text/cherrytree/cherrytree-0.99.0_p20200523-r1.ebuild new file mode 100644 index 000000000000..55a62632c259 --- /dev/null +++ b/app-text/cherrytree/cherrytree-0.99.0_p20200523-r1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..8} ) + +inherit cmake python-any-r1 xdg-utils + +DESCRIPTION="A hierarchical note taking application (C++ version)" +HOMEPAGE="https://www.giuspen.com/cherrytree https://github.com/giuspen/cherrytree" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/giuspen/cherrytree" + S="${WORKDIR}/${P}/future" +else + COMMIT="074a09ce3c1130ec60f5f5a3b8be958337b6d5ab" # 20200523 + SRC_URI="https://github.com/giuspen/cherrytree/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PN}-${COMMIT}/future" +fi + +# GPL-3 — future/src/ct (CherryTree) +# LGPL-2.1 — future/src/7za (7zip) +# MIT — future/src/fmt (libfmt) +LICENSE="GPL-3 LGPL-2.1 MIT" +SLOT="0" +IUSE="nls test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + app-text/gspell:= + dev-libs/glib:2 + >=dev-cpp/glibmm-2.64.2:2 + dev-cpp/gtkmm:3.0 + dev-cpp/gtksourceviewmm:3.0 + dev-libs/libxml2:2 + dev-cpp/libxmlpp:2.6 + dev-cpp/pangomm:1.4 + dev-db/sqlite:3" +DEPEND="${RDEPEND} + $(python_gen_any_dep 'dev-python/lxml[${PYTHON_USEDEP}]')" +BDEPEND="${PYTHON_DEPS} + virtual/pkgconfig + nls? ( + dev-util/intltool + sys-devel/gettext + ) + test? ( dev-util/cpputest )" + +pkg_setup() { + python-any-r1_pkg_setup +} + +python_check_deps() { + has_version "dev-python/lxml[${PYTHON_USEDEP}]" +} + +src_prepare() { + # disable compress man pages + sed -i -e \ + '/install(FILES/s|${MANFILE_FULL_GZ}|${CMAKE_SOURCE_DIR}/data/cherrytree.1|' \ + CMakeLists.txt || die + + if [[ ${PV} != *9999 ]]; then + sed -i \ + -e "/^set(CT_VERSION/s|\"\(.*\)\"|\"${PV}\"|" \ + CMakeLists.txt || die + fi + + python_fix_shebang . + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DPYTHON_EXEC="${PYTHON}" + -DUSE_NLS=$(usex nls) + -DBUILD_TESTING=$(usex test) + ) + + cmake_src_configure +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_mimeinfo_database_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_mimeinfo_database_update + xdg_desktop_database_update +} diff --git a/app-text/cherrytree/cherrytree-0.99.0_p20200523.ebuild b/app-text/cherrytree/cherrytree-0.99.0_p20200523.ebuild deleted file mode 100644 index a828bbf09173..000000000000 --- a/app-text/cherrytree/cherrytree-0.99.0_p20200523.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..8} ) - -inherit cmake python-any-r1 xdg-utils - -DESCRIPTION="A hierarchical note taking application (C++ version)" -HOMEPAGE="https://www.giuspen.com/cherrytree https://github.com/giuspen/cherrytree" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/giuspen/cherrytree" - S="${WORKDIR}/${P}/future" -else - COMMIT="074a09ce3c1130ec60f5f5a3b8be958337b6d5ab" # 20200523 - SRC_URI="https://github.com/giuspen/cherrytree/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/${PN}-${COMMIT}/future" -fi - -# GPL-3 — future/src/ct (CherryTree) -# LGPL-2.1 — future/src/7za (7zip) -# MIT — future/src/fmt (libfmt) -LICENSE="GPL-3 LGPL-2.1 MIT" -SLOT="0" -IUSE="nls test" - -RESTRICT="!test? ( test )" - -RDEPEND=" - app-text/gspell:= - dev-libs/glib:2 - >=dev-cpp/glibmm-2.64.2:2 - dev-cpp/gtkmm:3.0 - dev-cpp/gtksourceviewmm:3.0 - dev-libs/libxml2:2 - dev-cpp/libxmlpp:2.6 - dev-cpp/pangomm - dev-db/sqlite:3" -DEPEND="${RDEPEND} - $(python_gen_any_dep 'dev-python/lxml[${PYTHON_USEDEP}]')" -BDEPEND="${PYTHON_DEPS} - virtual/pkgconfig - nls? ( - dev-util/intltool - sys-devel/gettext - ) - test? ( dev-util/cpputest )" - -pkg_setup() { - python-any-r1_pkg_setup -} - -python_check_deps() { - has_version "dev-python/lxml[${PYTHON_USEDEP}]" -} - -src_prepare() { - # disable compress man pages - sed -i -e \ - '/install(FILES/s|${MANFILE_FULL_GZ}|${CMAKE_SOURCE_DIR}/data/cherrytree.1|' \ - CMakeLists.txt || die - - if [[ ${PV} != *9999 ]]; then - sed -i \ - -e "/^set(CT_VERSION/s|\"\(.*\)\"|\"${PV}\"|" \ - CMakeLists.txt || die - fi - - python_fix_shebang . - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DPYTHON_EXEC="${PYTHON}" - -DUSE_NLS=$(usex nls) - -DBUILD_TESTING=$(usex test) - ) - - cmake_src_configure -} - -pkg_postinst() { - xdg_icon_cache_update - xdg_mimeinfo_database_update - xdg_desktop_database_update -} - -pkg_postrm() { - xdg_icon_cache_update - xdg_mimeinfo_database_update - xdg_desktop_database_update -} diff --git a/app-text/cherrytree/cherrytree-9999.ebuild b/app-text/cherrytree/cherrytree-9999.ebuild index a828bbf09173..55a62632c259 100644 --- a/app-text/cherrytree/cherrytree-9999.ebuild +++ b/app-text/cherrytree/cherrytree-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -38,7 +38,7 @@ RDEPEND=" dev-cpp/gtksourceviewmm:3.0 dev-libs/libxml2:2 dev-cpp/libxmlpp:2.6 - dev-cpp/pangomm + dev-cpp/pangomm:1.4 dev-db/sqlite:3" DEPEND="${RDEPEND} $(python_gen_any_dep 'dev-python/lxml[${PYTHON_USEDEP}]')" -- cgit v1.2.3