[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2024-04-11 Thread Arthur Zamarin
commit: fa634bd5a34e283b2fb5003c2f5bb3ba5287d295
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Apr 11 17:40:37 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Apr 11 17:40:37 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa634bd5

dev-python/leechcorepyc: Stabilize 2.18.0 x86, #929181

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.18.0.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.18.0.ebuild
index c3d940f10178..2c256d774426 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.18.0.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.18.0.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/ufrisk/LeechCore;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 # leechcorepyc ships with a bundled version of the LeechCore library. So we
 # don't depend on the library here. But we must be aware this module doesn't



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2024-04-11 Thread Arthur Zamarin
commit: 031680369307bb07207fe1c7b7a348220c2fa775
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Apr 11 17:40:36 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Apr 11 17:40:36 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03168036

dev-python/leechcorepyc: Stabilize 2.18.0 amd64, #929181

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.18.0.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.18.0.ebuild
index 594aa6daeab7..c3d940f10178 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.18.0.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.18.0.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/ufrisk/LeechCore;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 # leechcorepyc ships with a bundled version of the LeechCore library. So we
 # don't depend on the library here. But we must be aware this module doesn't



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2024-04-06 Thread Michał Górny
commit: ef8748d4871db0a5a32b3815ff0f2d9726eae78d
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr  6 12:38:52 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr  6 12:38:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef8748d4

dev-python/leechcorepyc: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/leechcorepyc/Manifest   |  3 --
 dev-python/leechcorepyc/leechcorepyc-2.16.9.ebuild | 41 --
 dev-python/leechcorepyc/leechcorepyc-2.17.0.ebuild | 41 --
 dev-python/leechcorepyc/leechcorepyc-2.17.2.ebuild | 41 --
 4 files changed, 126 deletions(-)

diff --git a/dev-python/leechcorepyc/Manifest b/dev-python/leechcorepyc/Manifest
index 3117420a6779..9e7551f1078f 100644
--- a/dev-python/leechcorepyc/Manifest
+++ b/dev-python/leechcorepyc/Manifest
@@ -1,5 +1,2 @@
-DIST leechcorepyc-2.16.9.tar.gz 178656 BLAKE2B 
76cefea2d8c30c88ae649da6c95f420b366e6b7ec8a44339cda6bd65b890b02196ff19d3b7d8218c87a73256e079fdd51dcb0499934fef0145e4a404376be7de
 SHA512 
5a5455d0401177d2ae4f6b22a0dbf1f4ddce3458edb4cea04c8a127a6baa7083c83ba79d3d236a6cec15e8a1c05c4a8c747d7053b451dbed9b6a8defa17ec288
-DIST leechcorepyc-2.17.0.tar.gz 179198 BLAKE2B 
b811e924687e67d394a5271a88ad01e0f9d528176e50baecc9f471c17cc016f11e02e05c4ac0b04277f6828aa2c1c4ff39d56065d6f95a5f0c1d909b0b448b2f
 SHA512 
91cf73c62af104f83bd4d4926633ceb702027c97137c351e4d6d8518a4c8c467031153127e85058a9b451e33f370257dd3aa461f0eab643fb8b48a62827ed436
-DIST leechcorepyc-2.17.2.tar.gz 179233 BLAKE2B 
7b5b472c829e897f089f7b0a1de941b22e54ec1f740b837e5f0c291af656601411acb20e22034322b1618dab64a5a9aa34f78115c91fd11b1fdeb7663ff4c422
 SHA512 
f51ca93791ccbe0bcb8fc298ace7ee6757a26fc8052380fdd101dfc5686942cb6243fc8aca06f0c1f14faf076dd0055cf653e6ad253c6460cd65fac4a5b094a9
 DIST leechcorepyc-2.17.4.tar.gz 180273 BLAKE2B 
09c6d8b4bba14d645c1718f6fd5c32d08715e2f8bc0b065ff08823bb95d2aad025452388f4d26b2b61c703a8a796d1b8999f1461b1a8ae5c7479e60e204a8489
 SHA512 
6948f09d53e3d2a47611f7d414c06712850427aecd43035c571daad61bdff2cd5f0c9799b7bf74b042ad66d7686258210a3bc7bb29af0b632025fbf8ca458cb0
 DIST leechcorepyc-2.18.0.tar.gz 234411 BLAKE2B 
ebf2dba7cc20bdf8fdcac65d889fe3fab0e5c5b11509468f2733ef6a20bc0ccf6e0fc6788ac6ec62101a996ae983b3dbbab3afde1573b76d84ee4e0bd224e749
 SHA512 
c85fbc2eb2a62929f232f0657944406cc3918320a11fb3824fbe60889ff3c61796a99c39d7083b895868a0bbf2d2dacc473db59d9e4c183aeae3528bb03a0b4f

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.16.9.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.16.9.ebuild
deleted file mode 100644
index 2c256d774426..
--- a/dev-python/leechcorepyc/leechcorepyc-2.16.9.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 toolchain-funcs pypi
-
-DESCRIPTION="Python binding for LeechCore Physical Memory Acquisition Library"
-HOMEPAGE="https://github.com/ufrisk/LeechCore;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-# leechcorepyc ships with a bundled version of the LeechCore library. So we
-# don't depend on the library here. But we must be aware this module doesn't
-# use the system library.
-DEPEND="virtual/libusb:="
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-2.16.9-respect-CC.patch"
-)
-
-src_prepare() {
-   default
-
-   # Avoid redefining _FORTIFY_SOURCE. See #893824, #906715.
-   sed -i -e 's/ -D_FORTIFY_SOURCE=2 / /g' leechcore/Makefile || die
-}
-
-src_configure() {
-   tc-export CC
-
-   distutils-r1_src_configure
-}

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.17.0.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.17.0.ebuild
deleted file mode 100644
index 594aa6daeab7..
--- a/dev-python/leechcorepyc/leechcorepyc-2.17.0.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 toolchain-funcs pypi
-
-DESCRIPTION="Python binding for LeechCore Physical Memory Acquisition Library"
-HOMEPAGE="https://github.com/ufrisk/LeechCore;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# leechcorepyc ships with a bundled version of the LeechCore library. So we
-# don't depend on the library here. But we must be aware this module doesn't
-# use the system library.
-DEPEND="virtual/libusb:="
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-2.16.9-respect-CC.patch"
-)
-
-src_prepare() {
-   default
-
-   # Avoid redefining _FORTIFY_SOURCE. See #893824, #906715.
-   sed -i -e 's/ -D_FORTIFY_SOURCE=2 / /g' leechcore/Makefile || die
-}
-

