diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-06-11 01:27:55 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-06-11 01:27:55 +0000 |
| commit | cc426dee4497599c99eb1d2066848272a83b26d5 (patch) | |
| tree | 95ae412c18737b75660ea6bfbd69364058c164ae /dev-python | |
| parent | f3375f2af944a3c74905758636a05dd112c86c7e (diff) | |
| download | baldeagleos-repo-cc426dee4497599c99eb1d2066848272a83b26d5.tar.gz baldeagleos-repo-cc426dee4497599c99eb1d2066848272a83b26d5.tar.xz baldeagleos-repo-cc426dee4497599c99eb1d2066848272a83b26d5.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/Nuitka/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/Nuitka/Nuitka-1.6.3.ebuild | 54 | ||||
| -rw-r--r-- | dev-python/filelock/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/filelock/filelock-3.12.1.ebuild | 29 | ||||
| -rw-r--r-- | dev-python/platformdirs/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/platformdirs/platformdirs-3.5.3.ebuild | 49 |
6 files changed, 135 insertions, 0 deletions
diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest index 047c5eb76f1b..45a6e146e554 100644 --- a/dev-python/Nuitka/Manifest +++ b/dev-python/Nuitka/Manifest @@ -4,4 +4,5 @@ DIST Nuitka-1.5.7.tar.gz 4179130 BLAKE2B 1918f0263edf89884658f49d0241f9993c6da8e DIST Nuitka-1.5.8.tar.gz 4172897 BLAKE2B 1b4a50c6aacb6c41b4e068bc369a1c43839c8bca15c2786f3a37e8a3c6f2250e31c66192fd8ec79eb154e18e2f574819d27bc8ff3d80a97a248401966084d827 SHA512 963daea25553dc945e3f15020c7fcdabe6847ffd45167c84d68905dfe00630c132994587d1c9fc2076f19f29a46feab6b35ff15b9734d717ce50646192fa3039 DIST Nuitka-1.6.1.tar.gz 4251346 BLAKE2B e35fd67cf6d5e30ad2f9c9271fbb3309e5520af77dc6c62f407378e68785f2dcaae92d1723d797178a5171407daec3eda64c00d80845d83ea8e3f49bd14c31cf SHA512 6f47cec56eefd14dd6902fbb59aebf5a46513b45cf774ddce9e5b71ce374befae17c4c86cccb92c70c8f18a2e8595e5e9a1e78fa7bb5a5008cd86289185f3f4f DIST Nuitka-1.6.2.tar.gz 4225206 BLAKE2B 52422f996f8e00f77fa87b127076ba2379b4b9ab2063a296b0714a2353a044307fb22ccf2bfcf37f49bae6b029d145dfbcbbeca1a7b2cc2e92ad5ad657f6843d SHA512 49ce4ddbce2019f4e0b0af041449c4f962f9919ede00f3fe200a2343e9a22b0b0070079d00bd4ff1d40436624ad1abd1c2a4b5e9da3ac3b3f46205a4ac2f5972 +DIST Nuitka-1.6.3.tar.gz 4225582 BLAKE2B 55b8fe4cba1c83cf50bd9c13a441c39000b50dbf8282124dbb6e4536636a447817fdcbabba09f2fa9ffd5a03da28f37072f9dce0a5b22f7e87e6ffe881ac9298 SHA512 2337c01fde5211dcec5c11ad2f0dbce413033fe795a6e1e042fce00153043d443d5dbb3403aca235996d67f39303a1f7abe21e79c6c985c85fdd9b95a1c71ba7 DIST Nuitka-1.6.tar.gz 4222249 BLAKE2B c4451092bfeee7b632e5ebb7162ba46f9fad29d9837f4913948aafb84b4fc6e69845fe52886962c053b419ad3307e5929fa201a4aad5c7e80dd388e41f1504d6 SHA512 3951e354acc76b63c9d61267d4f14ee75d97bc3ec838326b33d59d2ad1809a7a33605e1a6544f6c5d23a57b97fe067b9ca154744ee90d5bc77c53b90b128ecbc diff --git a/dev-python/Nuitka/Nuitka-1.6.3.ebuild b/dev-python/Nuitka/Nuitka-1.6.3.ebuild new file mode 100644 index 000000000000..1158b562d51b --- /dev/null +++ b/dev-python/Nuitka/Nuitka-1.6.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 flag-o-matic optfeature pypi + +DESCRIPTION="Python to native compiler" +HOMEPAGE=" + https://www.nuitka.net/ + https://github.com/Nuitka/Nuitka/ + https://pypi.org/project/Nuitka/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~loong ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-util/scons[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( dev-util/ccache ) +" + +DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf ) + +distutils-r1_src_prepare() { + # remove vendored version of SCons that is Python2 only + # this should be removed when upstream removes support for Python2 + rm -vR "nuitka/build/inline_copy/lib/scons-2.3.2/SCons" || die + eapply_user +} + +python_install() { + distutils-r1_python_install + doman doc/nuitka3.1 doc/nuitka3-run.1 +} + +python_test() { + append-ldflags -Wl,--no-warn-search-mismatch + ./tests/basics/run_all.py search || die +} + +pkg_postinst() { + optfeature "support for stand-alone executables" app-admin/chrpath +} diff --git a/dev-python/filelock/Manifest b/dev-python/filelock/Manifest index a997c3eac0f2..4d5dba791631 100644 --- a/dev-python/filelock/Manifest +++ b/dev-python/filelock/Manifest @@ -1 +1,2 @@ DIST filelock-3.12.0.tar.gz 11839 BLAKE2B 3c363e7e7ca39ddf21a6c86ed4e98eff170c3be6d4c8429a641403dd7d90058a6f15330457f01217b994959514ad297aa5ae8807b0f1d6359455cf5776be8b90 SHA512 4bd5d9df76499e2a4f9dd9274fcc8bd507813446fa8e5852cef6c674d34d3db2313e4b79ac98eae07d6a9fe953de4ee6390baa4c9d5ab6a005c96324dd5904e8 +DIST filelock-3.12.1.tar.gz 12445 BLAKE2B 7f4a115e6b50976935fee917ca7ebcba13129ad1494f8f536502c4f34335aee1f83a18393b01707195b362f83246d6ba86bd26859846540fb6de12c416f6a43c SHA512 c08768d230cad4407f21b23578a009da61858f347d3ca189756b1da32b61b70c187029786f00e286f76f026b561beb270e87b19fc1caf3fdeaea5eb96c208ae8 diff --git a/dev-python/filelock/filelock-3.12.1.ebuild b/dev-python/filelock/filelock-3.12.1.ebuild new file mode 100644 index 000000000000..b3a0af7951e1 --- /dev/null +++ b/dev-python/filelock/filelock-3.12.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 2018-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A platform independent file lock for Python" +HOMEPAGE=" + https://github.com/tox-dev/py-filelock/ + https://pypi.org/project/filelock/ +" + +LICENSE="Unlicense" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest index 648289c28cec..8624778afa19 100644 --- a/dev-python/platformdirs/Manifest +++ b/dev-python/platformdirs/Manifest @@ -1,2 +1,3 @@ DIST platformdirs-3.5.1.tar.gz 17164 BLAKE2B 7d9aeff02000b75a028e6f75dc4793e53bbe72b5fc069482d5790d9280a92b801dffca847fe64513b8ee3d24b5639681cb1cfcb1f97d85e8e996c7f6cbca2f71 SHA512 e3aa38bc943f9dc709dfaa3c6fe9e11f3b33d4263d1d41f7349d9926db2e41a36dd43c74ea2175ad89b107601f2dffded0f45e7703b9cb8ca9739945dee3c6fb DIST platformdirs-3.5.2.tar.gz 17775 BLAKE2B 2ec36d1efb77cdf5d247dd7e3a731389f4125d9fdb6b3edf8b3c4c1c87f9336ee38ef7923f284193b4105121e3e5ea5d87e07f153ec6eb395f1dca0573282e16 SHA512 68066aa85b44c37cbe602610371866dd5b7e9b6787b27d51379ecb347d27abdabf57da26ae622268df29fd3cfa9892f977060990a5235fb651a694d1a3fd7d99 +DIST platformdirs-3.5.3.tar.gz 17780 BLAKE2B bffcc38623022f24175d1cb7097e65f73208b5aefedba2a22a584ea63fafeafe9ec7fd3701f903890282bca33dfd03d11c3070327f7efe474eb64ed548448ac6 SHA512 2510f7e5a260df6ac5d111e80a513979060f7a77c038b79d6db4b42d196ffb8bbacb2db6e986186926931bb28fec867404ed4e23eb3268b6abdbf318d79baa69 diff --git a/dev-python/platformdirs/platformdirs-3.5.3.ebuild b/dev-python/platformdirs/platformdirs-3.5.3.ebuild new file mode 100644 index 000000000000..2c65d0f2dfcc --- /dev/null +++ b/dev-python/platformdirs/platformdirs-3.5.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A small Python module for determining appropriate platform-specific dirs" +HOMEPAGE=" + https://pypi.org/project/platformdirs/ + https://github.com/platformdirs/platformdirs/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +BDEPEND=" + test? ( + dev-python/appdirs[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "hatchling' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "${PN}" + version = "${PV}" + description = 'A small Python package for determining appropriate platform-specific dirs, e.g. a "user data dir".' + EOF + # sigh + cat > src/platformdirs/version.py <<-EOF || die + __version__ = version = '${PV}' + __version_tuple__ = version_tuple = (${PV//./, }) + EOF +} |
