[gentoo-commits] repo/proj/guru:dev commit in: net-libs/syndication-domination/

2024-03-24 Thread Julien Roy
commit: 846f5a8833347f806f9eb995b259c315914573dc
Author: Julien Roy  jroy  ca>
AuthorDate: Sun Mar 24 14:37:33 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sun Mar 24 14:37:33 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=846f5a88

net-libs/syndication-domination: Re-implement changes from previous commit

Signed-off-by: Julien Roy  jroy.ca>

 net-libs/syndication-domination/syndication-domination-1.0-r1.ebuild | 5 ++---
 net-libs/syndication-domination/syndication-domination-.ebuild   | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git 
a/net-libs/syndication-domination/syndication-domination-1.0-r1.ebuild 
b/net-libs/syndication-domination/syndication-domination-1.0-r1.ebuild
index caaa6164f4..a783d9ad97 100644
--- a/net-libs/syndication-domination/syndication-domination-1.0-r1.ebuild
+++ b/net-libs/syndication-domination/syndication-domination-1.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_11 python3_12 )
+PYTHON_COMPAT=( python3_{11..12} )
 
 inherit meson python-single-r1
 
@@ -43,7 +43,6 @@ RDEPEND="
${DEPEND}
python? ( ${PYTHON_DEPS} )
 "
-BDEPEND=""
 
 src_configure() {
EMESON_BUILDTYPE=$(usex debug debug release)

diff --git a/net-libs/syndication-domination/syndication-domination-.ebuild 
b/net-libs/syndication-domination/syndication-domination-.ebuild
index 25c303657d..0b840682a3 100644
--- a/net-libs/syndication-domination/syndication-domination-.ebuild
+++ b/net-libs/syndication-domination/syndication-domination-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_11 python3_12 )
+PYTHON_COMPAT=( python3_{11..12} )
 
 inherit meson python-single-r1
 
@@ -43,7 +43,6 @@ RDEPEND="
${DEPEND}
python? ( ${PYTHON_DEPS} )
 "
-BDEPEND=""
 
 src_configure() {
EMESON_BUILDTYPE=$(usex debug debug release)



[gentoo-commits] repo/proj/guru:dev commit in: net-libs/syndication-domination/

2024-03-23 Thread Brett Alcox
commit: e6477015d3611c3c39c96c2bcd376f7342e98e8f
Author: brettalcox  gmail  com>
AuthorDate: Sun Mar 24 01:05:50 2024 +
Commit: Brett Alcox  gmail  com>
CommitDate: Sun Mar 24 01:05:50 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e6477015

net-libs/syndication-domination: 1.0 /  fixup

Signed-off-by: brettalcox  gmail.com>

 net-libs/syndication-domination/metadata.xml   |  6 +-
 ...ination-1.0.ebuild => syndication-domination-1.0-r1.ebuild} | 10 ++
 .../syndication-domination/syndication-domination-.ebuild  |  6 --
 3 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/net-libs/syndication-domination/metadata.xml 
b/net-libs/syndication-domination/metadata.xml
index cc054d2618..81cf0cee77 100644
--- a/net-libs/syndication-domination/metadata.xml
+++ b/net-libs/syndication-domination/metadata.xml
@@ -4,16 +4,12 @@

brettal...@gmail.com

-   
-   Julien Roy
-   jul...@jroy.ca
-   

GabMus/syndication-domination



-   Builds a binary executable instead of python bindings
+   Builds a binary executable instead of python bindings 


 

diff --git a/net-libs/syndication-domination/syndication-domination-1.0.ebuild 
b/net-libs/syndication-domination/syndication-domination-1.0-r1.ebuild
similarity index 86%
rename from net-libs/syndication-domination/syndication-domination-1.0.ebuild
rename to net-libs/syndication-domination/syndication-domination-1.0-r1.ebuild
index 9c6ee2301f..caaa6164f4 100644
--- a/net-libs/syndication-domination/syndication-domination-1.0.ebuild
+++ b/net-libs/syndication-domination/syndication-domination-1.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2023-2024 Gentoo Authors
+# Copyright 2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{11..12} )
+PYTHON_COMPAT=( python3_11 python3_12 )
 
 inherit meson python-single-r1
 