[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2024-04-06 Thread Arthur Zamarin
commit: 4d3bd8778abcf07aa5a7753bceea62c58b608883
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr  6 12:32:00 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr  6 12:32:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d3bd877

dev-python/leechcorepyc: Stabilize 2.17.4 x86, #928697

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.17.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.17.4.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.17.4.ebuild
index c3d940f10178..2c256d774426 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.17.4.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.17.4.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/ufrisk/LeechCore;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 # leechcorepyc ships with a bundled version of the LeechCore library. So we
 # don't depend on the library here. But we must be aware this module doesn't



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2024-04-06 Thread Arthur Zamarin
commit: b3be10e61ad87f4de1e583bcb208c3689cdde4ae
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr  6 10:10:22 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr  6 10:10:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3be10e6

dev-python/leechcorepyc: Stabilize 2.17.4 amd64, #928697

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.17.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.17.4.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.17.4.ebuild
index 594aa6daeab7..c3d940f10178 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.17.4.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.17.4.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/ufrisk/LeechCore;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 # leechcorepyc ships with a bundled version of the LeechCore library. So we
 # don't depend on the library here. But we must be aware this module doesn't



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2024-03-26 Thread Michał Górny
commit: cab0fdcd24686cf23cfe70bd66094766ddc7c2d0
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar 27 03:22:14 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar 27 03:37:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cab0fdcd

dev-python/leechcorepyc: Bump to 2.18.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/leechcorepyc/Manifest   |  1 +
 dev-python/leechcorepyc/leechcorepyc-2.18.0.ebuild | 41 ++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/leechcorepyc/Manifest b/dev-python/leechcorepyc/Manifest
index 9e8951dfdad4..3117420a6779 100644
--- a/dev-python/leechcorepyc/Manifest
+++ b/dev-python/leechcorepyc/Manifest
@@ -2,3 +2,4 @@ DIST leechcorepyc-2.16.9.tar.gz 178656 BLAKE2B 
76cefea2d8c30c88ae649da6c95f420b3
 DIST leechcorepyc-2.17.0.tar.gz 179198 BLAKE2B 
b811e924687e67d394a5271a88ad01e0f9d528176e50baecc9f471c17cc016f11e02e05c4ac0b04277f6828aa2c1c4ff39d56065d6f95a5f0c1d909b0b448b2f
 SHA512 
91cf73c62af104f83bd4d4926633ceb702027c97137c351e4d6d8518a4c8c467031153127e85058a9b451e33f370257dd3aa461f0eab643fb8b48a62827ed436
 DIST leechcorepyc-2.17.2.tar.gz 179233 BLAKE2B 
7b5b472c829e897f089f7b0a1de941b22e54ec1f740b837e5f0c291af656601411acb20e22034322b1618dab64a5a9aa34f78115c91fd11b1fdeb7663ff4c422
 SHA512 
f51ca93791ccbe0bcb8fc298ace7ee6757a26fc8052380fdd101dfc5686942cb6243fc8aca06f0c1f14faf076dd0055cf653e6ad253c6460cd65fac4a5b094a9
 DIST leechcorepyc-2.17.4.tar.gz 180273 BLAKE2B 
09c6d8b4bba14d645c1718f6fd5c32d08715e2f8bc0b065ff08823bb95d2aad025452388f4d26b2b61c703a8a796d1b8999f1461b1a8ae5c7479e60e204a8489
 SHA512 
6948f09d53e3d2a47611f7d414c06712850427aecd43035c571daad61bdff2cd5f0c9799b7bf74b042ad66d7686258210a3bc7bb29af0b632025fbf8ca458cb0
+DIST leechcorepyc-2.18.0.tar.gz 234411 BLAKE2B 
ebf2dba7cc20bdf8fdcac65d889fe3fab0e5c5b11509468f2733ef6a20bc0ccf6e0fc6788ac6ec62101a996ae983b3dbbab3afde1573b76d84ee4e0bd224e749
 SHA512 
c85fbc2eb2a62929f232f0657944406cc3918320a11fb3824fbe60889ff3c61796a99c39d7083b895868a0bbf2d2dacc473db59d9e4c183aeae3528bb03a0b4f

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.18.0.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.18.0.ebuild
new file mode 100644
index ..594aa6daeab7
--- /dev/null
+++ b/dev-python/leechcorepyc/leechcorepyc-2.18.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 toolchain-funcs pypi
+
+DESCRIPTION="Python binding for LeechCore Physical Memory Acquisition Library"
+HOMEPAGE="https://github.com/ufrisk/LeechCore;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# leechcorepyc ships with a bundled version of the LeechCore library. So we
+# don't depend on the library here. But we must be aware this module doesn't
+# use the system library.
+DEPEND="virtual/libusb:="
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-2.16.9-respect-CC.patch"
+)
+
+src_prepare() {
+   default
+
+   # Avoid redefining _FORTIFY_SOURCE. See #893824, #906715.
+   sed -i -e 's/ -D_FORTIFY_SOURCE=2 / /g' leechcore/Makefile || die
+}
+
+src_configure() {
+   tc-export CC
+
+   distutils-r1_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2024-03-17 Thread Michał Górny
commit: e7db3c65a284b2f44c88d87e6a58c2f6d8dd2d01
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Mar 18 04:52:27 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Mar 18 04:58:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7db3c65

dev-python/leechcorepyc: Bump to 2.17.4

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/leechcorepyc/Manifest   |  1 +
 dev-python/leechcorepyc/leechcorepyc-2.17.4.ebuild | 41 ++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/leechcorepyc/Manifest b/dev-python/leechcorepyc/Manifest
index 904d462f6c2f..9e8951dfdad4 100644
--- a/dev-python/leechcorepyc/Manifest
+++ b/dev-python/leechcorepyc/Manifest
@@ -1,3 +1,4 @@
 DIST leechcorepyc-2.16.9.tar.gz 178656 BLAKE2B 
76cefea2d8c30c88ae649da6c95f420b366e6b7ec8a44339cda6bd65b890b02196ff19d3b7d8218c87a73256e079fdd51dcb0499934fef0145e4a404376be7de
 SHA512 
5a5455d0401177d2ae4f6b22a0dbf1f4ddce3458edb4cea04c8a127a6baa7083c83ba79d3d236a6cec15e8a1c05c4a8c747d7053b451dbed9b6a8defa17ec288
 DIST leechcorepyc-2.17.0.tar.gz 179198 BLAKE2B 
b811e924687e67d394a5271a88ad01e0f9d528176e50baecc9f471c17cc016f11e02e05c4ac0b04277f6828aa2c1c4ff39d56065d6f95a5f0c1d909b0b448b2f
 SHA512 
91cf73c62af104f83bd4d4926633ceb702027c97137c351e4d6d8518a4c8c467031153127e85058a9b451e33f370257dd3aa461f0eab643fb8b48a62827ed436
 DIST leechcorepyc-2.17.2.tar.gz 179233 BLAKE2B 
7b5b472c829e897f089f7b0a1de941b22e54ec1f740b837e5f0c291af656601411acb20e22034322b1618dab64a5a9aa34f78115c91fd11b1fdeb7663ff4c422
 SHA512 
f51ca93791ccbe0bcb8fc298ace7ee6757a26fc8052380fdd101dfc5686942cb6243fc8aca06f0c1f14faf076dd0055cf653e6ad253c6460cd65fac4a5b094a9
+DIST leechcorepyc-2.17.4.tar.gz 180273 BLAKE2B 
09c6d8b4bba14d645c1718f6fd5c32d08715e2f8bc0b065ff08823bb95d2aad025452388f4d26b2b61c703a8a796d1b8999f1461b1a8ae5c7479e60e204a8489
 SHA512 
6948f09d53e3d2a47611f7d414c06712850427aecd43035c571daad61bdff2cd5f0c9799b7bf74b042ad66d7686258210a3bc7bb29af0b632025fbf8ca458cb0

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.17.4.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.17.4.ebuild
new file mode 100644
index ..594aa6daeab7
--- /dev/null
+++ b/dev-python/leechcorepyc/leechcorepyc-2.17.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 toolchain-funcs pypi
+
+DESCRIPTION="Python binding for LeechCore Physical Memory Acquisition Library"
+HOMEPAGE="https://github.com/ufrisk/LeechCore;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# leechcorepyc ships with a bundled version of the LeechCore library. So we
+# don't depend on the library here. But we must be aware this module doesn't
+# use the system library.
+DEPEND="virtual/libusb:="
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-2.16.9-respect-CC.patch"
+)
+
+src_prepare() {
+   default
+
+   # Avoid redefining _FORTIFY_SOURCE. See #893824, #906715.
+   sed -i -e 's/ -D_FORTIFY_SOURCE=2 / /g' leechcore/Makefile || die
+}
+
+src_configure() {
+   tc-export CC
+
+   distutils-r1_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2024-03-03 Thread Michał Górny
commit: 5756e42f19ff6be22869ecf3dab2cb2565c5dde9
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Mar  4 06:27:02 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Mar  4 06:31:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5756e42f

dev-python/leechcorepyc: Bump to 2.17.2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/leechcorepyc/Manifest   |  1 +
 dev-python/leechcorepyc/leechcorepyc-2.17.2.ebuild | 41 ++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/leechcorepyc/Manifest b/dev-python/leechcorepyc/Manifest
index 186fdd4e84d7..904d462f6c2f 100644
--- a/dev-python/leechcorepyc/Manifest
+++ b/dev-python/leechcorepyc/Manifest
@@ -1,2 +1,3 @@
 DIST leechcorepyc-2.16.9.tar.gz 178656 BLAKE2B 
76cefea2d8c30c88ae649da6c95f420b366e6b7ec8a44339cda6bd65b890b02196ff19d3b7d8218c87a73256e079fdd51dcb0499934fef0145e4a404376be7de
 SHA512 
5a5455d0401177d2ae4f6b22a0dbf1f4ddce3458edb4cea04c8a127a6baa7083c83ba79d3d236a6cec15e8a1c05c4a8c747d7053b451dbed9b6a8defa17ec288
 DIST leechcorepyc-2.17.0.tar.gz 179198 BLAKE2B 
b811e924687e67d394a5271a88ad01e0f9d528176e50baecc9f471c17cc016f11e02e05c4ac0b04277f6828aa2c1c4ff39d56065d6f95a5f0c1d909b0b448b2f
 SHA512 
91cf73c62af104f83bd4d4926633ceb702027c97137c351e4d6d8518a4c8c467031153127e85058a9b451e33f370257dd3aa461f0eab643fb8b48a62827ed436
+DIST leechcorepyc-2.17.2.tar.gz 179233 BLAKE2B 
7b5b472c829e897f089f7b0a1de941b22e54ec1f740b837e5f0c291af656601411acb20e22034322b1618dab64a5a9aa34f78115c91fd11b1fdeb7663ff4c422
 SHA512 
f51ca93791ccbe0bcb8fc298ace7ee6757a26fc8052380fdd101dfc5686942cb6243fc8aca06f0c1f14faf076dd0055cf653e6ad253c6460cd65fac4a5b094a9

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.17.2.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.17.2.ebuild
new file mode 100644
index ..594aa6daeab7
--- /dev/null
+++ b/dev-python/leechcorepyc/leechcorepyc-2.17.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 toolchain-funcs pypi
+
+DESCRIPTION="Python binding for LeechCore Physical Memory Acquisition Library"
+HOMEPAGE="https://github.com/ufrisk/LeechCore;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# leechcorepyc ships with a bundled version of the LeechCore library. So we
+# don't depend on the library here. But we must be aware this module doesn't
+# use the system library.
+DEPEND="virtual/libusb:="
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-2.16.9-respect-CC.patch"
+)
+
+src_prepare() {
+   default
+
+   # Avoid redefining _FORTIFY_SOURCE. See #893824, #906715.
+   sed -i -e 's/ -D_FORTIFY_SOURCE=2 / /g' leechcore/Makefile || die
+}
+
+src_configure() {
+   tc-export CC
+
+   distutils-r1_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2024-02-27 Thread Michał Górny
commit: 53784c6cf6cd90405e5958ba88058698de503cdc
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb 28 03:39:31 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb 28 04:02:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53784c6c

dev-python/leechcorepyc: Bump to 2.17.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/leechcorepyc/Manifest   |  1 +
 dev-python/leechcorepyc/leechcorepyc-2.17.0.ebuild | 41 ++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/leechcorepyc/Manifest b/dev-python/leechcorepyc/Manifest
index 3bb1c840ef7d..186fdd4e84d7 100644
--- a/dev-python/leechcorepyc/Manifest
+++ b/dev-python/leechcorepyc/Manifest
@@ -1 +1,2 @@
 DIST leechcorepyc-2.16.9.tar.gz 178656 BLAKE2B 
76cefea2d8c30c88ae649da6c95f420b366e6b7ec8a44339cda6bd65b890b02196ff19d3b7d8218c87a73256e079fdd51dcb0499934fef0145e4a404376be7de
 SHA512 
5a5455d0401177d2ae4f6b22a0dbf1f4ddce3458edb4cea04c8a127a6baa7083c83ba79d3d236a6cec15e8a1c05c4a8c747d7053b451dbed9b6a8defa17ec288
+DIST leechcorepyc-2.17.0.tar.gz 179198 BLAKE2B 
b811e924687e67d394a5271a88ad01e0f9d528176e50baecc9f471c17cc016f11e02e05c4ac0b04277f6828aa2c1c4ff39d56065d6f95a5f0c1d909b0b448b2f
 SHA512 
91cf73c62af104f83bd4d4926633ceb702027c97137c351e4d6d8518a4c8c467031153127e85058a9b451e33f370257dd3aa461f0eab643fb8b48a62827ed436

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.17.0.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.17.0.ebuild
new file mode 100644
index ..594aa6daeab7
--- /dev/null
+++ b/dev-python/leechcorepyc/leechcorepyc-2.17.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 toolchain-funcs pypi
+
+DESCRIPTION="Python binding for LeechCore Physical Memory Acquisition Library"
+HOMEPAGE="https://github.com/ufrisk/LeechCore;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# leechcorepyc ships with a bundled version of the LeechCore library. So we
+# don't depend on the library here. But we must be aware this module doesn't
+# use the system library.
+DEPEND="virtual/libusb:="
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-2.16.9-respect-CC.patch"
+)
+
+src_prepare() {
+   default
+
+   # Avoid redefining _FORTIFY_SOURCE. See #893824, #906715.
+   sed -i -e 's/ -D_FORTIFY_SOURCE=2 / /g' leechcore/Makefile || die
+}
+
+src_configure() {
+   tc-export CC
+
+   distutils-r1_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/, dev-python/leechcorepyc/files/

2024-02-24 Thread Michał Górny
commit: f348ca06b179ccd91648886a0668d63815fd6954
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 24 20:01:09 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 24 20:07:24 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f348ca06

dev-python/leechcorepyc: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/leechcorepyc/Manifest   |  1 -
 .../files/leechcorepyc-2.16.0-respect-CC.patch | 30 
 dev-python/leechcorepyc/leechcorepyc-2.16.5.ebuild | 41 --
 3 files changed, 72 deletions(-)

diff --git a/dev-python/leechcorepyc/Manifest b/dev-python/leechcorepyc/Manifest
index a0b88a3f7aca..3bb1c840ef7d 100644
--- a/dev-python/leechcorepyc/Manifest
+++ b/dev-python/leechcorepyc/Manifest
@@ -1,2 +1 @@
-DIST leechcorepyc-2.16.5.tar.gz 177365 BLAKE2B 
a5193e6e6c3fc2dc63358f62a2240b3a186b2acb37968597c5b5c690fbc94487c17bef55e8123bfdc55df2aa8668f667750a850fe4480b08d85bc311b1d2a95d
 SHA512 
8d9b556d7ebc7de474dc853f9dfa005f91a19e6f7672d4021bc83c48b7d3ab0b6617bdbaf79e79b2fc930b64f448e3b8849d83c735077fd98776b026cff57a30
 DIST leechcorepyc-2.16.9.tar.gz 178656 BLAKE2B 
76cefea2d8c30c88ae649da6c95f420b366e6b7ec8a44339cda6bd65b890b02196ff19d3b7d8218c87a73256e079fdd51dcb0499934fef0145e4a404376be7de
 SHA512 
5a5455d0401177d2ae4f6b22a0dbf1f4ddce3458edb4cea04c8a127a6baa7083c83ba79d3d236a6cec15e8a1c05c4a8c747d7053b451dbed9b6a8defa17ec288

diff --git a/dev-python/leechcorepyc/files/leechcorepyc-2.16.0-respect-CC.patch 
b/dev-python/leechcorepyc/files/leechcorepyc-2.16.0-respect-CC.patch
deleted file mode 100644
index ce29c885512b..
--- a/dev-python/leechcorepyc/files/leechcorepyc-2.16.0-respect-CC.patch
+++ /dev/null
@@ -1,30 +0,0 @@
 a/leechcore/Makefile
-+++ b/leechcore/Makefile
-@@ -1,5 +1,6 @@
--CC=gcc
--CFLAGS  += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden 
-pthread `pkg-config libusb-1.0 --libs --cflags`
-+CC?=gcc
-+PKG_CONFIG ?= pkg-config
-+CFLAGS  += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden 
-pthread `$(PKG_CONFIG) libusb-1.0 --libs --cflags`
- # DEBUG FLAGS BELOW
- # export 
ASAN_OPTIONS=strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1:detect_invalid_pointer_pairs=2
- # CFLAGS  += -g -O0 -Wextra -Wno-unused-parameter -Wno-cast-function-type
 a/leechcore_device_rawtcp/Makefile
-+++ b/leechcore_device_rawtcp/Makefile
-@@ -1,4 +1,4 @@
--CC=gcc
-+CC?=gcc
- CFLAGS  += -I. -I../includes -D LINUX -shared -fPIC -fvisibility=hidden
- LDFLAGS += -g -shared
- DEPS = 
 a/leechcore_ft601_driver_linux/Makefile
-+++ b/leechcore_ft601_driver_linux/Makefile
-@@ -1,5 +1,6 @@
--CC=gcc
--CFLAGS  += -I. -D LINUX -shared -fPIC -fvisibility=hidden `pkg-config 
libusb-1.0 --libs --cflags`
-+CC?=gcc
-+PKG_CONFIG ?= pkg-config
-+CFLAGS  += -I. -D LINUX -shared -fPIC -fvisibility=hidden `$(PKG_CONFIG) 
libusb-1.0 --libs --cflags`
- LDFLAGS += -g -shared
- DEPS = leechcore_ft601_driver_linux.h
- OBJ = fpga_libusb.o leechcore_ft601_driver_linux.o

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.16.5.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.16.5.ebuild
deleted file mode 100644
index 3d5864425db6..
--- a/dev-python/leechcorepyc/leechcorepyc-2.16.5.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 toolchain-funcs pypi
-
-DESCRIPTION="Python binding for LeechCore Physical Memory Acquisition Library"
-HOMEPAGE="https://github.com/ufrisk/LeechCore;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-# leechcorepyc ships with a bundled version of the LeechCore library. So we
-# don't depend on the library here. But we must be aware this module doesn't
-# use the system library.
-DEPEND="virtual/libusb:="
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-2.16.0-respect-CC.patch"
-)
-
-src_prepare() {
-   default
-
-   # Avoid redefining _FORTIFY_SOURCE. See #893824, #906715.
-   sed -i -e 's/ -D_FORTIFY_SOURCE=2 / /g' leechcore/Makefile || die
-}
-
-src_configure() {
-   tc-export CC
-
-   distutils-r1_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2024-02-24 Thread Jakov Smolić
commit: 2c99b7c0520ceca3349125723b1be335b270d4ca
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat Feb 24 19:25:18 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat Feb 24 19:25:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c99b7c0

dev-python/leechcorepyc: Stabilize 2.16.9 amd64, #925407

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.16.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.16.9.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.16.9.ebuild
index 376c530be660..2c256d774426 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.16.9.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.16.9.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/ufrisk/LeechCore;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 
 # leechcorepyc ships with a bundled version of the LeechCore library. So we
 # don't depend on the library here. But we must be aware this module doesn't



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2024-02-24 Thread Sam James
commit: 50f22c3587bd11713aaf76912a1cfb92fd401c82
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb 24 14:04:21 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 24 14:04:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50f22c35

dev-python/leechcorepyc: Stabilize 2.16.9 x86, #925407

Signed-off-by: Sam James  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.16.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.16.9.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.16.9.ebuild
index 594aa6daeab7..376c530be660 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.16.9.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.16.9.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/ufrisk/LeechCore;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 
 # leechcorepyc ships with a bundled version of the LeechCore library. So we
 # don't depend on the library here. But we must be aware this module doesn't



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/files/, dev-python/leechcorepyc/

2024-02-06 Thread Michał Górny
commit: 17aca6a56e9b8b49fd189f1c060083af06565eb1
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Wed Jan 31 22:32:03 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb  6 13:03:13 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17aca6a5

dev-python/leechcorepyc: add 2.16.9

Closes: https://bugs.gentoo.org/922738
Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/35123
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/leechcorepyc/Manifest   |  1 +
 .../files/leechcorepyc-2.16.9-respect-CC.patch | 30 
 dev-python/leechcorepyc/leechcorepyc-2.16.9.ebuild | 41 ++
 3 files changed, 72 insertions(+)

diff --git a/dev-python/leechcorepyc/Manifest b/dev-python/leechcorepyc/Manifest
index 97630a1da22a..a0b88a3f7aca 100644
--- a/dev-python/leechcorepyc/Manifest
+++ b/dev-python/leechcorepyc/Manifest
@@ -1 +1,2 @@
 DIST leechcorepyc-2.16.5.tar.gz 177365 BLAKE2B 
a5193e6e6c3fc2dc63358f62a2240b3a186b2acb37968597c5b5c690fbc94487c17bef55e8123bfdc55df2aa8668f667750a850fe4480b08d85bc311b1d2a95d
 SHA512 
8d9b556d7ebc7de474dc853f9dfa005f91a19e6f7672d4021bc83c48b7d3ab0b6617bdbaf79e79b2fc930b64f448e3b8849d83c735077fd98776b026cff57a30
+DIST leechcorepyc-2.16.9.tar.gz 178656 BLAKE2B 
76cefea2d8c30c88ae649da6c95f420b366e6b7ec8a44339cda6bd65b890b02196ff19d3b7d8218c87a73256e079fdd51dcb0499934fef0145e4a404376be7de
 SHA512 
5a5455d0401177d2ae4f6b22a0dbf1f4ddce3458edb4cea04c8a127a6baa7083c83ba79d3d236a6cec15e8a1c05c4a8c747d7053b451dbed9b6a8defa17ec288

diff --git a/dev-python/leechcorepyc/files/leechcorepyc-2.16.9-respect-CC.patch 
b/dev-python/leechcorepyc/files/leechcorepyc-2.16.9-respect-CC.patch
new file mode 100644
index ..7ad3aac070ab
--- /dev/null
+++ b/dev-python/leechcorepyc/files/leechcorepyc-2.16.9-respect-CC.patch
@@ -0,0 +1,30 @@
+--- a/leechcore/Makefile
 b/leechcore/Makefile
+@@ -1,5 +1,6 @@
+-CC=gcc
+-CFLAGS  += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden 
-pthread `pkg-config libusb-1.0 --libs --cflags`
++CC?=gcc
++PKG_CONFIG ?= pkg-config
++CFLAGS  += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden 
-pthread `$(PKG_CONFIG) libusb-1.0 --libs --cflags`
+ # DEBUG FLAGS BELOW
+ # export 
ASAN_OPTIONS=strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1:detect_invalid_pointer_pairs=2
+ # CFLAGS  += -g -O0 -Wextra -Wno-unused-parameter -Wno-cast-function-type
+--- a/leechcore_device_rawtcp/Makefile
 b/leechcore_device_rawtcp/Makefile
+@@ -1,4 +1,4 @@
+-CC=gcc
++CC?=gcc
+ CFLAGS  += -I. -I../includes -D LINUX -shared -fPIC -fvisibility=hidden
+ LDFLAGS += -g -shared
+ DEPS = 
+--- a/leechcore_ft601_driver_linux/Makefile
 b/leechcore_ft601_driver_linux/Makefile
+@@ -1,5 +1,6 @@
+-CC=gcc
+-CFLAGS  += -I. -D LINUX -shared -fPIC -fvisibility=hidden `pkg-config 
libusb-1.0 --libs --cflags`
++CC?=gcc
++PKG_CONFIG ?= pkg-config
++CFLAGS  += -I. -D LINUX -shared -fPIC -fvisibility=hidden `$(PKG_CONFIG) 
libusb-1.0 --libs --cflags`
+ LDFLAGS += -g -shared
+ DEPS = leechcore_ft601_driver_linux.h
+ OBJ = fpga_libusb.o leechcore_ft601_driver_linux.o

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.16.9.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.16.9.ebuild
new file mode 100644
index ..594aa6daeab7
--- /dev/null
+++ b/dev-python/leechcorepyc/leechcorepyc-2.16.9.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 toolchain-funcs pypi
+
+DESCRIPTION="Python binding for LeechCore Physical Memory Acquisition Library"
+HOMEPAGE="https://github.com/ufrisk/LeechCore;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# leechcorepyc ships with a bundled version of the LeechCore library. So we
+# don't depend on the library here. But we must be aware this module doesn't
+# use the system library.
+DEPEND="virtual/libusb:="
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-2.16.9-respect-CC.patch"
+)
+
+src_prepare() {
+   default
+
+   # Avoid redefining _FORTIFY_SOURCE. See #893824, #906715.
+   sed -i -e 's/ -D_FORTIFY_SOURCE=2 / /g' leechcore/Makefile || die
+}
+
+src_configure() {
+   tc-export CC
+
+   distutils-r1_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/, dev-python/leechcorepyc/files/

2023-10-26 Thread Sam James
commit: 5e71794b0f546ea8da9a72b171d8d2b4c7d042a4
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Sat Oct  7 10:05:32 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 27 03:31:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e71794b

dev-python/leechcorepyc: add 2.16.5

Closes: https://bugs.gentoo.org/915327
Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/33229
Signed-off-by: Sam James  gentoo.org>

 dev-python/leechcorepyc/Manifest   |  1 +
 .../files/leechcorepyc-2.16.0-respect-CC.patch | 30 
 dev-python/leechcorepyc/leechcorepyc-2.16.5.ebuild | 41 ++
 3 files changed, 72 insertions(+)

diff --git a/dev-python/leechcorepyc/Manifest b/dev-python/leechcorepyc/Manifest
index b0561db95358..507e3bd820f6 100644
--- a/dev-python/leechcorepyc/Manifest
+++ b/dev-python/leechcorepyc/Manifest
@@ -1 +1,2 @@
 DIST leechcorepyc-2.15.0.tar.gz 176764 BLAKE2B 
d0e4aa14d0cc1ce1ad3c14e704949c3b872b0889449ca81c9ac8642340b301ce52baf638ce58a6c3d1262f0cfe5cc5ec8eb26f80d01d87933c33a0f87ac46338
 SHA512 
d1d5f775d4166b510dd110dfe3e28179464170682d3092e7887fd7464fef21c2e2d1bb6d2294eb8ab45cb2566df15f0bf3254d098afd8bcb6b36186517496bd2
+DIST leechcorepyc-2.16.5.tar.gz 177365 BLAKE2B 
a5193e6e6c3fc2dc63358f62a2240b3a186b2acb37968597c5b5c690fbc94487c17bef55e8123bfdc55df2aa8668f667750a850fe4480b08d85bc311b1d2a95d
 SHA512 
8d9b556d7ebc7de474dc853f9dfa005f91a19e6f7672d4021bc83c48b7d3ab0b6617bdbaf79e79b2fc930b64f448e3b8849d83c735077fd98776b026cff57a30

diff --git a/dev-python/leechcorepyc/files/leechcorepyc-2.16.0-respect-CC.patch 
b/dev-python/leechcorepyc/files/leechcorepyc-2.16.0-respect-CC.patch
new file mode 100644
index ..ce29c885512b
--- /dev/null
+++ b/dev-python/leechcorepyc/files/leechcorepyc-2.16.0-respect-CC.patch
@@ -0,0 +1,30 @@
+--- a/leechcore/Makefile
 b/leechcore/Makefile
+@@ -1,5 +1,6 @@
+-CC=gcc
+-CFLAGS  += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden 
-pthread `pkg-config libusb-1.0 --libs --cflags`
++CC?=gcc
++PKG_CONFIG ?= pkg-config
++CFLAGS  += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden 
-pthread `$(PKG_CONFIG) libusb-1.0 --libs --cflags`
+ # DEBUG FLAGS BELOW
+ # export 
ASAN_OPTIONS=strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1:detect_invalid_pointer_pairs=2
+ # CFLAGS  += -g -O0 -Wextra -Wno-unused-parameter -Wno-cast-function-type
+--- a/leechcore_device_rawtcp/Makefile
 b/leechcore_device_rawtcp/Makefile
+@@ -1,4 +1,4 @@
+-CC=gcc
++CC?=gcc
+ CFLAGS  += -I. -I../includes -D LINUX -shared -fPIC -fvisibility=hidden
+ LDFLAGS += -g -shared
+ DEPS = 
+--- a/leechcore_ft601_driver_linux/Makefile
 b/leechcore_ft601_driver_linux/Makefile
+@@ -1,5 +1,6 @@
+-CC=gcc
+-CFLAGS  += -I. -D LINUX -shared -fPIC -fvisibility=hidden `pkg-config 
libusb-1.0 --libs --cflags`
++CC?=gcc
++PKG_CONFIG ?= pkg-config
++CFLAGS  += -I. -D LINUX -shared -fPIC -fvisibility=hidden `$(PKG_CONFIG) 
libusb-1.0 --libs --cflags`
+ LDFLAGS += -g -shared
+ DEPS = leechcore_ft601_driver_linux.h
+ OBJ = fpga_libusb.o leechcore_ft601_driver_linux.o

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.16.5.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.16.5.ebuild
new file mode 100644
index ..1529455fe622
--- /dev/null
+++ b/dev-python/leechcorepyc/leechcorepyc-2.16.5.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 toolchain-funcs pypi
+
+DESCRIPTION="Python binding for LeechCore Physical Memory Acquisition Library"
+HOMEPAGE="https://github.com/ufrisk/LeechCore;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# leechcorepyc ships with a bundled version of the LeechCore library. So we
+# don't depend on the library here. But we must be aware this module doesn't
+# use the system library.
+DEPEND="virtual/libusb:="
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-2.16.0-respect-CC.patch"
+)
+
+src_prepare() {
+   default
+
+   # Avoid redefining _FORTIFY_SOURCE. See #893824, #906715.
+   sed -i -e 's/ -D_FORTIFY_SOURCE=2 / /g' leechcore/Makefile || die
+}
+
+src_configure() {
+   tc-export CC
+
+   distutils-r1_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/, dev-python/leechcorepyc/files/

2023-10-26 Thread Sam James
commit: 823311db1ed3c3dbc30fbcbca6527982a63990e9
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Thu Oct 19 16:27:39 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 27 03:18:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=823311db

dev-python/leechcorepyc: drop 2.14.3

Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Signed-off-by: Sam James  gentoo.org>

 dev-python/leechcorepyc/Manifest   |  1 -
 .../files/leechcorepyc-2.14.0-cflags.patch | 13 -
 dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild | 34 --
 3 files changed, 48 deletions(-)

diff --git a/dev-python/leechcorepyc/Manifest b/dev-python/leechcorepyc/Manifest
index 12bc0962ad5c..b0561db95358 100644
--- a/dev-python/leechcorepyc/Manifest
+++ b/dev-python/leechcorepyc/Manifest
@@ -1,2 +1 @@
-DIST leechcorepyc-2.14.3.tar.gz 126511 BLAKE2B 
a15b593144685d1f44dc1b580c8146f57d6c784e39d2a4aad8b4221ea718ee79dffe24877ac74198a2f8baeaca30a37d3fe1e6680265b94bcc30dc7117002706
 SHA512 
06c4c66cc92c2c55e2dd2e57e5488a1864dc21a1667b4b39237372e95fcd6b99b569754a44eea7afdae32207245016b096939c0edf11a4133fc24a343c892ba8
 DIST leechcorepyc-2.15.0.tar.gz 176764 BLAKE2B 
d0e4aa14d0cc1ce1ad3c14e704949c3b872b0889449ca81c9ac8642340b301ce52baf638ce58a6c3d1262f0cfe5cc5ec8eb26f80d01d87933c33a0f87ac46338
 SHA512 
d1d5f775d4166b510dd110dfe3e28179464170682d3092e7887fd7464fef21c2e2d1bb6d2294eb8ab45cb2566df15f0bf3254d098afd8bcb6b36186517496bd2

diff --git a/dev-python/leechcorepyc/files/leechcorepyc-2.14.0-cflags.patch 
b/dev-python/leechcorepyc/files/leechcorepyc-2.14.0-cflags.patch
deleted file mode 100644
index 945f4e41e1c1..
--- a/dev-python/leechcorepyc/files/leechcorepyc-2.14.0-cflags.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Bug: https://bugs.gentoo.org/893824
 a/leechcore/Makefile
-+++ b/leechcore/Makefile
-@@ -6,7 +6,8 @@
- # CFLAGS  += -fsanitize=address -fsanitize=leak -fno-omit-frame-pointer 
-fsanitize=undefined -fsanitize=bounds-strict -fsanitize=float-divide-by-zero 
-fsanitize=float-cast-overflow
- # CFLAGS  += -fsanitize=pointer-compare -fsanitize=pointer-subtract -fanalyzer
- # DEBUG FLAGS ABOVE
--CFLAGS  += -fPIE -fPIC -pie -fstack-protector -D_FORTIFY_SOURCE=2 -O1 
-Wl,-z,noexecstack
-+CFLAGS  := -D_FORTIFY_SOURCE=2 ${CFLAGS}
-+CFLAGS  += -fPIE -fPIC -pie -Wl,-z,noexecstack
- CFLAGS  += -Wall -Wno-unused-result -Wno-unused-variable -Wno-unused-value 
-Wno-pointer-to-int-cast -Wno-int-to-pointer-cast
- LDFLAGS += -g -ldl -shared
- DEPS = leechcore.h

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild
deleted file mode 100644
index 6e290f4e945d..
--- a/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 toolchain-funcs pypi
-
-DESCRIPTION="Python binding for LeechCore Physical Memory Acquisition Library"
-HOMEPAGE="https://github.com/ufrisk/LeechCore;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-# leechcorepyc ships with a bundled version of the LeechCore library. So we
-# don't depend on the library here. But we must be aware this module doesn't
-# use the system library.
-DEPEND="virtual/libusb:="
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-2.14.0-respect-CC.patch"
-   "${FILESDIR}/${PN}-2.14.0-cflags.patch"
-)
-
-src_configure() {
-   tc-export CC
-
-   distutils-r1_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2023-10-19 Thread Sam James
commit: 80905ccfb9618a76423075f82b5134f8e16d13fe
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 19 12:16:47 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 19 12:16:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80905ccf

dev-python/leechcorepyc: Stabilize 2.15.0 amd64, #915975

Signed-off-by: Sam James  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.15.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.15.0.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.15.0.ebuild
index 735d73a22f31..ef44cc4ad962 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.15.0.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.15.0.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/ufrisk/LeechCore;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 
 # leechcorepyc ships with a bundled version of the LeechCore library. So we
 # don't depend on the library here. But we must be aware this module doesn't



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2023-10-19 Thread Sam James
commit: 7520fe0c523d0fadf864766d51ce94d7d77473d1
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 19 12:16:46 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 19 12:16:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7520fe0c

dev-python/leechcorepyc: Stabilize 2.15.0 x86, #915975

Signed-off-by: Sam James  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.15.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.15.0.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.15.0.ebuild
index ce413773bd64..735d73a22f31 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.15.0.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.15.0.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/ufrisk/LeechCore;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 
 # leechcorepyc ships with a bundled version of the LeechCore library. So we
 # don't depend on the library here. But we must be aware this module doesn't



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2023-09-18 Thread Sam James
commit: bde2c6715db87406b799c42c81305b146b47d7cc
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Sat Sep 16 15:22:51 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Sep 18 07:39:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bde2c671

dev-python/leechcorepyc: enable py3.12

Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/31863
Signed-off-by: Sam James  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild | 2 +-
 dev-python/leechcorepyc/leechcorepyc-2.15.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild
index e79613f7df0d..6e290f4e945d 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 toolchain-funcs pypi
 

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.15.0.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.15.0.ebuild
index 47dbd6d391cd..ce413773bd64 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.15.0.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.15.0.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 toolchain-funcs pypi
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2023-09-18 Thread Sam James
commit: 30a3a78fa90e8ffd70db65afb63d50edc367dcfb
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Thu Jul 13 07:04:09 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Sep 18 07:39:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30a3a78f

dev-python/leechcorepyc: add 2.15.0

Closes: https://bugs.gentoo.org/906715
Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Signed-off-by: Sam James  gentoo.org>

 dev-python/leechcorepyc/Manifest   |  1 +
 dev-python/leechcorepyc/leechcorepyc-2.15.0.ebuild | 41 ++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/leechcorepyc/Manifest b/dev-python/leechcorepyc/Manifest
index fdecfbba4520..12bc0962ad5c 100644
--- a/dev-python/leechcorepyc/Manifest
+++ b/dev-python/leechcorepyc/Manifest
@@ -1 +1,2 @@
 DIST leechcorepyc-2.14.3.tar.gz 126511 BLAKE2B 
a15b593144685d1f44dc1b580c8146f57d6c784e39d2a4aad8b4221ea718ee79dffe24877ac74198a2f8baeaca30a37d3fe1e6680265b94bcc30dc7117002706
 SHA512 
06c4c66cc92c2c55e2dd2e57e5488a1864dc21a1667b4b39237372e95fcd6b99b569754a44eea7afdae32207245016b096939c0edf11a4133fc24a343c892ba8
+DIST leechcorepyc-2.15.0.tar.gz 176764 BLAKE2B 
d0e4aa14d0cc1ce1ad3c14e704949c3b872b0889449ca81c9ac8642340b301ce52baf638ce58a6c3d1262f0cfe5cc5ec8eb26f80d01d87933c33a0f87ac46338
 SHA512 
d1d5f775d4166b510dd110dfe3e28179464170682d3092e7887fd7464fef21c2e2d1bb6d2294eb8ab45cb2566df15f0bf3254d098afd8bcb6b36186517496bd2

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.15.0.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.15.0.ebuild
new file mode 100644
index ..47dbd6d391cd
--- /dev/null
+++ b/dev-python/leechcorepyc/leechcorepyc-2.15.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1 toolchain-funcs pypi
+
+DESCRIPTION="Python binding for LeechCore Physical Memory Acquisition Library"
+HOMEPAGE="https://github.com/ufrisk/LeechCore;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# leechcorepyc ships with a bundled version of the LeechCore library. So we
+# don't depend on the library here. But we must be aware this module doesn't
+# use the system library.
+DEPEND="virtual/libusb:="
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-2.14.0-respect-CC.patch"
+)
+
+src_prepare() {
+   default
+
+   # Avoid redefining _FORTIFY_SOURCE. See #893824, #906715.
+   sed -i -e 's/ -D_FORTIFY_SOURCE=2 / /g' leechcore/Makefile || die
+}
+
+src_configure() {
+   tc-export CC
+
+   distutils-r1_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2023-07-24 Thread Michał Górny
commit: 4c28c4b2d8a68bfab6f79acf3bfd0d3c0907d003
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jul 24 12:38:31 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jul 24 12:38:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c28c4b2

dev-python/leechcorepyc: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/leechcorepyc/Manifest   |  1 -
 dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild | 34 --
 2 files changed, 35 deletions(-)

diff --git a/dev-python/leechcorepyc/Manifest b/dev-python/leechcorepyc/Manifest
index ffa936ad5516..fdecfbba4520 100644
--- a/dev-python/leechcorepyc/Manifest
+++ b/dev-python/leechcorepyc/Manifest
@@ -1,2 +1 @@
-DIST leechcorepyc-2.14.0.tar.gz 124463 BLAKE2B 
26b7581da76ab3f8981e956ab2f64de2094cc906788455e38784fb50dbad31b8b14de2f510cb49b9c1e842e2a66effd44a2db94cb6ef9e7ec9f11c3af0d9434c
 SHA512 
c7d1d50727023f6b34bbc9682dba9bc70ae69962dcd5c326612a0dcd48a2a90ecfe674391559271d65d7720d755edde02342fb999e53ad54f8095c589060b901
 DIST leechcorepyc-2.14.3.tar.gz 126511 BLAKE2B 
a15b593144685d1f44dc1b580c8146f57d6c784e39d2a4aad8b4221ea718ee79dffe24877ac74198a2f8baeaca30a37d3fe1e6680265b94bcc30dc7117002706
 SHA512 
06c4c66cc92c2c55e2dd2e57e5488a1864dc21a1667b4b39237372e95fcd6b99b569754a44eea7afdae32207245016b096939c0edf11a4133fc24a343c892ba8

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild
deleted file mode 100644
index e79613f7df0d..
--- a/dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit distutils-r1 toolchain-funcs pypi
-
-DESCRIPTION="Python binding for LeechCore Physical Memory Acquisition Library"
-HOMEPAGE="https://github.com/ufrisk/LeechCore;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-# leechcorepyc ships with a bundled version of the LeechCore library. So we
-# don't depend on the library here. But we must be aware this module doesn't
-# use the system library.
-DEPEND="virtual/libusb:="
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-2.14.0-respect-CC.patch"
-   "${FILESDIR}/${PN}-2.14.0-cflags.patch"
-)
-
-src_configure() {
-   tc-export CC
-
-   distutils-r1_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2023-06-01 Thread Jakov Smolić
commit: 4a9097e0113f0e3eefaa92a66f8f6338c927f020
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Jun  1 06:58:38 2023 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Jun  1 06:58:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a9097e0

dev-python/leechcorepyc: Stabilize 2.14.3 x86, #907154

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild
index ed0c33db2819..e79613f7df0d 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://github.com/ufrisk/LeechCore;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 # leechcorepyc ships with a bundled version of the LeechCore library. So we
 # don't depend on the library here. But we must be aware this module doesn't



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2023-05-25 Thread Arthur Zamarin
commit: 15f172b310b88b6d0f7bf6e4e56c956f2141f443
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu May 25 08:29:13 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu May 25 08:29:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15f172b3

dev-python/leechcorepyc: Stabilize 2.14.3 amd64, #907154

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild
index 8425d591ca7d..ed0c33db2819 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://github.com/ufrisk/LeechCore;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 # leechcorepyc ships with a bundled version of the LeechCore library. So we
 # don't depend on the library here. But we must be aware this module doesn't



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2023-04-24 Thread Sam James
commit: 06399f68868072bd9799a1b581aec1d83583e210
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 25 01:57:52 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 25 02:05:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06399f68

dev-python/leechcorepyc: destabilize 2.14.3 for ~amd64, ~x86

Signed-off-by: Sam James  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild
index e79613f7df0d..8425d591ca7d 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://github.com/ufrisk/LeechCore;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
 
 # leechcorepyc ships with a bundled version of the LeechCore library. So we
 # don't depend on the library here. But we must be aware this module doesn't



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2023-04-24 Thread Sam James
commit: f52128edce5792f7f8044a352b2167b0edd96c85
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Mon Apr 24 19:12:28 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 25 01:57:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f52128ed

dev-python/leechcorepyc: add 2.14.3

Closes: https://bugs.gentoo.org/904946
Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/30739
Signed-off-by: Sam James  gentoo.org>

 dev-python/leechcorepyc/Manifest   |  1 +
 dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild | 34 ++
 2 files changed, 35 insertions(+)

diff --git a/dev-python/leechcorepyc/Manifest b/dev-python/leechcorepyc/Manifest
index 9aa35022f4a4..ffa936ad5516 100644
--- a/dev-python/leechcorepyc/Manifest
+++ b/dev-python/leechcorepyc/Manifest
@@ -1 +1,2 @@
 DIST leechcorepyc-2.14.0.tar.gz 124463 BLAKE2B 
26b7581da76ab3f8981e956ab2f64de2094cc906788455e38784fb50dbad31b8b14de2f510cb49b9c1e842e2a66effd44a2db94cb6ef9e7ec9f11c3af0d9434c
 SHA512 
c7d1d50727023f6b34bbc9682dba9bc70ae69962dcd5c326612a0dcd48a2a90ecfe674391559271d65d7720d755edde02342fb999e53ad54f8095c589060b901
+DIST leechcorepyc-2.14.3.tar.gz 126511 BLAKE2B 
a15b593144685d1f44dc1b580c8146f57d6c784e39d2a4aad8b4221ea718ee79dffe24877ac74198a2f8baeaca30a37d3fe1e6680265b94bcc30dc7117002706
 SHA512 
06c4c66cc92c2c55e2dd2e57e5488a1864dc21a1667b4b39237372e95fcd6b99b569754a44eea7afdae32207245016b096939c0edf11a4133fc24a343c892ba8

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild
new file mode 100644
index ..e79613f7df0d
--- /dev/null
+++ b/dev-python/leechcorepyc/leechcorepyc-2.14.3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1 toolchain-funcs pypi
+
+DESCRIPTION="Python binding for LeechCore Physical Memory Acquisition Library"
+HOMEPAGE="https://github.com/ufrisk/LeechCore;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+# leechcorepyc ships with a bundled version of the LeechCore library. So we
+# don't depend on the library here. But we must be aware this module doesn't
+# use the system library.
+DEPEND="virtual/libusb:="
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-2.14.0-respect-CC.patch"
+   "${FILESDIR}/${PN}-2.14.0-cflags.patch"
+)
+
+src_configure() {
+   tc-export CC
+
+   distutils-r1_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/, dev-python/leechcorepyc/files/

2023-03-30 Thread Michał Górny
commit: b771cf8b59853f4092472253d318b2d96238690f
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 30 16:10:44 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 30 16:19:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b771cf8b

dev-python/leechcorepyc: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/leechcorepyc/Manifest   |  1 -
 .../files/leechcorepyc-2.12.0-respect-CC.patch | 41 --
 dev-python/leechcorepyc/leechcorepyc-2.13.0.ebuild | 34 --
 3 files changed, 76 deletions(-)

diff --git a/dev-python/leechcorepyc/Manifest b/dev-python/leechcorepyc/Manifest
index b5f44afbfdd1..9aa35022f4a4 100644
--- a/dev-python/leechcorepyc/Manifest
+++ b/dev-python/leechcorepyc/Manifest
@@ -1,2 +1 @@
-DIST leechcorepyc-2.13.0.tar.gz 123152 BLAKE2B 
8a3ae5b0f0d52296ef71bbbea5140f9dec6abd379ae2a1b0e3a418090a11e5196731b1c4cba5320d4058c562911366cc9dd84f3a30f58ddc7c66362a9b39af8f
 SHA512 
1420f635bebafe1e07cb5f0ade3e6b141433d4a72ec165713f959dc19e05f42a86440c5c99dd5d759aee221ee478e91e7161541cebe11be6dfa286fad79843ae
 DIST leechcorepyc-2.14.0.tar.gz 124463 BLAKE2B 
26b7581da76ab3f8981e956ab2f64de2094cc906788455e38784fb50dbad31b8b14de2f510cb49b9c1e842e2a66effd44a2db94cb6ef9e7ec9f11c3af0d9434c
 SHA512 
c7d1d50727023f6b34bbc9682dba9bc70ae69962dcd5c326612a0dcd48a2a90ecfe674391559271d65d7720d755edde02342fb999e53ad54f8095c589060b901

diff --git a/dev-python/leechcorepyc/files/leechcorepyc-2.12.0-respect-CC.patch 
b/dev-python/leechcorepyc/files/leechcorepyc-2.12.0-respect-CC.patch
deleted file mode 100644
index 6bf48b0c6bcd..
--- a/dev-python/leechcorepyc/files/leechcorepyc-2.12.0-respect-CC.patch
+++ /dev/null
@@ -1,41 +0,0 @@
 a/leechcore/Makefile
-+++ b/leechcore/Makefile
-@@ -1,7 +1,8 @@
--CC=gcc
--CFLAGS  += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden 
-pthread `pkg-config libusb-1.0 --libs --cflags`
-+CC?=gcc
-+PKG_CONFIG ?= pkg-config
-+CFLAGS  += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden 
-pthread `$(PKG_CONFIG) libusb-1.0 --libs --cflags`
- #CFLAGS  += -g -O0 -Wextra -Wno-unused-parameter
--CFLAGS  += -fPIE -fPIC -pie -fstack-protector -D_FORTIFY_SOURCE=2 -O1 
-Wl,-z,noexecstack
-+CFLAGS  += -fPIE -fPIC -pie -D_FORTIFY_SOURCE=2 -Wl,-z,noexecstack
- CFLAGS  += -Wall -Wno-unused-result -Wno-unused-variable -Wno-unused-value 
-Wno-pointer-to-int-cast -Wno-int-to-pointer-cast
- LDFLAGS += -g -ldl -shared
- DEPS = leechcore.h
 a/leechcore_device_rawtcp/Makefile
-+++ b/leechcore_device_rawtcp/Makefile
-@@ -1,4 +1,4 @@
--CC=gcc
-+CC?=gcc
- CFLAGS  += -I. -I../includes -D LINUX -shared -fPIC -fvisibility=hidden
- LDFLAGS += -g -shared
- DEPS = 
 a/leechcore_device_sp605tcp/Makefile
-+++ b/leechcore_device_sp605tcp/Makefile
-@@ -1,4 +1,4 @@
--CC=gcc
-+CC?=gcc
- CFLAGS  += -I. -I../includes -D LINUX -shared -fPIC -fvisibility=hidden
- LDFLAGS += -g -shared
- DEPS = 
 a/leechcore_ft601_driver_linux/Makefile
-+++ b/leechcore_ft601_driver_linux/Makefile
-@@ -1,5 +1,6 @@
--CC=gcc
--CFLAGS  += -I. -D LINUX -shared -fPIC -fvisibility=hidden `pkg-config 
libusb-1.0 --libs --cflags`
-+CC?=gcc
-+PKG_CONFIG ?= pkg-config
-+CFLAGS  += -I. -D LINUX -shared -fPIC -fvisibility=hidden `$(PKG_CONFIG) 
libusb-1.0 --libs --cflags`
- LDFLAGS += -g -shared
- DEPS = leechcore_ft601_driver_linux.h
- OBJ = fpga_libusb.o leechcore_ft601_driver_linux.o

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.13.0.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.13.0.ebuild
deleted file mode 100644
index dfca07f07633..
--- a/dev-python/leechcorepyc/leechcorepyc-2.13.0.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit distutils-r1 toolchain-funcs
-
-DESCRIPTION="Python binding for LeechCore Physical Memory Acquisition Library"
-HOMEPAGE="https://github.com/ufrisk/LeechCore;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-# leechcorepyc ships with a bundled version of the LeechCore library. So we
-# don't depend on the library here. But we must be aware this module doesn't
-# use the system library.
-DEPEND="virtual/libusb:="
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.12.0-respect-CC.patch
-)
-
-src_configure() {
-   tc-export CC
-
-   distutils-r1_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2023-03-30 Thread Arthur Zamarin
commit: 52d0a13182dc7680d5682511a62d91db45932597
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Mar 30 15:59:02 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Mar 30 15:59:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52d0a131

dev-python/leechcorepyc: Stabilize 2.14.0 x86, #903589

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild
index ed0c33db2819..e79613f7df0d 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://github.com/ufrisk/LeechCore;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 # leechcorepyc ships with a bundled version of the LeechCore library. So we
 # don't depend on the library here. But we must be aware this module doesn't



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2023-03-30 Thread Arthur Zamarin
commit: aa2e52312d18bd049e8c9cc903a11d568d8bfe54
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Mar 30 15:33:56 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Mar 30 15:33:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa2e5231

dev-python/leechcorepyc: Stabilize 2.14.0 amd64, #903589

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild
index 8425d591ca7d..ed0c33db2819 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://github.com/ufrisk/LeechCore;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 # leechcorepyc ships with a bundled version of the LeechCore library. So we
 # don't depend on the library here. But we must be aware this module doesn't



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2023-03-15 Thread Michał Górny
commit: 5fc9ee74b9e888fc4ef1ecbc631b322f5a479eed
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar 15 17:46:36 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 16 03:51:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fc9ee74

dev-python/leechcorepyc: Use pypi.eclass

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild
index bf736abb4c7b..8425d591ca7d 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild
@@ -6,11 +6,10 @@ EAPI=8
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{9..11} )
 
-inherit distutils-r1 toolchain-funcs
+inherit distutils-r1 toolchain-funcs pypi
 
 DESCRIPTION="Python binding for LeechCore Physical Memory Acquisition Library"
 HOMEPAGE="https://github.com/ufrisk/LeechCore;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/, dev-python/leechcorepyc/files/

2023-02-25 Thread Sam James
commit: 84098ffdde6ad441155be0249f23e989681f65d8
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Sat Feb 25 21:58:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 25 22:23:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84098ffd

dev-python/leechcorepyc: add 2.14.0

Closes: https://bugs.gentoo.org/893824
Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/29796
Signed-off-by: Sam James  gentoo.org>

 dev-python/leechcorepyc/Manifest   |  1 +
 .../files/leechcorepyc-2.14.0-cflags.patch | 13 
 .../files/leechcorepyc-2.14.0-respect-CC.patch | 38 ++
 dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild | 35 
 4 files changed, 87 insertions(+)

diff --git a/dev-python/leechcorepyc/Manifest b/dev-python/leechcorepyc/Manifest
index 9fdc752b34f0..b5f44afbfdd1 100644
--- a/dev-python/leechcorepyc/Manifest
+++ b/dev-python/leechcorepyc/Manifest
@@ -1 +1,2 @@
 DIST leechcorepyc-2.13.0.tar.gz 123152 BLAKE2B 
