mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
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@gmail.com>
This commit is contained in:
2
net-libs/syndication-domination/Manifest
Normal file
2
net-libs/syndication-domination/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST 75920321.patch 4208 BLAKE2B c24362cdc5f01858608476bddab3004f3acd9cc9a555ca52abedbeb009952f7a84db4e18db36c731fc2d6212f3cfa21cc9881b4b7472bb7465787b49f9bef7e3 SHA512 cbe5f1def629fe21f232566d8e812c4b8c48be4c5fb68b5c60b6c91ae49dde8cf561e14abb3b52b1ca9ad2560b921f3e834498d9d0c0eee198d7da60a689da4f
|
||||
DIST syndication-domination-1.0.tar.bz2 46908 BLAKE2B cd7d70c61277e315fa03e16af5190c8b87140c8d5d80c3b58a0d7d2026403558b74be0a1cfb8e9c450204bb4842970844c308d33676a65e0f7cbbda77cf821f0 SHA512 6fa093144c6a86c6e81ad7530527d171dac8bc011f9aa2895b254eef8e288e251dfc9dab8d2fa598182df825b53cd8ef583736c8b6971375904543ab93d76b7e
|
||||
@@ -0,0 +1,67 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
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"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
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
|
||||
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? ( ${PYTHON_REQUIRED_USE} )
|
||||
!python? ( json-binary )
|
||||
"
|
||||
DEPEND="
|
||||
app-text/htmltidy
|
||||
dev-libs/libfmt
|
||||
dev-libs/pugixml
|
||||
python? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
BDEPEND=""
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
--buildtype $(usex debug debug release)
|
||||
--prefix=/usr
|
||||
-DHTML_SUPPORT=true
|
||||
$(meson_use python PYTHON_BINDINGS)
|
||||
$(meson_use json-binary TO_JSON_BINARY)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
meson_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
}
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user