@@ -22,7 +22,7 @@ fi
 
 LICENSE="AGPL-3"
 SLOT="0"
-IUSE="json-binary +python"
+IUSE="debug json-binary +python"
 REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
!python? ( json-binary )
@@ -43,9 +43,11 @@ RDEPEND="
${DEPEND}
python? ( ${PYTHON_DEPS} )
 "
+BDEPEND=""
 
 src_configure() {
-   local emesonargs=(
+   EMESON_BUILDTYPE=$(usex debug debug release)
+   local emesonarge=(
--prefix=/usr
-DHTML_SUPPORT=true
$(meson_use python PYTHON_BINDINGS)

diff --git a/net-libs/syndication-domination/syndication-domination-.ebuild 
b/net-libs/syndication-domination/syndication-domination-.ebuild
index c3e7342e24..25c303657d 100644
--- a/net-libs/syndication-domination/syndication-domination-.ebuild
+++ b/net-libs/syndication-domination/syndication-domination-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2023-2024 Gentoo Authors
+# Copyright 2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{11..12} )
+PYTHON_COMPAT=( python3_11 python3_12 )
 
 inherit meson python-single-r1
 
@@ -43,8 +43,10 @@ RDEPEND="
${DEPEND}
python? ( ${PYTHON_DEPS} )
 "
+BDEPEND=""
 
 src_configure() {
+   EMESON_BUILDTYPE=$(usex debug debug release)
local emesonargs=(
--prefix=/usr
-DHTML_SUPPORT=true



[gentoo-commits] repo/proj/guru:dev commit in: net-libs/syndication-domination/

2024-03-11 Thread Julien Roy
commit: e717e87dd0c290d5c34c7e99236ffc99eaac270d
Author: Julien Roy  jroy  ca>
AuthorDate: Mon Mar 11 22:56:29 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Mon Mar 11 23:01:22 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e717e87d

net-libs/syndication-domination: enable py3.12

Signed-off-by: Julien Roy  jroy.ca>

 net-libs/syndication-domination/syndication-domination-.ebuild | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/net-libs/syndication-domination/syndication-domination-.ebuild 
b/net-libs/syndication-domination/syndication-domination-.ebuild
index c2c3fdbc37..c3e7342e24 100644
--- a/net-libs/syndication-domination/syndication-domination-.ebuild
+++ b/net-libs/syndication-domination/syndication-domination-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_11 )
+PYTHON_COMPAT=( python3_{11..12} )
 
 inherit meson python-single-r1
 
@@ -43,11 +43,9 @@ 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)



[gentoo-commits] repo/proj/guru:dev commit in: net-libs/syndication-domination/

2024-03-11 Thread Julien Roy
commit: fa8d3a3a9f562b9201c316de60a88017e40468e1
Author: Julien Roy  jroy  ca>
AuthorDate: Mon Mar 11 22:57:19 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Mon Mar 11 23:01:22 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fa8d3a3a

net-libs/syndication-domination: add myself as a maintainer

Signed-off-by: Julien Roy  jroy.ca>

 net-libs/syndication-domination/metadata.xml | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/net-libs/syndication-domination/metadata.xml 
b/net-libs/syndication-domination/metadata.xml
index 81cf0cee77..cc054d2618 100644
--- a/net-libs/syndication-domination/metadata.xml
+++ b/net-libs/syndication-domination/metadata.xml
@@ -4,12 +4,16 @@

brettal...@gmail.com

+   
+   Julien Roy
+   jul...@jroy.ca
+   

GabMus/syndication-domination



-   Builds a binary executable instead of python bindings 
+   Builds a binary executable instead of python bindings


 



[gentoo-commits] repo/proj/guru:dev commit in: net-libs/syndication-domination/

2024-03-11 Thread Julien Roy
commit: d6a4554c2be50b7f844ff7326775ff5fd05497af
Author: Julien Roy  jroy  ca>
AuthorDate: Mon Mar 11 22:56:06 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Mon Mar 11 23:01:21 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d6a4554c

net-libs/syndication-domination: enable py3.12

Signed-off-by: Julien Roy  jroy.ca>

 net-libs/syndication-domination/syndication-domination-1.0.ebuild | 8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/net-libs/syndication-domination/syndication-domination-1.0.ebuild 
b/net-libs/syndication-domination/syndication-domination-1.0.ebuild
index c2c3fdbc37..9c6ee2301f 100644
--- a/net-libs/syndication-domination/syndication-domination-1.0.ebuild
+++ b/net-libs/syndication-domination/syndication-domination-1.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_11 )
+PYTHON_COMPAT=( python3_{11..12} )
 
 inherit meson python-single-r1
 
@@ -22,7 +22,7 @@ fi
 
 LICENSE="AGPL-3"
 SLOT="0"
-IUSE="debug json-binary +python"
+IUSE="json-binary +python"
 REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
!python? ( json-binary )
@@ -43,11 +43,9 @@ 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)



[gentoo-commits] repo/proj/guru:dev commit in: net-libs/syndication-domination/files/, net-libs/syndication-domination/

2023-10-05 Thread Brett Alcox
commit: 9b009438dd9eeb8bf99e0059d0ac6d3213d7793a
Author: brettalcox  gmail  com>
AuthorDate: Thu Oct  5 19:43:58 2023 +
Commit: Brett Alcox  gmail  com>
CommitDate: Thu Oct  5 19:47:37 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9b009438

net-libs/syndication-domination: update SRC_URI

Signed-off-by: brettalcox  gmail.com>

 net-libs/syndication-domination/Manifest   |   1 -
 .../gfeeds-2.2.0-blueprint-compiler-fix.patch  | 106 +
 .../syndication-domination-1.0.ebuild  |   7 +-
 .../syndication-domination-.ebuild |   7 +-
 4 files changed, 110 insertions(+), 11 deletions(-)

diff --git a/net-libs/syndication-domination/Manifest 
b/net-libs/syndication-domination/Manifest
index 2c595e0947..7c08f10971 100644
--- a/net-libs/syndication-domination/Manifest
+++ b/net-libs/syndication-domination/Manifest
@@ -1,2 +1 @@
-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/files/gfeeds-2.2.0-blueprint-compiler-fix.patch
 
b/net-libs/syndication-domination/files/gfeeds-2.2.0-blueprint-compiler-fix.patch
new file mode 100644
index 00..b8258dfa04
--- /dev/null
+++ 
b/net-libs/syndication-domination/files/gfeeds-2.2.0-blueprint-compiler-fix.patch
@@ -0,0 +1,106 @@
+From 75920321062d682437f3fb0319dad227d8b18f6c Mon Sep 17 00:00:00 2001
+From: Gabriele Musco 
+Date: Sat, 25 Mar 2023 14:13:44 +0100
+Subject: [PATCH] add author extraction for feed item
+
+---
+ src/feed_item.cpp | 12 +---
+ src/feed_item.hpp | 14 ++
+ src/pybind.cpp|  4 
+ 3 files changed, 27 insertions(+), 3 deletions(-)
+
+diff --git a/src/feed_item.cpp b/src/feed_item.cpp
+index a08cd71..e0dbb8c 100644
+--- a/src/feed_item.cpp
 b/src/feed_item.cpp
+@@ -1,5 +1,5 @@
+-#include "feed_item.hpp"
+-#include "utils.hpp"
++#include "./feed_item.hpp"
++#include "./utils.hpp"
+ 
+ std::string FeedItem::extract_url() {
+ std::string res = item_node.child("link").text().as_string();
+@@ -75,6 +75,10 @@ void FeedItem::parse() {
+ // pub_date
+ pub_date = SynDomUtils::extract_from_node(item_node, __PUB_DATE_PARAMS);
+ 
++// author
++author_name = SynDomUtils::extract_from_node(item_node, 
__AUTHOR_NAME_PARAMS);
++author_url = SynDomUtils::extract_from_node(item_node, 
__AUTHOR_URL_PARAMS);
++
+ // img_url
+ img_url = extract_img_url();
+ fix_url(img_url);
+@@ -87,6 +91,8 @@ std::string FeedItem::to_json() {
+ "\"url\": \"" + url + "\",\n"
+ "\"media_url\": \"" + media_url + "\",\n"
+ "\"pub_date\": \"" + pub_date + "\",\n"
+-"\"img_url\": \"" + img_url + "\"\n"
++"\"img_url\": \"" + img_url + "\",\n"
++"\"author_name\": \"" + author_name + "\",\n"
++"\"author_url\": \"" + author_url + "\"\n"
+ "}";
+ }
+diff --git a/src/feed_item.hpp b/src/feed_item.hpp
+index 5d7105e..fd1259f 100644
+--- a/src/feed_item.hpp
 b/src/feed_item.hpp
+@@ -28,6 +28,8 @@ private:
+ std::string media_url;
+ std::string pub_date;
+ std::string img_url;
++std::string author_name;
++std::string author_url;
+ 
+ /**
+ * Tries to extract the item url and returns it.
+@@ -73,6 +75,16 @@ private:
+ {ExtractionParam::ParamType::CHILD, {"date"}},
+ {ExtractionParam::ParamType::CHILD, {"dc:date"}}
+ };
++static inline const std::vector __AUTHOR_NAME_PARAMS{
++{ExtractionParam::ParamType::CHILD, {"author", "name"}},
++{ExtractionParam::ParamType::CHILD, {"author"}},
++{ExtractionParam::ParamType::CHILD, {"dc:creator"}},
++{ExtractionParam::ParamType::CHILD, {"creator"}},
++{ExtractionParam::ParamType::CHILD, {"itunes:author"}},
++};
++static inline const std::vector __AUTHOR_URL_PARAMS{
++{ExtractionParam::ParamType::CHILD, {"author", "uri"}}
++};
+ /**
+ * Entry point of the class, parses all the relevant content. Called by
+ * the constructor.
+@@ -101,6 +113,8 @@ public:
+ std::string get_media_url() { return media_url; }
+ std::string get_pub_date() { return pub_date; }
+ std::string get_img_url() { return img_url; }
++std::string get_author_name() { return author_name; }
++std::string get_author_url() { 

[gentoo-commits] repo/proj/guru:dev commit in: net-libs/syndication-domination/

2023-10-05 Thread Brett Alcox
commit: 9b3423f0c944857112c515262fa07decf7fd252a
Author: brettalcox  gmail  com>
AuthorDate: Thu Oct  5 18:39:31 2023 +
Commit: Brett Alcox  gmail  com>
CommitDate: Thu Oct  5 18:39:31 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9b3423f0

net-libs/syndication-domination: adding pybind11

Signed-off-by: brettalcox  gmail.com>

 net-libs/syndication-domination/syndication-domination-1.0.ebuild  | 1 +
 net-libs/syndication-domination/syndication-domination-.ebuild | 1 +
 2 files changed, 2 insertions(+)

diff --git a/net-libs/syndication-domination/syndication-domination-1.0.ebuild 
b/net-libs/syndication-domination/syndication-domination-1.0.ebuild
index 8e62e74f78..b888143f28 100644
--- a/net-libs/syndication-domination/syndication-domination-1.0.ebuild
+++ b/net-libs/syndication-domination/syndication-domination-1.0.ebuild
@@ -37,6 +37,7 @@ DEPEND="
python? (
$(python_gen_cond_dep '
dev-python/cython[${PYTHON_USEDEP}]
+   dev-python/pybind11[${PYTHON_USEDEP}]
')
)
 

diff --git a/net-libs/syndication-domination/syndication-domination-.ebuild 
b/net-libs/syndication-domination/syndication-domination-.ebuild
index 8e62e74f78..b888143f28 100644
--- a/net-libs/syndication-domination/syndication-domination-.ebuild
+++ b/net-libs/syndication-domination/syndication-domination-.ebuild
@@ -37,6 +37,7 @@ DEPEND="
python? (
$(python_gen_cond_dep '
dev-python/cython[${PYTHON_USEDEP}]
+   dev-python/pybind11[${PYTHON_USEDEP}]
')
)
 



[gentoo-commits] repo/proj/guru:dev commit in: net-libs/syndication-domination/

2023-10-05 Thread Brett Alcox
commit: 7db4fe8999d59beb815feb4bc58c5694c0fbe690
Author: brettalcox  gmail  com>
AuthorDate: Thu Oct  5 16:59:06 2023 +
Commit: Brett Alcox  gmail  com>
CommitDate: Thu Oct  5 16:59:06 2023 +
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  gmail.com>

 net-libs/syndication-domination/Manifest   |  2 ++
 ...99.ebuild => syndication-domination-1.0.ebuild} | 25 --
 .../syndication-domination-.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 00..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-.ebuild 
b/net-libs/syndication-domination/syndication-domination-1.0.ebuild
similarity index 64%
copy from net-libs/syndication-domination/syndication-domination-.ebuild
copy to net-libs/syndication-domination/syndication-domination-1.0.ebuild
index 92791e1b5f..8e62e74f78 100644
--- a/net-libs/syndication-domination/syndication-domination-.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} ==  ]]; 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-.ebuild 
b/net-libs/syndication-domination/syndication-domination-.ebuild
index 92791e1b5f..8e62e74f78 100644
--- a/net-libs/syndication-domination/syndication-domination-.ebuild
+++ b/net-libs/syndication-domination/syndication-domination-.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} ==  ]]; 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? (
-   

[gentoo-commits] repo/proj/guru:dev commit in: net-libs/syndication-domination/

2023-10-04 Thread Brett Alcox
commit: 1f0e8450b351f67f4289d06f9eecc305d8c5bcf2
Author: brettalcox  gmail  com>
AuthorDate: Thu Oct  5 03:11:14 2023 +
Commit: Brett Alcox  gmail  com>
CommitDate: Thu Oct  5 03:11:14 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1f0e8450

net-libs/syndication-domination: new package, add 

Signed-off-by: brettalcox  gmail.com>

 net-libs/syndication-domination/metadata.xml   | 15 ++
 .../syndication-domination-.ebuild | 54 ++
 2 files changed, 69 insertions(+)

diff --git a/net-libs/syndication-domination/metadata.xml 
b/net-libs/syndication-domination/metadata.xml
new file mode 100644
index 00..81cf0cee77
--- /dev/null
+++ b/net-libs/syndication-domination/metadata.xml
@@ -0,0 +1,15 @@
+
+https://www.gentoo.org/dtd/metadata.dtd'>
+
+   
+   brettal...@gmail.com
+   
+   
+   GabMus/syndication-domination
+   
+   
+   
+   Builds a binary executable instead of python bindings 
+   
+   
+

diff --git a/net-libs/syndication-domination/syndication-domination-.ebuild 
b/net-libs/syndication-domination/syndication-domination-.ebuild
new file mode 100644
index 00..92791e1b5f
--- /dev/null
+++ b/net-libs/syndication-domination/syndication-domination-.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="An RSS/Atom parser, because there's nothing else out there."
+HOMEPAGE="https://gitlab.com/gabmus/syndication-domination;
+
+if [[ ${PV} ==  ]]; 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;
+fi
+
+LICENSE="AGPL-3"
+SLOT="0"
+IUSE="debug json-binary +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
+   )
+"
+RDEPEND="${DEPEND}"
+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
+}