8a3ae5b0f0d52296ef71bbbea5140f9dec6abd379ae2a1b0e3a418090a11e5196731b1c4cba5320d4058c562911366cc9dd84f3a30f58ddc7c66362a9b39af8f
 SHA512 
1420f635bebafe1e07cb5f0ade3e6b141433d4a72ec165713f959dc19e05f42a86440c5c99dd5d759aee221ee478e91e7161541cebe11be6dfa286fad79843ae
+DIST leechcorepyc-2.14.0.tar.gz 124463 BLAKE2B 
26b7581da76ab3f8981e956ab2f64de2094cc906788455e38784fb50dbad31b8b14de2f510cb49b9c1e842e2a66effd44a2db94cb6ef9e7ec9f11c3af0d9434c
 SHA512 
c7d1d50727023f6b34bbc9682dba9bc70ae69962dcd5c326612a0dcd48a2a90ecfe674391559271d65d7720d755edde02342fb999e53ad54f8095c589060b901

diff --git a/dev-python/leechcorepyc/files/leechcorepyc-2.14.0-cflags.patch 
b/dev-python/leechcorepyc/files/leechcorepyc-2.14.0-cflags.patch
new file mode 100644
index ..945f4e41e1c1
--- /dev/null
+++ b/dev-python/leechcorepyc/files/leechcorepyc-2.14.0-cflags.patch
@@ -0,0 +1,13 @@
+Bug: https://bugs.gentoo.org/893824
+--- a/leechcore/Makefile
 b/leechcore/Makefile
+@@ -6,7 +6,8 @@
+ # CFLAGS  += -fsanitize=address -fsanitize=leak -fno-omit-frame-pointer 
-fsanitize=undefined -fsanitize=bounds-strict -fsanitize=float-divide-by-zero 
-fsanitize=float-cast-overflow
+ # CFLAGS  += -fsanitize=pointer-compare -fsanitize=pointer-subtract -fanalyzer
+ # DEBUG FLAGS ABOVE
+-CFLAGS  += -fPIE -fPIC -pie -fstack-protector -D_FORTIFY_SOURCE=2 -O1 
-Wl,-z,noexecstack
++CFLAGS  := -D_FORTIFY_SOURCE=2 ${CFLAGS}
++CFLAGS  += -fPIE -fPIC -pie -Wl,-z,noexecstack
+ CFLAGS  += -Wall -Wno-unused-result -Wno-unused-variable -Wno-unused-value 
-Wno-pointer-to-int-cast -Wno-int-to-pointer-cast
+ LDFLAGS += -g -ldl -shared
+ DEPS = leechcore.h

diff --git a/dev-python/leechcorepyc/files/leechcorepyc-2.14.0-respect-CC.patch 
b/dev-python/leechcorepyc/files/leechcorepyc-2.14.0-respect-CC.patch
new file mode 100644
index ..4fdebf98d445
--- /dev/null
+++ b/dev-python/leechcorepyc/files/leechcorepyc-2.14.0-respect-CC.patch
@@ -0,0 +1,38 @@
+--- a/leechcore/Makefile
 b/leechcore/Makefile
