* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/skia-pathops/, dev-python/skia-pathops/files/
@ 2023-03-08 6:58 Anna Vyalkova
0 siblings, 0 replies; 2+ messages in thread
From: Anna Vyalkova @ 2023-03-08 6:58 UTC (permalink / raw
To: gentoo-commits
commit: edde6bda98e2b68dc909a14fc43767d019cb47a4
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Mar 8 06:56:49 2023 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Wed Mar 8 06:56:49 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=edde6bda
dev-python/skia-pathops: add 0.7.4, drop 0.7.2
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
dev-python/skia-pathops/Manifest | 2 +-
.../files/skia-pathops-0.7.4-no-net.patch | 11 +++++++
...hops-0.7.2.ebuild => skia-pathops-0.7.4.ebuild} | 34 +++++++++++-----------
3 files changed, 29 insertions(+), 18 deletions(-)
diff --git a/dev-python/skia-pathops/Manifest b/dev-python/skia-pathops/Manifest
index 1e4302f0f..4a1c7521c 100644
--- a/dev-python/skia-pathops/Manifest
+++ b/dev-python/skia-pathops/Manifest
@@ -1 +1 @@
-DIST skia-pathops-0.7.2.zip 61294134 BLAKE2B 7cd7d5b9c244ee108bbf9b6c086e210fa05f65a8d2e36e7036a9ad94a1ff9ad2f8777ce74e4227ddd15e6b197afa668fad1cf8d110e5ac87e496c85b6e97c8dd SHA512 bf4c02895d08ee174f700d83753e3d5ada1f1de018a07b2e1574f01bd3283edaf71b1859c732d27a45030fc070232c34098760b3144b2a91a7bee72ff220394d
+DIST skia-pathops-0.7.4.zip 61294605 BLAKE2B f68f19a9de6c8d3a7052b8b6e89cfdd789a3ca6932563b9af9e46a8dde50f3583e15c12bfa519b841cd0cb40e765ee29a63a8a330a6109458a1597727095ae94 SHA512 71df9b0b237a70af2246a30d53e201da493deb7a098dd969c346745c60997df1aeb1b20d4c94c2443b1c710c464272b44e9225d58ac3a9fd1074816839ae797b
diff --git a/dev-python/skia-pathops/files/skia-pathops-0.7.4-no-net.patch b/dev-python/skia-pathops/files/skia-pathops-0.7.4-no-net.patch
new file mode 100644
index 000000000..0cac67bc7
--- /dev/null
+++ b/dev-python/skia-pathops/files/skia-pathops-0.7.4-no-net.patch
@@ -0,0 +1,11 @@
+--- a/setup.py
++++ b/setup.py
+@@ -252,7 +252,7 @@ def build_skia(build_base):
+ build_cmd = [sys.executable, build_skia_py, build_dir]
+
+ if inside_sdist:
+- build_cmd.append("--no-sync-deps")
++ build_cmd += ["--no-sync-deps", "--no-virtualenv", "--no-fetch-gn", "--gn-path", "/usr/bin/gn"]
+
+ env = os.environ
+ target_cpu = None
diff --git a/dev-python/skia-pathops/skia-pathops-0.7.2.ebuild b/dev-python/skia-pathops/skia-pathops-0.7.4.ebuild
similarity index 63%
rename from dev-python/skia-pathops/skia-pathops-0.7.2.ebuild
rename to dev-python/skia-pathops/skia-pathops-0.7.4.ebuild
index 65fd94b61..1406d2a62 100644
--- a/dev-python/skia-pathops/skia-pathops-0.7.2.ebuild
+++ b/dev-python/skia-pathops/skia-pathops-0.7.4.ebuild
@@ -1,42 +1,42 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{9..11} )
+PYPI_NO_NORMALIZE=1
DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1
+inherit distutils-r1 pypi
-MY_P="${P/_p/.post}"
DESCRIPTION="Python bindings for the Skia Path Ops"
HOMEPAGE="
- https://github.com/fonttools/skia-pathops
https://skia.org/dev/present/pathops
+ https://pypi.org/project/skia-pathops/
+ https://github.com/fonttools/skia-pathops
"
-SRC_URI="mirror://pypi/${MY_P:0:1}/${PN}/${MY_P}.zip"
-S="${WORKDIR}/${MY_P}"
+SRC_URI="$(pypi_sdist_url --no-normalize ${PN} ${PV} .zip)"
+
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
-RDEPEND="media-libs/skia"
-DEPEND="${RDEPEND}
- dev-python/cython[${PYTHON_USEDEP}]
-"
BDEPEND="
app-arch/unzip
+ dev-python/cython[${PYTHON_USEDEP}]
dev-python/setuptools-scm[${PYTHON_USEDEP}]
- test? ( dev-python/pytest-cython[${PYTHON_USEDEP}] )
+ dev-util/gn
+ dev-util/ninja
+ test? (
+ dev-python/pytest-cython[${PYTHON_USEDEP}]
+ )
"
-distutils_enable_tests pytest
+PATCHES=( "${FILESDIR}"/${PN}-0.7.4-no-net.patch )
-EPYTEST_DESELECT=(
+REPYTEST_DESELECT=(
tests/pathops_test.py::PathTest::test_transform
"tests/pathops_test.py::test_path_operation[conic_2_quad-operations3-expected3]"
"tests/pathops_test.py::test_path_operation[arc_to_quads-operations4-expected4]"
)
-pkg_setup() {
- export BUILD_SKIA_FROM_SOURCE=0
-}
+distutils_enable_tests pytest
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/skia-pathops/, dev-python/skia-pathops/files/
@ 2024-12-04 23:28 Henri Gasc
0 siblings, 0 replies; 2+ messages in thread
From: Henri Gasc @ 2024-12-04 23:28 UTC (permalink / raw
To: gentoo-commits
commit: 706ab228f3721f30f3adbae53d66c38bd4e95723
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Wed Dec 4 23:13:10 2024 +0000
Commit: Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Wed Dec 4 23:28:22 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=706ab228
dev-python/skia-pathops: Use 0.8.0.post2
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
dev-python/skia-pathops/Manifest | 2 +-
...4-no-net.patch => skia-pathops-0.8.0-no-net.patch} | 0
dev-python/skia-pathops/metadata.xml | 19 +++++++++++--------
...hops-0.8.0.ebuild => skia-pathops-0.8.0-r1.ebuild} | 13 ++++++-------
4 files changed, 18 insertions(+), 16 deletions(-)
diff --git a/dev-python/skia-pathops/Manifest b/dev-python/skia-pathops/Manifest
index c2bd807e9..fc226097f 100644
--- a/dev-python/skia-pathops/Manifest
+++ b/dev-python/skia-pathops/Manifest
@@ -1 +1 @@
-DIST skia-pathops-0.8.0.post1.zip 66955898 BLAKE2B d1ad24e7dd350b44deec8aaffb17110f048fc0d4584f192eb97b52b9f98604a6fbdd35d37cc5317da14dd33225904eaf8beb0bda761017a9267b7e9f62ca0d2d SHA512 8828a8d3f070d8c4503abc144f3c5566d23812a1646b8c07e61b2b93bc43343ddee8b0c603bf47d029cfbc193c336a2a0d55251230626eb391caaa4654537342
+DIST skia_pathops-0.8.0.post2.zip 66956087 BLAKE2B 10b899c6f8bf642163b157ac0f15473a723b624a7cbad0436f4e98c3608b717f8b54f61c95e71032550891f1528ccf79a60265a6edcc69f3669bc9f11fd4ad96 SHA512 ae3634613551b4465919bbbab4030a03e4c2cb4776d7257a690694a34fdfe246374d406585aa08c4fbf4760be0da8d0aae7dd8a4f84d9e3702b17c62b35449ca
diff --git a/dev-python/skia-pathops/files/skia-pathops-0.7.4-no-net.patch b/dev-python/skia-pathops/files/skia-pathops-0.8.0-no-net.patch
similarity index 100%
rename from dev-python/skia-pathops/files/skia-pathops-0.7.4-no-net.patch
rename to dev-python/skia-pathops/files/skia-pathops-0.8.0-no-net.patch
diff --git a/dev-python/skia-pathops/metadata.xml b/dev-python/skia-pathops/metadata.xml
index 43f457251..39029ac90 100644
--- a/dev-python/skia-pathops/metadata.xml
+++ b/dev-python/skia-pathops/metadata.xml
@@ -1,12 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="github">fonttools/skia-pathops</remote-id>
- <remote-id type="pypi">skia-pathops</remote-id>
- </upstream>
- <longdescription lang="en">
-Python bindings for the Google Skia library's Path Ops module, performing boolean operations on paths (intersection, union, difference, xor).
- </longdescription>
+ <maintainer type="person">
+ <email>gasc@eurecom.fr</email>
+ <name>Gasc Henri</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">fonttools/skia-pathops</remote-id>
+ <remote-id type="pypi">skia-pathops</remote-id>
+ </upstream>
+ <longdescription lang="en">
+ Python bindings for the Google Skia library's Path Ops module, performing boolean operations on paths (intersection, union, difference, xor).
+ </longdescription>
</pkgmetadata>
diff --git a/dev-python/skia-pathops/skia-pathops-0.8.0.ebuild b/dev-python/skia-pathops/skia-pathops-0.8.0-r1.ebuild
similarity index 73%
rename from dev-python/skia-pathops/skia-pathops-0.8.0.ebuild
rename to dev-python/skia-pathops/skia-pathops-0.8.0-r1.ebuild
index 1de1be9f3..2534d9801 100644
--- a/dev-python/skia-pathops/skia-pathops-0.8.0.ebuild
+++ b/dev-python/skia-pathops/skia-pathops-0.8.0-r1.ebuild
@@ -3,21 +3,20 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
-DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
-hash="fa6de52d9cb3a44158431d4cce870e7c2a56cdccedc8fa1262cbf61d4e1e"
-
+HASH="4c6ce1f1f3e8d3888165f2830adcf340922416c155647b12ebac2dcc423e"
DESCRIPTION="Python bindings for the Skia Path Ops"
HOMEPAGE="
https://skia.org/dev/present/pathops
https://pypi.org/project/skia-pathops/
https://github.com/fonttools/skia-pathops
"
-SRC_URI="https://files.pythonhosted.org/packages/37/15/${hash}/${P}.post1.zip"
-S="${WORKDIR}/${P}.post1"
+SRC_URI="https://files.pythonhosted.org/packages/e5/85/${HASH}/skia_pathops-${PV}.post2.zip"
+S="${WORKDIR}/skia_pathops-${PV}.post2"
LICENSE="BSD"
SLOT="0"
@@ -30,7 +29,7 @@ BDEPEND="
dev-build/gn
"
-PATCHES=( "${FILESDIR}"/${PN}-0.7.4-no-net.patch )
+PATCHES=( "${FILESDIR}"/${PN}-0.8.0-no-net.patch )
REPYTEST_DESELECT=(
tests/pathops_test.py::PathTest::test_transform
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-12-04 23:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-08 6:58 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/skia-pathops/, dev-python/skia-pathops/files/ Anna Vyalkova
-- strict thread matches above, loose matches on Subject: below --
2024-12-04 23:28 Henri Gasc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox