diff options
| author | root <root@alpha.trunkmasters.com> | 2026-07-30 03:04:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-07-30 03:04:49 -0500 |
| commit | 0fb86e044f244e00302b1878b3e15e0db0e4b7e5 (patch) | |
| tree | 01eeaaaafa24d9c759103aa30b91c5999ae52a1d /dev-python/stone | |
| parent | 8087a9548fbac1dade3245660600d025f43d6732 (diff) | |
| download | baldeagleos-repo-0fb86e044f244e00302b1878b3e15e0db0e4b7e5.tar.gz baldeagleos-repo-0fb86e044f244e00302b1878b3e15e0db0e4b7e5.tar.xz baldeagleos-repo-0fb86e044f244e00302b1878b3e15e0db0e4b7e5.zip | |
Adding metadata
Diffstat (limited to 'dev-python/stone')
| -rw-r--r-- | dev-python/stone/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/stone/files/stone-3.5.3-unvendor-ply.patch | 53 | ||||
| -rw-r--r-- | dev-python/stone/stone-3.5.3.ebuild (renamed from dev-python/stone/stone-3.3.9.ebuild) | 20 |
3 files changed, 72 insertions, 3 deletions
diff --git a/dev-python/stone/Manifest b/dev-python/stone/Manifest index dd2314b9f4b4..6e8182aeff2d 100644 --- a/dev-python/stone/Manifest +++ b/dev-python/stone/Manifest @@ -1,2 +1,2 @@ -DIST stone-3.3.9.gh.tar.gz 290882 BLAKE2B ad6e579d98b95d1828d0050ec29c53c6e5e52968def1fc10d315d311afdb8f350e9a7fd26330dce692c8f2419fe62ee22dba5ae54f0bcc91f09f51d7a7368f9c SHA512 916e8bce6e46114da8e684af25666d15257aa33bb0abb571c10f84457cfb958c309ca35bd3884f816ef8091c877e20b56b392cf5c85a760fab95f116efc7b321 DIST stone-3.5.0.gh.tar.gz 289745 BLAKE2B cbc1b2fb37b097ac8e6e9167a973b376377912e3a69ccc1a05c2e686d61c15212d767614cce1167535717ee4530b2013a2f13dbc86af3ca23150c7e8ac6497f0 SHA512 f595308e0bb11e5a27d9c8652db13b9a0f1f3646b9a54ff48b1e39a4041c88f0a41a2eae4437c31f7c9ae7a31e3634aa41da0b4b4c3ed7caa90dbf852efe3071 +DIST stone-3.5.3.gh.tar.gz 329020 BLAKE2B 1e4d677a05f8a5e69f4320938b7af554ba60736d80f359b62b1a658d008dc46bebbd7d32bd23d3b692393b7ed7d5239e68bdaa9139707b2d7865f89b89fee05e SHA512 2e7220b91a3416459b0de64fd1345a18d022e96b7009e51cea0e875909401110ffd9086f8bca809c798cc2bedc190fa154ac1cece1c328a2e60b731af3ba8f9e diff --git a/dev-python/stone/files/stone-3.5.3-unvendor-ply.patch b/dev-python/stone/files/stone-3.5.3-unvendor-ply.patch new file mode 100644 index 000000000000..09f75b436932 --- /dev/null +++ b/dev-python/stone/files/stone-3.5.3-unvendor-ply.patch @@ -0,0 +1,53 @@ +Upstream vendored dev-python/ply, but we can keep using the one in ::gentoo + +--- a/setup.py ++++ b/setup.py +@@ -20,8 +20,6 @@ + }, + packages=[ + 'stone', +- 'stone._vendor', +- 'stone._vendor.ply', + 'stone.backends', + 'stone.backends.python_rsrc', + 'stone.frontend', +@@ -29,7 +27,6 @@ + ], + package_data={ + 'stone': ['py.typed'], +- 'stone._vendor.ply': ['LICENSE', 'README.md'], + }, + zip_safe=False, + author_email='kelkabany@dropbox.com', +--- a/stone/cli_helpers.py ++++ b/stone/cli_helpers.py +@@ -1,6 +1,6 @@ + import abc + +-from stone._vendor.ply import lex, yacc ++from ply import lex, yacc + + _MYPY = False + if _MYPY: +--- a/stone/frontend/lexer.py ++++ b/stone/frontend/lexer.py +@@ -1,7 +1,7 @@ + import logging + import os + +-from stone._vendor.ply import lex ++from ply import lex + + _MYPY = False + if _MYPY: +--- a/stone/frontend/parser.py ++++ b/stone/frontend/parser.py +@@ -1,7 +1,7 @@ + import logging + from collections import OrderedDict + +-from stone._vendor.ply import yacc ++from ply import yacc + + from .ast import ( + AstAlias, diff --git a/dev-python/stone/stone-3.3.9.ebuild b/dev-python/stone/stone-3.5.3.ebuild index 3f3995f80782..d38498524f7f 100644 --- a/dev-python/stone/stone-3.3.9.ebuild +++ b/dev-python/stone/stone-3.5.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2025 Gentoo Authors +# Copyright 2021-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -24,7 +24,23 @@ RDEPEND=" dev-python/jinja2[${PYTHON_USEDEP}] dev-python/packaging[${PYTHON_USEDEP}] dev-python/ply[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] + dev-python/setuptools-scm[${PYTHON_USEDEP}] " +EPYTEST_PLUGINS=() distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/${PN}-3.5.3-unvendor-ply.patch +) + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +src_prepare() { + default + + # Unvendor ply + rm -r stone/_vendor || die + rm test/test_vendored_ply.py || die + rm test/test_version.py || die +} |