+@@ -1,5 +1,6 @@
+-CC=gcc
+-CFLAGS  += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden 
-pthread `pkg-config libusb-1.0 --libs --cflags`
++CC?=gcc
++PKG_CONFIG ?= pkg-config
++CFLAGS  += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden 
-pthread `$(PKG_CONFIG) libusb-1.0 --libs --cflags`
+ # DEBUG FLAGS BELOW
+ # export 
ASAN_OPTIONS=strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1:detect_invalid_pointer_pairs=2
+ # CFLAGS  += -g -O0 -Wextra -Wno-unused-parameter -Wno-cast-function-type
+--- a/leechcore_device_rawtcp/Makefile
 b/leechcore_device_rawtcp/Makefile
+@@ -1,4 +1,4 @@
+-CC=gcc
++CC?=gcc
+ CFLAGS  += -I. -I../includes -D LINUX -shared -fPIC -fvisibility=hidden
+ LDFLAGS += -g -shared
+ DEPS = 
+--- a/leechcore_device_sp605tcp/Makefile
 b/leechcore_device_sp605tcp/Makefile
+@@ -1,4 +1,4 @@
+-CC=gcc
++CC?=gcc
+ CFLAGS  += -I. -I../includes -D LINUX -shared -fPIC -fvisibility=hidden
+ LDFLAGS += -g -shared
+ DEPS = 
+--- a/leechcore_ft601_driver_linux/Makefile
 b/leechcore_ft601_driver_linux/Makefile
+@@ -1,5 +1,6 @@
+-CC=gcc
+-CFLAGS  += -I. -D LINUX -shared -fPIC -fvisibility=hidden `pkg-config 
libusb-1.0 --libs --cflags`
++CC?=gcc
++PKG_CONFIG ?= pkg-config
++CFLAGS  += -I. -D LINUX -shared -fPIC -fvisibility=hidden `$(PKG_CONFIG) 
libusb-1.0 --libs --cflags`
+ LDFLAGS += -g -shared
+ DEPS = leechcore_ft601_driver_linux.h
+ OBJ = fpga_libusb.o leechcore_ft601_driver_linux.o

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild
new file mode 100644
index ..bf736abb4c7b
--- /dev/null
+++ b/dev-python/leechcorepyc/leechcorepyc-2.14.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+

