commit: 7db4fe8999d59beb815feb4bc58c5694c0fbe690 Author: brettalcox <brettalcox <AT> gmail <DOT> com> AuthorDate: Thu Oct 5 16:59:06 2023 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Thu Oct 5 16:59:06 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7db4fe89
net-libs/syndication-domination: adding 1.0 additionally, cleaned up the existing ebuild to properly (and conditionally) pull in python, and simplifying existing USE flags Signed-off-by: brettalcox <brettalcox <AT> gmail.com> net-libs/syndication-domination/Manifest | 2 ++ ...99.ebuild => syndication-domination-1.0.ebuild} | 25 ++++++++++++++++------ .../syndication-domination-9999.ebuild | 25 ++++++++++++++++------ 3 files changed, 40 insertions(+), 12 deletions(-) diff --git a/net-libs/syndication-domination/Manifest b/net-libs/syndication-domination/Manifest new file mode 100644 index 0000000000..2c595e0947 --- /dev/null +++ b/net-libs/syndication-domination/Manifest @@ -0,0 +1,2 @@ +DIST 75920321.patch 4208 BLAKE2B c24362cdc5f01858608476bddab3004f3acd9cc9a555ca52abedbeb009952f7a84db4e18db36c731fc2d6212f3cfa21cc9881b4b7472bb7465787b49f9bef7e3 SHA512 cbe5f1def629fe21f232566d8e812c4b8c48be4c5fb68b5c60b6c91ae49dde8cf561e14abb3b52b1ca9ad2560b921f3e834498d9d0c0eee198d7da60a689da4f +DIST syndication-domination-1.0.tar.bz2 46908 BLAKE2B cd7d70c61277e315fa03e16af5190c8b87140c8d5d80c3b58a0d7d2026403558b74be0a1cfb8e9c450204bb4842970844c308d33676a65e0f7cbbda77cf821f0 SHA512 6fa093144c6a86c6e81ad7530527d171dac8bc011f9aa2895b254eef8e288e251dfc9dab8d2fa598182df825b53cd8ef583736c8b6971375904543ab93d76b7e diff --git a/net-libs/syndication-domination/syndication-domination-9999.ebuild b/net-libs/syndication-domination/syndication-domination-1.0.ebuild similarity index 64% copy from net-libs/syndication-domination/syndication-domination-9999.ebuild copy to net-libs/syndication-domination/syndication-domination-1.0.ebuild index 92791e1b5f..8e62e74f78 100644 --- a/net-libs/syndication-domination/syndication-domination-9999.ebuild +++ b/net-libs/syndication-domination/syndication-domination-1.0.ebuild @@ -3,7 +3,9 @@ EAPI=8 -inherit meson +PYTHON_COMPAT=( python3_11 ) + +inherit meson python-single-r1 DESCRIPTION="An RSS/Atom parser, because there's nothing else out there." HOMEPAGE="https://gitlab.com/gabmus/syndication-domination" @@ -13,25 +15,36 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://gitlab.com/gabmus/syndication-domination.git" else KEYWORDS="~amd64" - SRC_URI="https://gitlab.com/gabmus/syndication-domination/-/archive/${PV}/${P}.tar.bz2" + SRC_URI=" + https://gitlab.com/gabmus/syndication-domination/-/archive/${PV}/${P}.tar.bz2 + https://gitlab.com/gabmus/syndication-domination/-/commit/75920321.patch + " + #required for gfeeds + PATCHES="${DISTDIR}/75920321.patch" fi LICENSE="AGPL-3" SLOT="0" IUSE="debug json-binary +python" REQUIRED_USE=" - ^^ ( python json-binary ) + python? ( ${PYTHON_REQUIRED_USE} ) + !python? ( json-binary ) " DEPEND=" app-text/htmltidy dev-libs/libfmt dev-libs/pugixml python? ( - >=dev-lang/python-3.11 - dev-python/pybind11 + $(python_gen_cond_dep ' + dev-python/cython[${PYTHON_USEDEP}] + ') ) + +" +RDEPEND=" + ${DEPEND} + python? ( ${PYTHON_DEPS} ) " -RDEPEND="${DEPEND}" BDEPEND="" src_configure() { diff --git a/net-libs/syndication-domination/syndication-domination-9999.ebuild b/net-libs/syndication-domination/syndication-domination-9999.ebuild index 92791e1b5f..8e62e74f78 100644 --- a/net-libs/syndication-domination/syndication-domination-9999.ebuild +++ b/net-libs/syndication-domination/syndication-domination-9999.ebuild @@ -3,7 +3,9 @@ EAPI=8 -inherit meson +PYTHON_COMPAT=( python3_11 ) + +inherit meson python-single-r1 DESCRIPTION="An RSS/Atom parser, because there's nothing else out there." HOMEPAGE="https://gitlab.com/gabmus/syndication-domination" @@ -13,25 +15,36 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://gitlab.com/gabmus/syndication-domination.git" else KEYWORDS="~amd64" - SRC_URI="https://gitlab.com/gabmus/syndication-domination/-/archive/${PV}/${P}.tar.bz2" + SRC_URI=" + https://gitlab.com/gabmus/syndication-domination/-/archive/${PV}/${P}.tar.bz2 + https://gitlab.com/gabmus/syndication-domination/-/commit/75920321.patch + " + #required for gfeeds + PATCHES="${DISTDIR}/75920321.patch" fi LICENSE="AGPL-3" SLOT="0" IUSE="debug json-binary +python" REQUIRED_USE=" - ^^ ( python json-binary ) + python? ( ${PYTHON_REQUIRED_USE} ) + !python? ( json-binary ) " DEPEND=" app-text/htmltidy dev-libs/libfmt dev-libs/pugixml python? ( - >=dev-lang/python-3.11 - dev-python/pybind11 + $(python_gen_cond_dep ' + dev-python/cython[${PYTHON_USEDEP}] + ') ) + +" +RDEPEND=" + ${DEPEND} + python? ( ${PYTHON_DEPS} ) " -RDEPEND="${DEPEND}" BDEPEND="" src_configure() {
