diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/Manifest.gz | bin | 261673 -> 261670 bytes | |||
-rw-r--r-- | dev-python/gpep517/Manifest | 2 | ||||
-rw-r--r-- | dev-python/gpep517/gpep517-13.ebuild | 41 | ||||
-rw-r--r-- | dev-python/pypy3/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pypy3/pypy3-7.3.10-r1.ebuild (renamed from dev-python/pypy3/pypy3-7.3.10.ebuild) | 14 |
5 files changed, 58 insertions, 1 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 14af276659cc..e48b410a0c59 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/gpep517/Manifest b/dev-python/gpep517/Manifest index e44a910cb9a8..4fb023d270d7 100644 --- a/dev-python/gpep517/Manifest +++ b/dev-python/gpep517/Manifest @@ -1,5 +1,7 @@ DIST gpep517-11.gh.tar.gz 15344 BLAKE2B 14f3f4b284eb4f7de8a78a9215cf2ec7fc84cb4028d83555b595a245d5ff2eb78be5049b30ccca944c35c40db0cc61e1afeaa68b25a0d6f3608363af75059762 SHA512 5ce840841d99c20d62b5b6c8dcb6ec353e40c75537aa99e44fa7dc13bff37444cd66d4cbc97eb1b107b6df85edfda853343d5e8ef1865d0d5ccd293c1496b5c0 DIST gpep517-12.gh.tar.gz 17304 BLAKE2B c4a1ff1bf67866c2776efeab8c3f678272fcbd2dd69359b97420e280b58ce8549c6bf7e497ca13816ed89b296a44f99c7aa99f9783a9cd2d940aec5b29cdcbe1 SHA512 a0f40e9c12d711ff2e5fc3f8ca84c6687d6b39cdc420364e3846b32804dd8f98a5d09c0aaa7948b90b3b115f829dc4e767a65bbe8bc2e682f11fd6ba8757a59e +DIST gpep517-13.gh.tar.gz 17197 BLAKE2B eb2f1061c0d762ec5cedf042c41a04eb1ddfbb146b5d81727f7e09d55e76323ee4ffb00e8a8c17a8d423b863bd46dc79a03048da1998cf50fee45bc75c64f38e SHA512 23219a3f7369def01e41fe6bbf96400cc85bb6f5efae3924451a5f3dbed0c9a5e7bb69aa1810897597aa248aa64fc6445fb32ed5bf314d0265c5339893ea58e3 EBUILD gpep517-11.ebuild 1049 BLAKE2B cfe9acadcafdacc7967b2454c2548e074d056d4dda35939109b0fca25bf475746f2f3e1f3f70fac4c08533c8281808e2db743e5092dcabce813bfe56d1978be0 SHA512 d2a67868146a6b6f3324b058781dd29b641b0674f738b472ad6afcebf775dc1bccc5eac65b1fb0792885287baac9ba1fa13441a5dfcb3c95e904320d7697ea56 EBUILD gpep517-12.ebuild 1057 BLAKE2B 22ce3d5726012ff9f928ef925f1134c97f9dbd8f15bf7c172e21bdd056934618f0fb4f44cc90940e8b4af60bc2022a03f2eaf99f1a2c74b07937cbf585480601 SHA512 1d46019f25e7de6dbbe0c3628a03b46a9a8ced619958dc1494cbb91d5cca7c609f9efbb2d8923b9d6250ff5d129825f604284fa95d24b6a1d026079ee0fa0bdb +EBUILD gpep517-13.ebuild 1057 BLAKE2B 22ce3d5726012ff9f928ef925f1134c97f9dbd8f15bf7c172e21bdd056934618f0fb4f44cc90940e8b4af60bc2022a03f2eaf99f1a2c74b07937cbf585480601 SHA512 1d46019f25e7de6dbbe0c3628a03b46a9a8ced619958dc1494cbb91d5cca7c609f9efbb2d8923b9d6250ff5d129825f604284fa95d24b6a1d026079ee0fa0bdb MISC metadata.xml 396 BLAKE2B b67a7e2109f002e48023fc60f19fe2aa7f224010795434815a4c7c0d075dba6cb27e9d443ff86b84ba582a12b30dec5dc8ce9c91419dc2d04c1c61f45e901192 SHA512 402dc1c9cad90e122443599282d03d317a29d31189aa1532041104ae4b6292340b5744488075c9f52877f450561072ef4d8750db65412bcb81b2af5648078b37 diff --git a/dev-python/gpep517/gpep517-13.ebuild b/dev-python/gpep517/gpep517-13.ebuild new file mode 100644 index 000000000000..5cd8e4b1d379 --- /dev/null +++ b/dev-python/gpep517/gpep517-13.ebuild @@ -0,0 +1,41 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep +EAPI=7 + +DISTUTILS_USE_PEP517=no +PYTHON_COMPAT=( pypy3 python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="A backend script to aid installing Python packages in Gentoo" +HOMEPAGE=" + https://pypi.org/project/gpep517/ + https://github.com/projg2/gpep517/ +" +SRC_URI=" + https://github.com/projg2/gpep517/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND=" + >=dev-python/installer-0.5.0[${PYTHON_USEDEP}] + >=dev-python/tomli-1.2.3[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_install() { + python_domodule gpep517 + python_newscript - gpep517 <<-EOF + #!${EPREFIX}/usr/bin/python + import sys + from gpep517.__main__ import main + sys.exit(main()) + EOF +} diff --git a/dev-python/pypy3/Manifest b/dev-python/pypy3/Manifest index 7ed1c7b81faa..c8a3346ae7f4 100644 --- a/dev-python/pypy3/Manifest +++ b/dev-python/pypy3/Manifest @@ -1,4 +1,4 @@ DIST pypy3.9-gentoo-patches-7.3.10.tar.xz 10012 BLAKE2B 45186cf6e8608995af6c0d763a2d676d862ba886acb3a0e0f0056309123d0db75240a175ecf90e24889a139f228dffc788872a5ca84736f4ce0901eda0acb789 SHA512 e6c39666f34bb7e2db72f153fad2d89421b30c04de88812637027a7e8a73bccc7620a7296b2b205464ad7fd0c911bc7a7f0dc0fc504dc8d163f7087b8b0c61b3 DIST pypy3.9-v7.3.10-src.tar.bz2 23416039 BLAKE2B 1b13e8bbe6c38c4b9183a632063aeed593986bc7906cfe527fa7534d29f9b1ae0f1e6d3795ff73be19f5737c3fd9d1b3cc2777f30d9237d853e4266bea60a5bb SHA512 1ed3fc9cdda7f3144141fc6a37b124e7141cb3f294ce8b5ca3c3aa30a3c58715e168879decaa796c890a9a287c82c2dbabb81db5f6b8d17f4215d7d3261fe9a8 -EBUILD pypy3-7.3.10.ebuild 5258 BLAKE2B 2621ec950735705acc647e8430e8b744b82d2094bd1f549031264f50821adf9943408d03148b40a7ccff4588d6811ef4e7d06b61962d873607b2029dd0ed6661 SHA512 39f2ec9e9b1220fd42d268fff22161b015b5fe919b0fa272b074193d9ff3e57569415626681342d970aa9f345973cbf4c9e7166212c55f1df65078cedadb2d69 +EBUILD pypy3-7.3.10-r1.ebuild 5769 BLAKE2B 80f603635d1d8d9195810bc5d7d9810d233a3cb52a406c10493d9412ede33a93836e0038e4982a130d84e13b910d4a5110993aaa825326050287687adce3b2a0 SHA512 dffdd2e3c15e8493444cbb0714b9c3484d90f485aa0f3ae8b3b13733d58ef6162cfcdb0b6315b587e25bfa6fd7023d5fbd0311774ae1d80cd700d2197802ff54 MISC metadata.xml 531 BLAKE2B 0f727c7ced9fb24ba0dc0b41d51c177b3711de33b838bf46cfdde5d8b751de9694873c13fe8153747f2cb533c078c54f004ee84b1c3c57b6f8d62128ffb9dba2 SHA512 331b66647a58047ded4bcf1529e3ca16b21cbb37afa82d8be0a4b6ad605e17bf3f1478fad1ea3b9c970bdf5162cb41e6adcb029a261fcbf894e807998b9219f6 diff --git a/dev-python/pypy3/pypy3-7.3.10.ebuild b/dev-python/pypy3/pypy3-7.3.10-r1.ebuild index 398fd461b317..8f2a92264ffb 100644 --- a/dev-python/pypy3/pypy3-7.3.10.ebuild +++ b/dev-python/pypy3/pypy3-7.3.10-r1.ebuild @@ -92,6 +92,20 @@ src_compile() { einfo "Generating caches and CFFI modules ..." + # Generate sysconfig data + local host_gnu_type=$(sh pypy/tool/release/config.guess) + local overrides=( + HOST_GNU_TYPE "${host_gnu_type:-unknown}" + INCLUDEPY "${EPREFIX}/usr/include/pypy3.9" + LIBDIR "${EPREFIX}/usr/$(get_libdir)" + TZPATH "${EPREFIX}/usr/share/zoneinfo" + WHEEL_PKG_DIR "${EPREFIX}/usr/lib/python/ensurepip" + ) + ./pypy3.9-c -m sysconfig --generate-posix-vars "${overrides[@]}" || die + local outdir + outdir=$(<pybuilddir.txt) || die + cp "${outdir}"/_sysconfigdata__*.py lib-python/3/ || die + # Generate Grammar and PatternGrammar pickles. ./pypy3.9-c - <<-EOF || die "Generation of Grammar and PatternGrammar pickles failed" import lib2to3.pygram |