[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2023-01-04 Thread Sam James
commit: ff5c954cdd0aa8d236d7a288b500d8c09833c0e0
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Wed Jan  4 20:16:25 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  5 05:19:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff5c954c

dev-python/leechcorepyc: drop 2.12.1

Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Signed-off-by: Sam James  gentoo.org>

 dev-python/leechcorepyc/Manifest   |  1 -
 dev-python/leechcorepyc/leechcorepyc-2.12.1.ebuild | 34 --
 2 files changed, 35 deletions(-)

diff --git a/dev-python/leechcorepyc/Manifest b/dev-python/leechcorepyc/Manifest
index c953fdbad353..9fdc752b34f0 100644
--- a/dev-python/leechcorepyc/Manifest
+++ b/dev-python/leechcorepyc/Manifest
@@ -1,2 +1 @@
-DIST leechcorepyc-2.12.1.tar.gz 120816 BLAKE2B 
b9af01e7544c0c77105435bd49d633c182e91788035a56747fef7ed860cc3570e766b038d5445df8e9d2df6e81a47a133af290b7c45db729eec7a0e46d8a0f38
 SHA512 
b2c3eb32bd5727839fe3ead1d5d123be4abc7b96deb71897461c3a559994ff7d6d26e3b1b857f119b8003023efa619c01073082046eb9fb105f8a8627b49d6db
 DIST leechcorepyc-2.13.0.tar.gz 123152 BLAKE2B 
8a3ae5b0f0d52296ef71bbbea5140f9dec6abd379ae2a1b0e3a418090a11e5196731b1c4cba5320d4058c562911366cc9dd84f3a30f58ddc7c66362a9b39af8f
 SHA512 
1420f635bebafe1e07cb5f0ade3e6b141433d4a72ec165713f959dc19e05f42a86440c5c99dd5d759aee221ee478e91e7161541cebe11be6dfa286fad79843ae

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.12.1.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.12.1.ebuild
deleted file mode 100644
index 09a5ccc7af35..
--- a/dev-python/leechcorepyc/leechcorepyc-2.12.1.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..11} )
-
-inherit distutils-r1 toolchain-funcs
-
-DESCRIPTION="Python binding for LeechCore Physical Memory Acquisition Library"
-HOMEPAGE="https://github.com/ufrisk/LeechCore;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-# leechcorepyc ships with a bundled version of the LeechCore library. So we
-# don't depend on the library here. But we must be aware this module doesn't
-# use the system library.
-DEPEND="virtual/libusb:="
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.12.0-respect-CC.patch
-)
-
-src_configure() {
-   tc-export CC
-
-   distutils-r1_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2022-11-07 Thread Sam James
commit: 56b9e5effab4acb5ef0298ef74dda22fe785a9b0
Author: Sam James  gentoo  org>
AuthorDate: Mon Nov  7 23:54:28 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Nov  7 23:54:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56b9e5ef

dev-python/leechcorepyc: Stabilize 2.13.0 x86, #880245

Signed-off-by: Sam James  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.13.0.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.13.0.ebuild
index 59dd339fd0a7..09a5ccc7af35 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.13.0.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.13.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 # leechcorepyc ships with a bundled version of the LeechCore library. So we
 # don't depend on the library here. But we must be aware this module doesn't



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2022-11-07 Thread Sam James
commit: 726a020efd18d7b420f23fad03dffc6041b21bd2
Author: Sam James  gentoo  org>
AuthorDate: Mon Nov  7 23:18:02 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Nov  7 23:18:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=726a020e

dev-python/leechcorepyc: Stabilize 2.13.0 amd64, #880245

Signed-off-by: Sam James  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.13.0.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.13.0.ebuild
index 25fcfee44ade..59dd339fd0a7 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.13.0.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.13.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 # leechcorepyc ships with a bundled version of the LeechCore library. So we
 # don't depend on the library here. But we must be aware this module doesn't



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2022-10-10 Thread Michał Górny
commit: 0989050889e4d44c8438edd8ba071890016ca835
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct 10 20:19:10 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct 10 20:19:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09890508

dev-python/leechcorepyc: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/leechcorepyc/Manifest   |  1 -
 dev-python/leechcorepyc/leechcorepyc-2.12.0.ebuild | 34 --
 2 files changed, 35 deletions(-)

diff --git a/dev-python/leechcorepyc/Manifest b/dev-python/leechcorepyc/Manifest
index 161857fa2b43..c953fdbad353 100644
--- a/dev-python/leechcorepyc/Manifest
+++ b/dev-python/leechcorepyc/Manifest
@@ -1,3 +1,2 @@
-DIST leechcorepyc-2.12.0.tar.gz 120774 BLAKE2B 
7e7de1388acb73bb391ae5451c5b4f3f4b6c4891a1c420f2d662c930a37d4db702731c70861d8467b82b4e29dc1c22560215b1f8fe9ec8f7675fe69b63844ae3
 SHA512 
bb8c4c76ab8ec610f8c879c75dbed36006b16a165c20ac17ccd8a8978e1e0b4f5543c8aa8b054ea4cf58d38e908e8b92ba13898697c2465776add1bc964762b1
 DIST leechcorepyc-2.12.1.tar.gz 120816 BLAKE2B 
b9af01e7544c0c77105435bd49d633c182e91788035a56747fef7ed860cc3570e766b038d5445df8e9d2df6e81a47a133af290b7c45db729eec7a0e46d8a0f38
 SHA512 
b2c3eb32bd5727839fe3ead1d5d123be4abc7b96deb71897461c3a559994ff7d6d26e3b1b857f119b8003023efa619c01073082046eb9fb105f8a8627b49d6db
 DIST leechcorepyc-2.13.0.tar.gz 123152 BLAKE2B 
8a3ae5b0f0d52296ef71bbbea5140f9dec6abd379ae2a1b0e3a418090a11e5196731b1c4cba5320d4058c562911366cc9dd84f3a30f58ddc7c66362a9b39af8f
 SHA512 
1420f635bebafe1e07cb5f0ade3e6b141433d4a72ec165713f959dc19e05f42a86440c5c99dd5d759aee221ee478e91e7161541cebe11be6dfa286fad79843ae

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.12.0.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.12.0.ebuild
deleted file mode 100644
index 09a5ccc7af35..
--- a/dev-python/leechcorepyc/leechcorepyc-2.12.0.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..11} )
-
-inherit distutils-r1 toolchain-funcs
-
-DESCRIPTION="Python binding for LeechCore Physical Memory Acquisition Library"
-HOMEPAGE="https://github.com/ufrisk/LeechCore;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-# leechcorepyc ships with a bundled version of the LeechCore library. So we
-# don't depend on the library here. But we must be aware this module doesn't
-# use the system library.
-DEPEND="virtual/libusb:="
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.12.0-respect-CC.patch
-)
-
-src_configure() {
-   tc-export CC
-
-   distutils-r1_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2022-10-10 Thread Sam James
commit: 95c4ec1a95bad7f2faea8129cf5f7243cf68621c
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct 10 18:33:35 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct 10 18:33:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95c4ec1a

dev-python/leechcorepyc: Stabilize 2.12.1 x86, #876583

Signed-off-by: Sam James  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.12.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.12.1.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.12.1.ebuild
index 59dd339fd0a7..09a5ccc7af35 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.12.1.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.12.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 # leechcorepyc ships with a bundled version of the LeechCore library. So we
 # don't depend on the library here. But we must be aware this module doesn't



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2022-10-10 Thread Sam James
commit: b9e438f718e9cca2740b734828adfdc2e8ca097e
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct 10 18:32:19 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct 10 18:33:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9e438f7

dev-python/leechcorepyc: Stabilize 2.12.1 amd64, #876583

Signed-off-by: Sam James  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.12.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.12.1.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.12.1.ebuild
index 25fcfee44ade..59dd339fd0a7 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.12.1.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.12.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 # leechcorepyc ships with a bundled version of the LeechCore library. So we
 # don't depend on the library here. But we must be aware this module doesn't



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/files/

2022-09-14 Thread Sam James
commit: 29bb553a1d6f59014051de827d5c7a2a943a4bb0
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Sep 12 17:20:24 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep 14 22:28:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29bb553a

dev-python/leechcorepyc: remove unused patch

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Portage 3.0.36 / pkgdev 0.2.1 / pkgcheck 0.10.14
Closes: https://github.com/gentoo/gentoo/pull/27228
Signed-off-by: Sam James  gentoo.org>

 .../files/leechcorepyc-2.10.2-respect-CC.patch | 49 --
 1 file changed, 49 deletions(-)

diff --git a/dev-python/leechcorepyc/files/leechcorepyc-2.10.2-respect-CC.patch 
b/dev-python/leechcorepyc/files/leechcorepyc-2.10.2-respect-CC.patch
deleted file mode 100644
index 62c5669ae6c1..
--- a/dev-python/leechcorepyc/files/leechcorepyc-2.10.2-respect-CC.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-diff --git a/leechcore/Makefile b/leechcore/Makefile
-index 4f4ff0f..bb04781 100755
 a/leechcore/Makefile
-+++ b/leechcore/Makefile
-@@ -1,7 +1,8 @@
--CC=gcc
--CFLAGS  += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden 
-pthread `pkg-config libusb-1.0 --libs --cflags`
-+CC?=gcc
-+PKG_CONFIG ?= pkg-config
-+CFLAGS  += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden 
-pthread `$(PKG_CONFIG) libusb-1.0 --libs --cflags`
- #CFLAGS  += -g -O0
--CFLAGS  += -fPIE -fPIC -pie -fstack-protector -D_FORTIFY_SOURCE=2 -O1 
-Wl,-z,noexecstack
-+CFLAGS  += -fPIE -fPIC -pie -D_FORTIFY_SOURCE=2 -Wl,-z,noexecstack
- CFLAGS  += -Wall -Wno-unused-result -Wno-unused-variable -Wno-unused-value 
-Wno-pointer-to-int-cast -Wno-int-to-pointer-cast
- LDFLAGS += -g -ldl -shared
- DEPS = leechcore.h
-diff --git a/leechcore_device_rawtcp/Makefile 
b/leechcore_device_rawtcp/Makefile
-index 6ce9a8b..b3e7990 100755
 a/leechcore_device_rawtcp/Makefile
-+++ b/leechcore_device_rawtcp/Makefile
-@@ -1,4 +1,4 @@
--CC=gcc
-+CC?=gcc
- CFLAGS  += -I. -I../includes -D LINUX -shared -fPIC -fvisibility=hidden
- LDFLAGS += -g -shared
- DEPS = 
-diff --git a/leechcore_device_sp605tcp/Makefile 
b/leechcore_device_sp605tcp/Makefile
-index b3e4db4..f727c04 100755
 a/leechcore_device_sp605tcp/Makefile
-+++ b/leechcore_device_sp605tcp/Makefile
-@@ -1,4 +1,4 @@
--CC=gcc
-+CC?=gcc
- CFLAGS  += -I. -I../includes -D LINUX -shared -fPIC -fvisibility=hidden
- LDFLAGS += -g -shared
- DEPS = 
-diff --git a/leechcore_ft601_driver_linux/Makefile 
b/leechcore_ft601_driver_linux/Makefile
-index 7afbf33..6b62aa8 100755
 a/leechcore_ft601_driver_linux/Makefile
-+++ b/leechcore_ft601_driver_linux/Makefile
-@@ -1,5 +1,6 @@
--CC=gcc
--CFLAGS  += -I. -D LINUX -shared -fPIC -fvisibility=hidden `pkg-config 
libusb-1.0 --libs --cflags`
-+CC?=gcc
-+PKG_CONFIG ?= pkg-config
-+CFLAGS  += -I. -D LINUX -shared -fPIC -fvisibility=hidden `$(PKG_CONFIG) 
libusb-1.0 --libs --cflags`
- LDFLAGS += -g -shared
- DEPS = leechcore_ft601_driver_linux.h
- OBJ = fpga_libusb.o leechcore_ft601_driver_linux.o



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2022-09-06 Thread Jakov Smolić
commit: b852438348a2ae3ce388aa9d3071ea08ee1446cd
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Sep  6 09:47:52 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Sep  6 09:47:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8524383

dev-python/leechcorepyc: Stabilize 2.12.0 x86, #868672

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.12.0.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.12.0.ebuild
index 59dd339fd0a7..09a5ccc7af35 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.12.0.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.12.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 # leechcorepyc ships with a bundled version of the LeechCore library. So we
 # don't depend on the library here. But we must be aware this module doesn't



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2022-09-06 Thread Jakov Smolić
commit: ad714403f642e64fc58c6652a6e290e7b10e1c26
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Sep  6 09:00:00 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Sep  6 09:00:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad714403

dev-python/leechcorepyc: Stabilize 2.12.0 amd64, #868672

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.12.0.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.12.0.ebuild
index 25fcfee44ade..59dd339fd0a7 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.12.0.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.12.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 # leechcorepyc ships with a bundled version of the LeechCore library. So we
 # don't depend on the library here. But we must be aware this module doesn't



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/files/, dev-python/leechcorepyc/

2022-08-05 Thread Arthur Zamarin
commit: fa8c6321e393235a14583a0a7e1b85fade2d076d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Aug  5 06:09:51 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Aug  5 06:30:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa8c6321

dev-python/leechcorepyc: add 2.12.0

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/leechcorepyc/Manifest   |  1 +
 .../files/leechcorepyc-2.12.0-respect-CC.patch | 41 ++
 dev-python/leechcorepyc/leechcorepyc-2.12.0.ebuild | 34 ++
 3 files changed, 76 insertions(+)

diff --git a/dev-python/leechcorepyc/Manifest b/dev-python/leechcorepyc/Manifest
index 996d1eee59a1..cacb30a5f45e 100644
--- a/dev-python/leechcorepyc/Manifest
+++ b/dev-python/leechcorepyc/Manifest
@@ -1 +1,2 @@
 DIST leechcorepyc-2.10.2.tar.gz 119984 BLAKE2B 
e9bba5dd548ce5ce8c3a367d1ae21b66fca796e5614fe3cc86cdc16ddd1b589261534b551992a3964542f6d61fb6fb64bc9e2e03f8775486761107a4ffbeb958
 SHA512 
16048f3494452ff75fa946d65dfa36a7b0dd30c132db10c01fdc1dbe0de051c69856bf7b9830d68ee17ec1e4ce5fb29ba17a14f0facb928b81e4094ac5009716
+DIST leechcorepyc-2.12.0.tar.gz 120774 BLAKE2B 
7e7de1388acb73bb391ae5451c5b4f3f4b6c4891a1c420f2d662c930a37d4db702731c70861d8467b82b4e29dc1c22560215b1f8fe9ec8f7675fe69b63844ae3
 SHA512 
bb8c4c76ab8ec610f8c879c75dbed36006b16a165c20ac17ccd8a8978e1e0b4f5543c8aa8b054ea4cf58d38e908e8b92ba13898697c2465776add1bc964762b1

diff --git a/dev-python/leechcorepyc/files/leechcorepyc-2.12.0-respect-CC.patch 
b/dev-python/leechcorepyc/files/leechcorepyc-2.12.0-respect-CC.patch
new file mode 100644
index ..6bf48b0c6bcd
--- /dev/null
+++ b/dev-python/leechcorepyc/files/leechcorepyc-2.12.0-respect-CC.patch
@@ -0,0 +1,41 @@
+--- a/leechcore/Makefile
 b/leechcore/Makefile
+@@ -1,7 +1,8 @@
+-CC=gcc
+-CFLAGS  += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden 
-pthread `pkg-config libusb-1.0 --libs --cflags`
++CC?=gcc
++PKG_CONFIG ?= pkg-config
++CFLAGS  += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden 
-pthread `$(PKG_CONFIG) libusb-1.0 --libs --cflags`
+ #CFLAGS  += -g -O0 -Wextra -Wno-unused-parameter
+-CFLAGS  += -fPIE -fPIC -pie -fstack-protector -D_FORTIFY_SOURCE=2 -O1 
-Wl,-z,noexecstack
++CFLAGS  += -fPIE -fPIC -pie -D_FORTIFY_SOURCE=2 -Wl,-z,noexecstack
+ CFLAGS  += -Wall -Wno-unused-result -Wno-unused-variable -Wno-unused-value 
-Wno-pointer-to-int-cast -Wno-int-to-pointer-cast
+ LDFLAGS += -g -ldl -shared
+ DEPS = leechcore.h
+--- a/leechcore_device_rawtcp/Makefile
 b/leechcore_device_rawtcp/Makefile
+@@ -1,4 +1,4 @@
+-CC=gcc
++CC?=gcc
+ CFLAGS  += -I. -I../includes -D LINUX -shared -fPIC -fvisibility=hidden
+ LDFLAGS += -g -shared
+ DEPS = 
+--- a/leechcore_device_sp605tcp/Makefile
 b/leechcore_device_sp605tcp/Makefile
+@@ -1,4 +1,4 @@
+-CC=gcc
++CC?=gcc
+ CFLAGS  += -I. -I../includes -D LINUX -shared -fPIC -fvisibility=hidden
+ LDFLAGS += -g -shared
+ DEPS = 
+--- a/leechcore_ft601_driver_linux/Makefile
 b/leechcore_ft601_driver_linux/Makefile
+@@ -1,5 +1,6 @@
+-CC=gcc
+-CFLAGS  += -I. -D LINUX -shared -fPIC -fvisibility=hidden `pkg-config 
libusb-1.0 --libs --cflags`
++CC?=gcc
++PKG_CONFIG ?= pkg-config
++CFLAGS  += -I. -D LINUX -shared -fPIC -fvisibility=hidden `$(PKG_CONFIG) 
libusb-1.0 --libs --cflags`
+ LDFLAGS += -g -shared
+ DEPS = leechcore_ft601_driver_linux.h
+ OBJ = fpga_libusb.o leechcore_ft601_driver_linux.o

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.12.0.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.12.0.ebuild
new file mode 100644
index ..80330d420909
--- /dev/null
+++ b/dev-python/leechcorepyc/leechcorepyc-2.12.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1 toolchain-funcs
+
+DESCRIPTION="Python binding for LeechCore Physical Memory Acquisition Library"
+HOMEPAGE="https://github.com/ufrisk/LeechCore;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# leechcorepyc ships with a bundled version of the LeechCore library. So we
+# don't depend on the library here. But we must be aware this module doesn't
+# use the system library.
+DEPEND="virtual/libusb:="
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.12.0-respect-CC.patch
+)
+
+src_configure() {
+   tc-export CC
+
+   distutils-r1_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2022-08-05 Thread Arthur Zamarin
commit: 575ef082ec55f32ab80fd9733be50cf486e5435c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Aug  5 06:11:00 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Aug  5 06:30:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=575ef082

dev-python/leechcorepyc: enable py3.11

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.12.0.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.12.0.ebuild
index 80330d420909..25fcfee44ade 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.12.0.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.12.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 
 inherit distutils-r1 toolchain-funcs
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2022-07-14 Thread Sam James
commit: 18d6ec58be2f4ed8bc0a998828cb93f6a23419af
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 15 00:44:15 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 15 00:44:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18d6ec58

dev-python/leechcorepyc: Stabilize 2.10.2 amd64, #857972

Signed-off-by: Sam James  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.10.2.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.10.2.ebuild
index 8d181158877b..8503b6007130 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.10.2.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.10.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 
 # leechcorepyc ships with a bundled version of the LeechCore library. So we
 # dont't depend on the library here. But we must be aware this module doesn't



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2022-07-14 Thread Arthur Zamarin
commit: ea34ae5c724493161fb7dcab12495ec354be5172
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Jul 14 19:29:12 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Jul 14 19:29:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea34ae5c

dev-python/leechcorepyc: Stabilize 2.10.2 x86, #857972

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.10.2.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.10.2.ebuild
index 0032455b0640..8d181158877b 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.10.2.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.10.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 
 # leechcorepyc ships with a bundled version of the LeechCore library. So we
 # dont't depend on the library here. But we must be aware this module doesn't



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2022-04-10 Thread Sam James
commit: 18907b9961d8060a35f11c02d7cbb9779e66d490
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 10 16:35:35 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 10 16:38:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18907b99

dev-python/leechcorepyc: add github, pypi upstream metadata

Signed-off-by: Sam James  gentoo.org>

 dev-python/leechcorepyc/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-python/leechcorepyc/metadata.xml 
b/dev-python/leechcorepyc/metadata.xml
index ea0d9f1880bf..03088b06ca5a 100644
--- a/dev-python/leechcorepyc/metadata.xml
+++ b/dev-python/leechcorepyc/metadata.xml
@@ -13,4 +13,8 @@
The LeechCore Memory Acquisition Library focuses on Physical 
Memory
Acquisition using various hardware and software based methods.

+   
+   ufrisk/LeechCore
+   leechcorepyc
+   
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2022-04-10 Thread Sam James
commit: 8aee68a235f98f6e049c144d4d4e67c3fca7f117
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 10 16:33:53 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 10 16:38:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aee68a2

dev-python/leechcorepyc: sort variables

Signed-off-by: Sam James  gentoo.org>

 dev-python/leechcorepyc/leechcorepyc-2.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.10.2.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.10.2.ebuild
index fc294ddf5e5b..0032455b0640 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.10.2.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.10.2.ebuild
@@ -12,9 +12,9 @@ DESCRIPTION="Python binding for LeechCore Physical Memory 
Acquisition Library"
 HOMEPAGE="https://github.com/ufrisk/LeechCore;
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
-KEYWORDS="~amd64 ~x86"
 LICENSE="GPL-3"
 SLOT="0"
+KEYWORDS="~amd64 ~x86"
 
 # leechcorepyc ships with a bundled version of the LeechCore library. So we
 # dont't depend on the library here. But we must be aware this module doesn't



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/

2022-04-04 Thread Sam James
commit: 6a420dcc40fb7276e531321438455ac652798449
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Sun Jan 16 12:53:30 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr  5 03:24:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a420dcc

dev-python/leechcorepyc: new ebuild

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Signed-off-by: Sam James  gentoo.org>

 dev-python/leechcorepyc/Manifest   |  1 +
 dev-python/leechcorepyc/leechcorepyc-2.10.2.ebuild | 26 ++
 dev-python/leechcorepyc/metadata.xml   | 16 +
 3 files changed, 43 insertions(+)

diff --git a/dev-python/leechcorepyc/Manifest b/dev-python/leechcorepyc/Manifest
new file mode 100644
index ..996d1eee59a1
--- /dev/null
+++ b/dev-python/leechcorepyc/Manifest
@@ -0,0 +1 @@
+DIST leechcorepyc-2.10.2.tar.gz 119984 BLAKE2B 
e9bba5dd548ce5ce8c3a367d1ae21b66fca796e5614fe3cc86cdc16ddd1b589261534b551992a3964542f6d61fb6fb64bc9e2e03f8775486761107a4ffbeb958
 SHA512 
16048f3494452ff75fa946d65dfa36a7b0dd30c132db10c01fdc1dbe0de051c69856bf7b9830d68ee17ec1e4ce5fb29ba17a14f0facb928b81e4094ac5009716

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.10.2.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.10.2.ebuild
new file mode 100644
index ..3dcfe7dbd0a1
--- /dev/null
+++ b/dev-python/leechcorepyc/leechcorepyc-2.10.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python binding for LeechCore Physical Memory Acquisition Library"
+HOMEPAGE="https://github.com/ufrisk/LeechCore;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-3"
+SLOT="0"
+
+# leechcorepyc ships with a bundled version of the LeechCore library. So we
+# dont't depend on the library here. But we must be aware this module doesn't
+# use the system library.
+
+DEPEND="virtual/libusb:="
+RDEPEND="
+   ${DEPEND}
+   ${PYTHON_DEPS}
+"

diff --git a/dev-python/leechcorepyc/metadata.xml 
b/dev-python/leechcorepyc/metadata.xml
new file mode 100644
index ..ea0d9f1880bf
--- /dev/null
+++ b/dev-python/leechcorepyc/metadata.xml
@@ -0,0 +1,16 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   mario.haust...@hrz.tu-chemnitz.de
+   Mario Haustein
+   
+   
+   s...@gentoo.org
+   Sam James
+   
+   
+   The LeechCore Memory Acquisition Library focuses on Physical 
Memory
+   Acquisition using various hardware and software based methods.
+   
+



[gentoo-commits] repo/gentoo:master commit in: dev-python/leechcorepyc/, dev-python/leechcorepyc/files/

2022-04-04 Thread Sam James
commit: 281cc60b6ef9be6cb3bcd889e422b5bc64ab8eba
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr  5 03:31:29 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr  5 03:31:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=281cc60b

dev-python/leechcorepyc: respect CC; use PEP517

Signed-off-by: Sam James  gentoo.org>

 .../files/leechcorepyc-2.10.2-respect-CC.patch | 49 ++
 dev-python/leechcorepyc/leechcorepyc-2.10.2.ebuild | 21 +++---
 2 files changed, 64 insertions(+), 6 deletions(-)

diff --git a/dev-python/leechcorepyc/files/leechcorepyc-2.10.2-respect-CC.patch 
b/dev-python/leechcorepyc/files/leechcorepyc-2.10.2-respect-CC.patch
new file mode 100644
index ..62c5669ae6c1
--- /dev/null
+++ b/dev-python/leechcorepyc/files/leechcorepyc-2.10.2-respect-CC.patch
@@ -0,0 +1,49 @@
+diff --git a/leechcore/Makefile b/leechcore/Makefile
+index 4f4ff0f..bb04781 100755
+--- a/leechcore/Makefile
 b/leechcore/Makefile
+@@ -1,7 +1,8 @@
+-CC=gcc
+-CFLAGS  += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden 
-pthread `pkg-config libusb-1.0 --libs --cflags`
++CC?=gcc
++PKG_CONFIG ?= pkg-config
++CFLAGS  += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden 
-pthread `$(PKG_CONFIG) libusb-1.0 --libs --cflags`
+ #CFLAGS  += -g -O0
+-CFLAGS  += -fPIE -fPIC -pie -fstack-protector -D_FORTIFY_SOURCE=2 -O1 
-Wl,-z,noexecstack
++CFLAGS  += -fPIE -fPIC -pie -D_FORTIFY_SOURCE=2 -Wl,-z,noexecstack
+ CFLAGS  += -Wall -Wno-unused-result -Wno-unused-variable -Wno-unused-value 
-Wno-pointer-to-int-cast -Wno-int-to-pointer-cast
+ LDFLAGS += -g -ldl -shared
+ DEPS = leechcore.h
+diff --git a/leechcore_device_rawtcp/Makefile 
b/leechcore_device_rawtcp/Makefile
+index 6ce9a8b..b3e7990 100755
+--- a/leechcore_device_rawtcp/Makefile
 b/leechcore_device_rawtcp/Makefile
+@@ -1,4 +1,4 @@
+-CC=gcc
++CC?=gcc
+ CFLAGS  += -I. -I../includes -D LINUX -shared -fPIC -fvisibility=hidden
+ LDFLAGS += -g -shared
+ DEPS = 
+diff --git a/leechcore_device_sp605tcp/Makefile 
b/leechcore_device_sp605tcp/Makefile
+index b3e4db4..f727c04 100755
+--- a/leechcore_device_sp605tcp/Makefile
 b/leechcore_device_sp605tcp/Makefile
+@@ -1,4 +1,4 @@
+-CC=gcc
++CC?=gcc
+ CFLAGS  += -I. -I../includes -D LINUX -shared -fPIC -fvisibility=hidden
+ LDFLAGS += -g -shared
+ DEPS = 
+diff --git a/leechcore_ft601_driver_linux/Makefile 
b/leechcore_ft601_driver_linux/Makefile
+index 7afbf33..6b62aa8 100755
+--- a/leechcore_ft601_driver_linux/Makefile
 b/leechcore_ft601_driver_linux/Makefile
+@@ -1,5 +1,6 @@
+-CC=gcc
+-CFLAGS  += -I. -D LINUX -shared -fPIC -fvisibility=hidden `pkg-config 
libusb-1.0 --libs --cflags`
++CC?=gcc
++PKG_CONFIG ?= pkg-config
++CFLAGS  += -I. -D LINUX -shared -fPIC -fvisibility=hidden `$(PKG_CONFIG) 
libusb-1.0 --libs --cflags`
+ LDFLAGS += -g -shared
+ DEPS = leechcore_ft601_driver_linux.h
+ OBJ = fpga_libusb.o leechcore_ft601_driver_linux.o

diff --git a/dev-python/leechcorepyc/leechcorepyc-2.10.2.ebuild 
b/dev-python/leechcorepyc/leechcorepyc-2.10.2.ebuild
index 3dcfe7dbd0a1..fc294ddf5e5b 100644
--- a/dev-python/leechcorepyc/leechcorepyc-2.10.2.ebuild
+++ b/dev-python/leechcorepyc/leechcorepyc-2.10.2.ebuild
@@ -3,9 +3,10 @@
 
 EAPI=8
 
+DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{8..10} )
 
-inherit distutils-r1
+inherit distutils-r1 toolchain-funcs
 
 DESCRIPTION="Python binding for LeechCore Physical Memory Acquisition Library"
 HOMEPAGE="https://github.com/ufrisk/LeechCore;
@@ -18,9 +19,17 @@ SLOT="0"
 # leechcorepyc ships with a bundled version of the LeechCore library. So we
 # dont't depend on the library here. But we must be aware this module doesn't
 # use the system library.
-
 DEPEND="virtual/libusb:="
-RDEPEND="
-   ${DEPEND}
-   ${PYTHON_DEPS}
-"
+RDEPEND="${DEPEND}
+   ${PYTHON_DEPS}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.10.2-respect-CC.patch
+)
+
+src_configure() {
+   tc-export CC
+
+   distutils-r1_src_configure
+}