parent
7f700090ac
commit
f85f1488e6
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29645 BLAKE2B c4470fcde10523a5d42191c85624f25c227ef8284f560263cb4bb09ff67324b0254cc9fd019b1e92684dbed3f8f4e03c7670a5db7bb2963e77d7c94afd32ddd8 SHA512 d18bb97b7f3defadbea1a6a86034f90851915833af3fb590ee710a35c47a62cbcdd7c6e0f632e9fbefef2a4e388d5bf9dd05212840b41eaa130e7275395823a4
|
||||
TIMESTAMP 2022-05-04T12:09:38Z
|
||||
MANIFEST Manifest.files.gz 29626 BLAKE2B 1b291586d651d5ee402b0bce4661870ad383837318a83b64ee3db983b1c83f9ab35ac40780304ab682ca78c2603d2d9cc2a27d5a570f4f658b8de1b2fded6404 SHA512 4c8697d7b373e60a34a30983d24a86568943bff24519b66b4795d05eb75e7d524a6ff272448f5c6d31583e025c71ef34bf756b5344647c02462f29681f364713
|
||||
TIMESTAMP 2022-05-04T18:39:43Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmJybQJfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmJyyG9fFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klCisw/+Nbi4e/9EFJKXxm/TRJLF8g2ScnIqJ+bsPL1Mnb34aHeTMjGKhtjSK4Ad
|
||||
ru4hxQNaxVZ9Avlg0Lt0BksT84sCouCSkM6TfHSNoRXpEtZvffj0LWXTMjMmwYqw
|
||||
b9BC16EjpPN6BT0YXILSjP1DTHM7wEb71zrLMjEYTEWSL2te6yZYQ9LApJAytVs3
|
||||
SLfBWA1EUtwlbNfMWsCXfK2m59O16BXlS4FhShoPO4bL+Q4nI38VM/JTuKH2yOZV
|
||||
vtHAqj9wumnOIhVegsy0n7Yu5Qk5Hgrnnqz3Sdu3m24QbQ0fUdFVEpWAgAJfSXcW
|
||||
AbtThXswq3r80CMDtV0mxknw4QZlbYZdLrYg5K5YCUe1PEmFvYVZNLXmX9bpjBgR
|
||||
x2H6rVsOEPsifnRKMs5+70/DBfJDkZO/s7w+WzD6uU5UIxrLaOmxtYbSf/bPbyiy
|
||||
aGyoqnmf5mBtP4sGgGzBsjhYLcaChg6RxDqfGDiw/TFdAkwr08DzADlfrL0LVBe6
|
||||
YH65UPEZ1Jcyp7Kn/IapxlxagJy14U3BCqt6PaGZwwtkc2+YOEQvDe+UwkPdg6wG
|
||||
T6Wvw15w32H+WMfJeNMi7JJw4eQVJxX/duhf6s52s5UhxZALucVuVgGdV/JAG7Z3
|
||||
H/SSPoQ4DCC1whP2Y0tX4VE/cAI2L2OJC+qrXYF+wZHUjyIZNc0=
|
||||
=FN5z
|
||||
klBjiw/9HIxZsgO7unXToNCAiDuopcSzUvAQac5Ap1k+YU/6vhqkGHsshJn7BljO
|
||||
/+2wUQHY53oOat3nBk24Lx6MK2JMHpsJZ9q1TWMKaHbl6ZpdUx3j2p8vY0KOCZeS
|
||||
1t6w9zD0N5lpsBeWCWjboNPvPqloHriIlCbAvEy1MBMPDGRWKtQH16LMCWsf0exk
|
||||
Hl0pcDg6L0DadREr89ktLHxYxtbytFReS56uJDCPeHuXRFRHgM6dnM+DxvoVfV7s
|
||||
QG9UraTK/V63Bfy1UezXz5mjlh8WArdm3EFlAg83f8FAItS85SMdAzcXzaLtxUf2
|
||||
KhTBQfJKNlzLZcRMaJap+6Wt2l8I3W/n40/kMJ00lTd6obi4IkPrWOv2tSpk3xtC
|
||||
Q0riiDuV+IN4hYyicy2E3TwEoPUNQPmiT9JO62MN20/b1gnlhGLtn3frErgTzeMM
|
||||
if2BfHV/rnKUXIQrwYwb/AFeXa+t9J+4SoaWe8zj+RMFaT8Eyxjz+xlmRd7VXpqe
|
||||
uv6Lr7c5MYggp4EDVZCw1lRgkLm02LEK4WqvIZqgY7sslOG3pO1VwrFBcaQUU22q
|
||||
X2S1lW5swfOrgds5nKD9CJzjN1AFFuQALhDAbYKbqsRoEH3NhgM35w0Uzj7H11Z2
|
||||
f+Akmz/MqqHm6HyaUA4JDsffqO6nFEeLQBOkjhKzx4ug8x+Vhq4=
|
||||
=hcD3
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST exo-1.53.0.tar.gz 5597243 BLAKE2B ed9536a3e62b8344aef4d5a3edb3948615b96360bd302c90c16ba366eeb50a869200de39de45f3fbd6a1a3dfff7e42622720dffcbb91cb9c0cdf402f6eac8a2d SHA512 471c7024cdddb7734218fc942bb38593de759d408c859c135672d7bbf870c554dabb6eaf216ca20616e0b2d4eea487731f2142b39fda7daea5104f077bce99a1
|
||||
EBUILD exo-1.53.0.ebuild 703 BLAKE2B fbee615ad22bcdc4efdce1344136056d3366c31ff1240c3c86b1fff39787b18f99f896d455ebde5cc4c2bee05e28cbaf216d1ab973b5f100d4a9957c8989ee65 SHA512 21b1e8bb20a9db8f635374ff64e9724679188cd356f975818e2390d3f369f2ff8886710d9c202cb4e72df39ba900948a392c6da296f95dc18344492d86e56d98
|
||||
DIST exo-1.54.0.tar.gz 5596697 BLAKE2B 2cfc0b9eb8775d16311b8d6a2745bb8a59ec52e15f9006732a272cc949faa919d03f86e7031d18d7cd7fc95f71a7092f54f9bfddd827642ff99f2705f7c66af0 SHA512 5a49d13cf7e96980cb0077da199497e0d0a0b4dc4697327466b272f7e65d4e9bcc37dfd5368df8733eac70a5ae494c5890b4f08e625573bdae92300cf0ff5ca3
|
||||
EBUILD exo-1.54.0.ebuild 703 BLAKE2B fbee615ad22bcdc4efdce1344136056d3366c31ff1240c3c86b1fff39787b18f99f896d455ebde5cc4c2bee05e28cbaf216d1ab973b5f100d4a9957c8989ee65 SHA512 21b1e8bb20a9db8f635374ff64e9724679188cd356f975818e2390d3f369f2ff8886710d9c202cb4e72df39ba900948a392c6da296f95dc18344492d86e56d98
|
||||
MISC metadata.xml 334 BLAKE2B 230d1a47a3e39f796c16a9e9a622fbc27560c951da0c49adf7aca135970c0c944f42da7eb624c7193d44830c72cf95da9d69d977562853de6a00fd8fb6408977 SHA512 cd1366d99abc260c6f2899000e2a517be9a4c43e921078764fdc996871df34c1827e512087c3eb6f95bf3b685c2f34cbc1f1462eaa303a948640a362b4501b01
|
||||
|
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
DIST lzlib-1.12.tar.gz 128996 BLAKE2B 3a86005eaf660a45888ec5af97bc6100368da2a3003c119c2379e881cd77ef318707342b7c930efa9473b671b8c2aff5c5e00dd5b312f647b7cafc39f29a2eea SHA512 b5379422eed4016b0ee124e39902dd22c314ca5cc5f72c1af5ec2ef6a68e1e85c523ab18e30048d453689f73f780d0144dcabaf881337e1c8101e2fe17ee21f8
|
||||
DIST lzlib-1.13.tar.gz 130005 BLAKE2B 88721890f111c2bb1901329e9cc39e7f581c220bb58bbc93098c34984b7557a80adff236f5755057099870ba20201f6b692925080b97965b4612d221d21cb33c SHA512 b9c4e5a9aca982984b497d1da2e1f0439b37b19acaf88a02f5af114b0a65a828c5ae235b3bd4f419ce001963de38a4d03445a6a1bd93f37e783e799abd75578d
|
||||
DIST lzlib-1.13.tar.gz.sig 72 BLAKE2B 66d7a9939a5e23874a6927545f265cf315d634a166d7f22cbe4f09ab88dbae778aa9c6f77e6d5e51fbaadc9a503f735fb2bc834475089a6046782f9af22b472f SHA512 1db7a91b3a84d70874c0ec92b2764ab6805e20a351438b975f4e72dd6a1dbe5a4448d47af2bb6d056bde9c6102df375454724d536efbdaa90cd7dbf08eb01c81
|
||||
EBUILD lzlib-1.12.ebuild 751 BLAKE2B 38a2c56ec5e2338978cc3c2d4b5b2fe736fe1cf373e31c12cfd0a637f56902651ef1e71bdc4951394dc9df0a71bba11290a346d1b72696d2633d15c399ad275e SHA512 ef3aa98b55ab0260f73b6f26558d5425742563c6c6a43d1f92a06403567d295e069237f2a913fc6a1aec504b50a5d0c4be582ed3dca6298f06cc640a7f2d0870
|
||||
EBUILD lzlib-1.12.ebuild 750 BLAKE2B a16f26523a9a0877f2633779d7d76bf2356c798833afefd070ab361d0f92858e5aed38a77e650143a9ea05abf513fe06f4c5338f1755f1f994a4323a63ab046b SHA512 07be2884655060484f6c6f3beb1c24b870044e837b705ec703c4495c52ea384d83cf365d73c8f7a71f8ad538924b6eaf6f70a4c707e7caa95b48c44c0c562916
|
||||
EBUILD lzlib-1.13.ebuild 1005 BLAKE2B 9499d36b11676907bfcbc1743ec7c6f25fb5a2b9184132d124ca9f1e1626b093b3b0f36848fac99d6a0a0a38bbaa6857725109af96f192620acc62a7091b38cd SHA512 13c021e950771a11056752b99fbd7a8c3cea7d9f0111469cc7f9e1aaed475c3196dd29886e9ecef0ae3b6c9a18af70d3aa11b24a62908e7c1b09689f7a539b93
|
||||
MISC metadata.xml 248 BLAKE2B f308d2aa052d11e427850af58bbebf95e7773f5562ed221f39043474b4c3827d724d49667edf1874272a5586a13201159f40e8f5eafb7e400e79c6566e1a6ac2 SHA512 b875c838394523483ae7d93585207eb3c642a345bbb08e1dcef3ceb737c813fa779e2f5479d48cdcc30732b8a0a9e6ecc648df940def6731e4dff43b23786e6d
|
||||
|
Binary file not shown.
@ -0,0 +1,4 @@
|
||||
AUX 50anaphora-gentoo.el 38 BLAKE2B e96c6cf48d1522d89450e11d339c76210c672377208b56951791b83c6ef22b2c872d313084e199dd5d7b533a99106a87dbc7f15b5ee6126f71bf5f2e84165ffa SHA512 5c00bcabe2d7cc03013dc7a54b2c653940c08098ca5646d7c73624cb1ca04376ae9dcf88a7166b1925c69f0c5d192d90f6bd790fdef8ed8c3b0f9d163c987da5
|
||||
DIST anaphora-1.0.4.tar.gz 9215 BLAKE2B 634cbf68b63bf815755eace47441b40571f9a0a466f552d908358b110e12b75b8256efba915762c53f3280092b12483f6eec6257d78845bd4bef9537d1157f2e SHA512 1cfdb9f91c8fee4598dbc01701cf6cf84296cf18ae244f061c82a753f47f4904fccf8fbc0299e87408e17b4e41df65455f56be393d003c16cf8932f1e9f86d5e
|
||||
EBUILD anaphora-1.0.4.ebuild 506 BLAKE2B d36aaa34ad52c121b933f0bd48b93a8333bed45c761f8607733bea819499491c1605456b97d6665be373d318fb045de208768d05897015a2fb64455022cdaddc SHA512 e7256f8ee656bcf07a144d81c071b8b57bbabba76d436dd2010d6a93de60a91d0109196a44e5824beb4e18186c093a8fb74940db7d142a1658ce72dbdd054208
|
||||
MISC metadata.xml 712 BLAKE2B f93672af116632423f14e74ede7590e61c054e92a0ef1c0e959839953dbd7cd60091e8742a57ce9660c030f096588a57d21f912eb83539d15919fb3b745d0717 SHA512 7774b90b18e55dc8896fe3084844b7f7cdfbeceee99f78a6233d56c2826983b27513432cc7f855c4c0e5bc21283ff760dfe7b5913d002630543f4db374fb1e6f
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Anaphoric expressions for Emacs Lisp, providing implicit temporary variables"
|
||||
HOMEPAGE="https://github.com/rolandwalker/anaphora/"
|
||||
SRC_URI="https://github.com/rolandwalker/${PN}/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
|
||||
DOCS=( README.markdown )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_test() {
|
||||
emake test-batch
|
||||
}
|
@ -0,0 +1 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnu-emacs@gentoo.org</email>
|
||||
<name>Gentoo GNU Emacs project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/rolandwalker/anaphora/issues/</bugs-to>
|
||||
<remote-id type="github">rolandwalker/anaphora</remote-id>
|
||||
</upstream>
|
||||
<longdescription>
|
||||
Anaphoric expressions implicitly create one or more temporary variables
|
||||
which can be referred to during the expression. This technique can improve
|
||||
clarity in certain cases. It also enables recursion for anonymous
|
||||
functions.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,4 @@
|
||||
AUX 50emacs-ipython-notebook-gentoo.el 183 BLAKE2B 007608b7763cd9223bad524b5219503687c1e6665a2269a09621a9e381de9373ba299cc6b808c000d65b916f554f6ccef76b3f96fdd665b3ae4ec8443dc909a3 SHA512 be0e3a9e03a944947134a776164f8fdd206943609f7f84e7663363c3745c69d0a4d7fb8986b619e32e15ebe72c14ff1ec8cc9a47ab9b5c2ba16823b598adf648
|
||||
DIST emacs-ipython-notebook-0.17.0_p20220419.tar.gz 313340 BLAKE2B 5ab9b82d8d17c3f64c375de7638aa4006e7dc47137260ab0a8222f7c507a54b32aa145d1630b3d0018c8303e0f116da81b61df27cd401875dfad5fd49ecdae13 SHA512 f6c2c293e7d2ddcba9dfac751523e0f8d55047ed01d4546ba1ece1f8833a1d54a1bcc066f34f06e111c34baee21a97c2ede2d90d188d7a05f407631acfd74037
|
||||
EBUILD emacs-ipython-notebook-0.17.0_p20220419.ebuild 1743 BLAKE2B cc317a1b3916e0021b51ee4f3dc53e510059a84f7932c2dec00109daa1b8aa40b28aea55af88a9ac0da681d6700239f84de59c8d27f129269ce7aa8f3eee0279 SHA512 83f7a187430311e79a4a84ca85318b50945d6e28a35d13514f8cce47aec3aa9a22b9f72090a3bc99c46c5f0c9f039b771d5f3b610597617e7c18be468a3930a2
|
||||
MISC metadata.xml 451 BLAKE2B 22c22fc375f454f2d73aa08aa90ba3ffe5317badf5e9c24a9d3c890ea3fd983861ab85b8c21946801720ba750651d86e5f8d0374e1e72d2d2d0cc0782c8ab558 SHA512 4aad325d63fa41071054835afe506c67e02c720dce4519d9b7a5307c68aae1fbe9fce08f469925137de5c133d6a40c1839de1c837159507882d48198ff82f48a
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# NOTICE: Check package version in "lisp/ein-pkg.el".
|
||||
# NOTICE: File "lisp/ein-pkg.el" is needed by the "ein:dev-sys-info" function.
|
||||
|
||||
EAPI=8
|
||||
|
||||
H=388c8f753cfb99b4f82acbdff26bbe27189d2299
|
||||
NEED_EMACS=25
|
||||
|
||||
inherit elisp readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="Jupyter notebook client in Emacs"
|
||||
HOMEPAGE="https://github.com/millejoh/emacs-ipython-notebook/"
|
||||
SRC_URI="https://github.com/millejoh/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/${PN}-${H}
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
app-emacs/anaphora
|
||||
app-emacs/dash
|
||||
app-emacs/deferred
|
||||
app-emacs/polymode
|
||||
app-emacs/request
|
||||
app-emacs/websocket
|
||||
app-emacs/with-editor
|
||||
dev-python/ipython
|
||||
dev-python/notebook
|
||||
www-servers/tornado
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
app-emacs/ert-runner
|
||||
app-emacs/mocker
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( README.rst thumbnail.png )
|
||||
DOC_CONTENTS="There may be problems with connecting to Jupyter Notebooks
|
||||
because of the tokens, in that case you can try running \"jupyter
|
||||
notebook\" with --NotebookApp.token=\"\" (and --NotebookApp.ip=127.0.0.1 to
|
||||
limit connections only to local machine), but be warned that this can
|
||||
compromise your system if used without caution! For reference check out
|
||||
https://github.com/millejoh/emacs-ipython-notebook/issues/838"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_compile() {
|
||||
BYTECOMPFLAGS="-L lisp" elisp-compile lisp/*.el
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ert-runner -L lisp -L test -l test/testein.el \
|
||||
--reporter ert+duration test/test-ein*.el || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp-install ${PN} lisp/*.el{,c}
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(autoload 'ein:ipynb-mode "ein-ipynb-mode"
|
||||
"A simple mode for ipynb file." t)
|
||||
(add-to-list 'auto-mode-alist '("\\.ipynb\\'" . ein:ipynb-mode))
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnu-emacs@gentoo.org</email>
|
||||
<name>Gentoo GNU Emacs project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/millejoh/emacs-ipython-notebook/issues/</bugs-to>
|
||||
<remote-id type="github">millejoh/emacs-ipython-notebook</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,4 @@
|
||||
AUX 50polymode-gentoo.el 38 BLAKE2B e96c6cf48d1522d89450e11d339c76210c672377208b56951791b83c6ef22b2c872d313084e199dd5d7b533a99106a87dbc7f15b5ee6126f71bf5f2e84165ffa SHA512 5c00bcabe2d7cc03013dc7a54b2c653940c08098ca5646d7c73624cb1ca04376ae9dcf88a7166b1925c69f0c5d192d90f6bd790fdef8ed8c3b0f9d163c987da5
|
||||
DIST polymode-0.2.2_p20220322.tar.gz 417218 BLAKE2B 7f2846a6fed751f7fb0e7d6b50ca2bb40232007e7f8cef801b22b252ca39a65658d0059ddb8ba384ed2f6b1bdbddaf39fcaa09d91787b8523f9872162156f25a SHA512 2e1d49cd3086cb7a8551a4c48cd6655e1c41155f1e518b1cfae5493ac382d566bc7a8969a167063c0384978b70d79f2d2557fc9a6d12e54a985fdbf24315bf0b
|
||||
EBUILD polymode-0.2.2_p20220322.ebuild 760 BLAKE2B e4741519a5db558ebe532616ebe6ba639b0e2432deb613eb7c73eb5f2af27bb3e17e18a90256518aacab255bbdfbc7baf935f2e11e61faf619a56b6b1d6cdb48 SHA512 60809cfc2316eaae9fa9d8051091558990dd633d17f3f2345048f709ffd103b00c7956c957f088c3a16f61ee0d5512da3e302b3cec2ba0c8d3f8d331d1c64cee
|
||||
MISC metadata.xml 685 BLAKE2B afe87d00ea99966b4b235b95061d46f267aeeb588f369e9a22b87921cc01b74684f5dc33db94a7ee7b6e6c7a029c57f69d72871ec45da92857aa2e27e3911303 SHA512 d42d29fb851d7fd2b0e3b675b6ee56acca5bc1c48ea6f47a9b2249d9c48909d446f450660e9481c271e3d4ab0e4183de7970c765e6fa0a61ba750d674435cbcf
|
@ -0,0 +1 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnu-emacs@gentoo.org</email>
|
||||
<name>Gentoo GNU Emacs project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/polymode/polymode/issues/</bugs-to>
|
||||
<remote-id type="github">polymode/polymode</remote-id>
|
||||
</upstream>
|
||||
<longdescription>
|
||||
Polymode is a framework for multiple major modes (MMM) inside a single
|
||||
Emacs buffer. It is fast and has a simple but flexible object oriented
|
||||
design. Creating new polymodes normally takes a few lines of code.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
H=2094c92403fe395dfb2b8b2521da1012a966e9ab
|
||||
NEED_EMACS=25
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Framework for Multiple Major Modes in Emacs"
|
||||
HOMEPAGE="https://github.com/polymode/polymode/"
|
||||
SRC_URI="https://github.com/polymode/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/${PN}-${H}
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
|
||||
DOCS=( readme.md )
|
||||
# The "compat-tests" downloads resources from network and "define-tests" fails
|
||||
ELISP_REMOVE="tests/compat-tests.el tests/define-tests.el"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_test() {
|
||||
${EMACS} ${EMACSFLAGS} -L . --load targets/test.el
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
|
||||
dodoc -r samples
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
AUX 50request-gentoo.el 38 BLAKE2B e96c6cf48d1522d89450e11d339c76210c672377208b56951791b83c6ef22b2c872d313084e199dd5d7b533a99106a87dbc7f15b5ee6126f71bf5f2e84165ffa SHA512 5c00bcabe2d7cc03013dc7a54b2c653940c08098ca5646d7c73624cb1ca04376ae9dcf88a7166b1925c69f0c5d192d90f6bd790fdef8ed8c3b0f9d163c987da5
|
||||
DIST request-0.3.2.tar.gz 47511 BLAKE2B df01bfd32d1580e416b8f934ee2e9803c052630d366b46134364646e6bf0bba4d0ce18b3a33c675833c6b5c07d28fcc0a03763aa8217e116a03319dd071cc0b6 SHA512 41420a2ede5a8dbc1acb2e04536d7b27b5c973ed4bebc280070b042e28ae6d15e808dad3ba84122a7f680f624bafbe72a027c374413bfd43996a3fb8720fa6b3
|
||||
DIST request-0.3.3_p20220318.tar.gz 50821 BLAKE2B f3ee754e43ba6b37fc3218acd8e7472a396949528d5fbdd2ff42af7b5bb18e549a8b159ec794f0d40595ddbf9b9bd3f28f7a66d5549d21dbe706d386ecdcb617 SHA512 fef12c27c37ba735b0fd2df4be83e4101895fbed1ca90a3ad96d3ad6879d24ab49b36222c3124ddbb7ad67f7b571b2a95171635dfe6662a5476c5ab4fc677c09
|
||||
EBUILD request-0.3.2.ebuild 516 BLAKE2B 6286f0d809e64a94b0e148ee26f47317e01095f1c3354b42e36c46e113ba799218b16516a17864ddc0181537c21adb561c5a94ed71359bd4f6b08e3b5c459bbd SHA512 98d2bdd9c1f45462ac66bd205950923943473f5b75ba7ff85159c2d463d486a1b440356876bb697a3d79578663c9be499732fcc9195117e96f5320fa37bc167f
|
||||
EBUILD request-0.3.3_p20220318.ebuild 563 BLAKE2B 7276ae1d76a99a59e6d2f2115c89f5c1a5223f2930f872746c890516259ed22ec3c89c11a7e09856c13094cc7b88559d39f32bac9df2ca46e8a68429a2a78925 SHA512 2a90283eb20e71319c6d7404c0c5bcb0dc719139180ef62e7cef06e138aedbe227df54099a7a2405554f92de7a3d7a159a859a6d59c96ef89084f76b1b0e7a84
|
||||
MISC metadata.xml 423 BLAKE2B 42486d97da1453c09ac51841e57d7b25c3f862b28af44d7682195df15f848fdab52637c52f28c4a20ebda46201d1f6be76d32e0fcc650dc191dc30d9167d0516 SHA512 71a3e19e9daedd0b38ad46742c62fbf3f538f849958760eac0f789902273b27b71c2bfb7c6c61b47c9f418f919b76376bdfd38eeb0d4a0701cbbd70fc27c2438
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
H=c769cf33f2ac0a1a9798b508935c4b260e856ab5
|
||||
NEED_EMACS=24.4
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Compatible layer for URL request"
|
||||
HOMEPAGE="https://github.com/tkf/emacs-request/"
|
||||
SRC_URI="https://github.com/tkf/emacs-${PN}/archive/${H}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/emacs-${PN}-${H}
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="app-emacs/deferred"
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( README.rst )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,6 @@
|
||||
AUX detachtty-11.0.0-sparc.patch 2669 BLAKE2B c1912520e5e7388bd905059a0d3f0d28726533884c4eafa89b1f6800feb2e05740dd96ee0b501f76d4f2329cf0e49b7b349d6990e12c359be13615f84e77670b SHA512 b62b7f809d79ba8f391f4f3b0c84eb969884b9de1f8ef27a50e1af84f6fe6f699c17321a6f4b225ae8c64d463c090a1bb5d105bf450a01aec4ccf8bb189449f5
|
||||
DIST detachtty-11.0.0.tar.gz 23189 BLAKE2B 734489fe35acb5bfb381b8fee1b91d60f15ec795f2ba58f5855544d913957f7da4174c15583dc4090e397c5f562e78a23c1534a741a9812980f4a9cd2d2e291e SHA512 608d68ebe9b8fae55b4295b9c50d8e9065226dbb78818535af79bd2e70cc4a831820b6c673414289548b1063843b5dc80c8b7d2371dd716a16eceb20cd064a10
|
||||
DIST detachtty_9.tar.gz 13081 BLAKE2B 28bb6a946d04717bc60ac7f65b791a8bb59a5ce1a2f7d7fabb63776538ade3fe046e874007effe7dd6ba7ebac8d739e16b0b0e2372ce4154385164d7939b498c SHA512 8ae7edc1a1c7727eb4d32a1a4327932e374ac838b441f34aee99cfe83e922f1d70383ab0aab2299808f28fea6229f5c122a7624b7ff992ab92b9c3f53483d035
|
||||
EBUILD detachtty-11.0.0.ebuild 589 BLAKE2B d4762a79e440d4eb3df0c0b1aafcbdc2e943b3f0239e087d8b90d7a07199c8a301b889d8f829cad666ac515d8292415589f10f189bc8453d00f414ee96884816 SHA512 cb394dd6de35e718c86ada3fa5da7aabfa6a9dd14953f7006b7e1cb3ffd16522f97c98be69e92503967121ca2ecd86c27154c3ce6ff81575886c3f9b5b847f77
|
||||
EBUILD detachtty-11.0.0.ebuild 633 BLAKE2B 61bf80a64c352331fde7f3cd9b0c3d85b0db8bd22aa79cee81f170d011a9f3e75f76052bd7ec8a2dd073291bb7888ef2881f5c9c13fcab2b8600868b801b0eca SHA512 943184d2cb010cc72717124f0e75a4ae14bc617556b9e284e1d9e60236d1863ba82c6c2809516b73e00815d4fc06e4c9de795bdc906e343a935186a1e3c5f1d9
|
||||
EBUILD detachtty-9-r1.ebuild 600 BLAKE2B 26747aa2903250488781353bcf93ecb0f66b086e63a691cd84725f3e9b7e7717927509aada2d64b017ca4a12c6cafb0c566ea7cf354b076c8a88032d8b6f0315 SHA512 4902bab8a023b424d9d6f1d583ab431b50375e878d0ed5e7e08840a762e4176dd56c681e632b01fb8a0bd20220c254af0b945561cbf272f5bdeae1f6a0759cda
|
||||
MISC metadata.xml 704 BLAKE2B 605242d690a156e4b0bccb2114e76b8c9d6578e6c12a5bdfe87479df2703001d9d20d8996548505f60382086d4f8dfbe78b66f54f654e196f50af46c8ee1b774 SHA512 c38ba5cde4e76e557ff6d63746b1488a1669910865b629fa222bc63cb9974e68dfc2b7467f421beac7dd893bd0f8230dcb74f5bf22162c73ac4251c8d8999de6
|
||||
|
@ -0,0 +1,121 @@
|
||||
Fix compilation on sparc.
|
||||
Patch from upstream, backported to the 11.0.0 release.
|
||||
|
||||
commit db785c7975e364acbf76a4db90296820d36b0740
|
||||
Author: matoro <matoro@users.noreply.github.com>
|
||||
Date: Wed May 4 08:28:11 2022 -0400
|
||||
|
||||
check for signal existence before registering in handler (#5)
|
||||
|
||||
Some signals are only defined on certain platforms. For example,
|
||||
SIGSTKFLT does not exist on sparc. Use preprocessor macros to check for
|
||||
signal's existence before registering signal handler for it.
|
||||
|
||||
Note that this is the same technique cpython uses:
|
||||
https://github.com/python/cpython/blob/3.10/Modules/signalmodule.c#L1427
|
||||
|
||||
See: https://bugs.gentoo.org/807184
|
||||
|
||||
--- detachtty-11.0.0/attachtty.c
|
||||
+++ detachtty-11.0.0/attachtty.c
|
||||
@@ -94,8 +94,45 @@
|
||||
static void init_signal_handlers(void) {
|
||||
struct sigaction act;
|
||||
int i, fatal_sig[] = {
|
||||
- SIGHUP, SIGQUIT, SIGILL, SIGABRT, SIGBUS, SIGFPE, SIGSEGV, SIGPIPE,
|
||||
- SIGTERM, SIGSTKFLT, SIGCHLD, SIGXCPU, SIGXFSZ,
|
||||
+#ifdef SIGHUP
|
||||
+ SIGHUP,
|
||||
+#endif
|
||||
+#ifdef SIGQUIT
|
||||
+ SIGQUIT,
|
||||
+#endif
|
||||
+#ifdef SIGILL
|
||||
+ SIGILL,
|
||||
+#endif
|
||||
+#ifdef SIGABRT
|
||||
+ SIGABRT,
|
||||
+#endif
|
||||
+#ifdef SIGBUS
|
||||
+ SIGBUS,
|
||||
+#endif
|
||||
+#ifdef SIGFPE
|
||||
+ SIGFPE,
|
||||
+#endif
|
||||
+#ifdef SIGSEGV
|
||||
+ SIGSEGV,
|
||||
+#endif
|
||||
+#ifdef SIGPIPE
|
||||
+ SIGPIPE,
|
||||
+#endif
|
||||
+#ifdef SIGTERM
|
||||
+ SIGTERM,
|
||||
+#endif
|
||||
+#ifdef SIGSTKFLT
|
||||
+ SIGSTKFLT,
|
||||
+#endif
|
||||
+#ifdef SIGCHLD
|
||||
+ SIGCHLD,
|
||||
+#endif
|
||||
+#ifdef SIGXCPU
|
||||
+ SIGXCPU,
|
||||
+#endif
|
||||
+#ifdef SIGXFSZ
|
||||
+ SIGXFSZ,
|
||||
+#endif
|
||||
};
|
||||
|
||||
/* catch SIGINT and send character \003 over the link */
|
||||
--- detachtty-11.0.0/detachtty.c
|
||||
+++ detachtty-11.0.0/detachtty.c
|
||||
@@ -392,9 +392,47 @@
|
||||
|
||||
static void init_signal_handlers(void) {
|
||||
struct sigaction act;
|
||||
- int i, fatal_sig[] = { SIGHUP, SIGQUIT, SIGILL, SIGABRT, SIGBUS, SIGFPE,
|
||||
- SIGSEGV, /*SIGPIPE,*/ SIGTERM, SIGSTKFLT, SIGCHLD,
|
||||
- SIGXCPU, SIGXFSZ, };
|
||||
+ int i, fatal_sig[] = {
|
||||
+#ifdef SIGHUP
|
||||
+ SIGHUP,
|
||||
+#endif
|
||||
+#ifdef SIGQUIT
|
||||
+ SIGQUIT,
|
||||
+#endif
|
||||
+#ifdef SIGILL
|
||||
+ SIGILL,
|
||||
+#endif
|
||||
+#ifdef SIGABRT
|
||||
+ SIGABRT,
|
||||
+#endif
|
||||
+#ifdef SIGBUS
|
||||
+ SIGBUS,
|
||||
+#endif
|
||||
+#ifdef SIGFPE
|
||||
+ SIGFPE,
|
||||
+#endif
|
||||
+#ifdef SIGSEGV
|
||||
+ SIGSEGV,
|
||||
+#endif
|
||||
+#ifdef SIGPIPE
|
||||
+ /*SIGPIPE,*/
|
||||
+#endif
|
||||
+#ifdef SIGTERM
|
||||
+ SIGTERM,
|
||||
+#endif
|
||||
+#ifdef SIGSTKFLT
|
||||
+ SIGSTKFLT,
|
||||
+#endif
|
||||
+#ifdef SIGCHLD
|
||||
+ SIGCHLD,
|
||||
+#endif
|
||||
+#ifdef SIGXCPU
|
||||
+ SIGXCPU,
|
||||
+#endif
|
||||
+#ifdef SIGXFSZ
|
||||
+ SIGXFSZ,
|
||||
+#endif
|
||||
+ };
|
||||
|
||||
/* catch SIGCHLD, SIGQUIT, SIGTERM, SIGILL, SIGFPE... and exit */
|
||||
act.sa_handler = fatal_signal_handler;
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
DIST assertj-core-2.3.0.tar.gz 611609 BLAKE2B b99a01f67da75bad18e08df739c10943012f75eda9855ed906d407e474eeafe9a30be2e761de0bc791d72a6ff8c7ec8181cd37c6b6c9126f073df82a974163c3 SHA512 da67930d45afde12d317579edb62b5cff546283ea6a252c9b297f21b74404d7cfb63372d339f51733322205b89d35734e97888085387fb1a83c80d5963b05fd3
|
||||
EBUILD assertj-core-2.3.0-r1.ebuild 819 BLAKE2B e542cddd230a09a8dac6e3ea3a32e1b609f3d8d844b274baf00051df399b28518126d64c8e9964df9203ced6d3ce4a63b0ba952af1ec65ab1af23fd12a597675 SHA512 11eb529777f29778f52d9f72c193ecef8983233658d8fc272dd383d40cf104c7350ac49c539549bfac8ad531323569216d017bbae5f1af32247423858ab6e90b
|
||||
EBUILD assertj-core-2.3.0-r1.ebuild 818 BLAKE2B 936809b0faa9958a6a7f1577d3f4d89ad9c07655bdde312af933bb99a262b831447b3dc7503d637b938df53904fc0ea2b6a9b22f8dbbedef8da284e526e61590 SHA512 14e2c4f73461f9ab44c1336a97ad9d9b3c8aa6fda54a6f872a64c9bb441699e68cd2f543d955166bf6c63d7db8e21c9afebc9fbee1799de2fa80fe65c058f7f4
|
||||
EBUILD assertj-core-2.3.0.ebuild 801 BLAKE2B 251b6caa0e965be7b0c66d5af54b787d0260ae143806a02d9a05baefedf6378c46d721dbfa7cfb523a9379af88a7f057272ce330e79a95993760b75a42561f87 SHA512 8af9f5a57fd8fdaaf43727ee0e0a9fe58d6c0cfa285af076abfe807a8a26862a01f7ec3fb0ac52bd7c31a4bb024b7934e0808e564f70058979f2f4bcbfca6c74
|
||||
MISC metadata.xml 640 BLAKE2B 3582da14da36e366b2436a5f49b6c0265705ebc109a01fdfc9380ec5b02a92a7b7257e2f410118e88ff369c78e126ed87a697088e481637211de572cc84758b8 SHA512 975fe87b3997787302e135fb742893e042eef0a75c6ed0de1a61d34ccbbde8d17b9c637b31c2569236864b00ce9579c8818546ac49d4a1b6c1ad393013b83d7c
|
||||
|
@ -1,5 +1,5 @@
|
||||
AUX jflex-1.6.1.patch 680 BLAKE2B 2dba9bdba8ce77ebe28a608b505891ff49d51e9d7549bb17f21935ad9511fcdf4428a79b5243e5eb8cfb5747eaaaafb97eb6edca980ce337d37ed48772ff5ea5 SHA512 73e8067a31392a1975877470a2a239c9ca0913f807faa3e5c660bc2487dca9a46c1753ab86526e66581111fcded89229a4e9e3a16fa787ce3669ef6c07a28081
|
||||
DIST qdox-1.12.1.tar.gz 519833 BLAKE2B 83a732f1582b714cf943ede61bacc5216804c00cfbb642a479afb74739564f4fdbcd923dd7cb84a9626a97c5ad0a0f04895e0ae68252891cb25299e1fe1c9c72 SHA512 17ac933854ebd0560921805ea4339c151a7fd095bf8d50d5d71e656afda77ba30efac7926cfcc7543e4a8420b12d1eb75cdd305c50d1c28ad8cd6b0f4d95f5c5
|
||||
EBUILD qdox-1.12.1-r2.ebuild 2225 BLAKE2B caf3e51d9d81e1a597092a5c20c2468266dda3559de0b07f948cd6026b983718941060f066a004464c4b177ec6a859139fd0549ff48dc82aff6fba24e8a60f90 SHA512 51a8c940ba702933bad4367de1f6a2a54d4d66710d3631529f61137ce27be1aaa0ce9dadb83005aa22331c241947637fe9a17a802923eef1002c0dad37051582
|
||||
EBUILD qdox-1.12.1-r3.ebuild 2174 BLAKE2B 2146df21e917b188299193d9412cf97d67deaca90d6e8f9a2a96ca22c9945b5de81e963814ebf5556e980de6ca58ca87a1f9c86a2d229e7b122c916f6c2413ed SHA512 2bec65fe9bef0068e4a4c5616f1e5642f54e2f349bebebf49f3129ddc27a40ad9db6c35ccc5a9c063a03ab3937f96ce8e4056e2725c98ce9ae0855fb3484c06f
|
||||
EBUILD qdox-1.12.1-r3.ebuild 2173 BLAKE2B 14fa3048ef60fe88c31c319a60c5c77cfb9548276137b7aab1dc273b8c74e1cacb9b37909e33ea2dca5bd833cbb1665afe09d7b728e1b66f73401d379b9268d9 SHA512 38c4cf76aa5295221928b4b6e039bd6b122d0f2e5b69562bd4471612d5b154d295a23dd7fcc701264a79620b51f62b979f90687ac5ae6fbf92d1d9c453c8e2e9
|
||||
MISC metadata.xml 490 BLAKE2B 0074cd0a7da6af8028ff8bc8eba4b26f86d4ae5ea55da7a6fe0bfbcc73e779a9a6deeed0e82f95abc28324dcd1a89634b504d02265dea16ac26e576b6f29ace8 SHA512 039a450284a930e163cd9cd4c39c5ee6dd0a2f5678b5f77db7f809bbe0a141a564fa7232cbe3a428b31170068b1377cb953a8ccda4ee3b14b5ddb4d313180496
|
||||
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
AUX duktape-2.7.0-respect-tc-env.patch 1427 BLAKE2B 50632d9ed0042dacdd4e0c760b2c374598b0955ff66d2625109a4555dc792c3c0be8d9855921cc7708009514257486698d7da8a18efd087cbe923fee9236ccf8 SHA512 e5d598c05aeff3db6f03565b1f443497506cab72895d867edb939fbad63258e1d11330880e6396a0c978a1c9cc0da7a6edd0362d5cd8eab48c188be7c043e63a
|
||||
DIST duktape-2.7.0.tar.xz 1026524 BLAKE2B da5eea88758201177f32c5611a3757433ef1b0173d6430eff1f067abd7535f3e4b9c3717290fbd8475827a53f7a2a74818287a65e563f14e91761f5cd0fe30d5 SHA512 8ff5465c9c335ea08ebb0d4a06569c991b9dc4661b63e10da6b123b882e7375e82291d6b883c2644902d68071a29ccc880dae8229447cebe710c910b54496c1d
|
||||
EBUILD duktape-2.7.0-r1.ebuild 803 BLAKE2B 16b22102c030ae083a6086680a03a44366e552d2c13f3f9b70fa9a7c2975e2f4897e11c3af4ba0c79e3787d9ad4b28d3511823be8c93fa39f414c3b8677d8df5 SHA512 0d3cf18086507348e0784a477b595e9b94159c46d743708b33196a4132fff0332f7527dd1ab4e0414459bae51f036251c7eb34a6b3d9141b92cd6af60be07616
|
||||
EBUILD duktape-2.7.0-r1.ebuild 802 BLAKE2B 65c253f59aed533af05441b32b3f86bc98fe5304f6de9f3132c5c32fc527bee209412b2ca1e03f6e9ed75ede371dcaf78419e6c627af70f1434c0b8ffb901f25 SHA512 5219f894c5b5c2b850ee6095161ad89f0505e73302f7fdddf5a65f9c07bac70ac971d7c4f56fc09b45fdc3670c3aefa9946a780db1afa40fd1d180f3e50df83d
|
||||
MISC metadata.xml 321 BLAKE2B 2a50c01a5f2fced09b9faecfda887bd2de9bb266ab9fed010627aacd691f6acd7aa4c327b6b77190ccee315098695004b2b3b798464420117648651d7da427f3 SHA512 b1e4fcc8a976debc2384323ee3c520dbd5b5f1ee869b73ebd6c299c414058024683b781e2506db1fc46cfe60878941e730a912e2197232fdaa2b0d97862eb8cc
|
||||
|
@ -1,408 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
WANT_LIBTOOL="none"
|
||||
|
||||
inherit autotools check-reqs flag-o-matic multiprocessing pax-utils \
|
||||
python-utils-r1 toolchain-funcs verify-sig
|
||||
|
||||
MY_PV=${PV/_rc/rc}
|
||||
MY_P="Python-${MY_PV%_p*}"
|
||||
PYVER=$(ver_cut 1-2)
|
||||
PATCHSET="python-gentoo-patches-${MY_PV}"
|
||||
|
||||
DESCRIPTION="An interpreted, interactive, object-oriented programming language"
|
||||
HOMEPAGE="https://www.python.org/"
|
||||
SRC_URI="https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz
|
||||
https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
|
||||
verify-sig? (
|
||||
https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc
|
||||
)
|
||||
"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="${PYVER}"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
IUSE="bluetooth build examples gdbm hardened libedit lto +ncurses pgo +readline +sqlite +ssl test tk wininst +xml"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Do not add a dependency on dev-lang/python to this ebuild.
|
||||
# If you need to apply a patch which requires python for bootstrapping, please
|
||||
# run the bootstrap code on your dev box and include the results in the
|
||||
# patchset. See bug 447752.
|
||||
|
||||
RDEPEND="
|
||||
app-arch/bzip2:=
|
||||
app-arch/xz-utils:=
|
||||
dev-lang/python-exec[python_targets_python3_10(-)]
|
||||
dev-libs/libffi:=
|
||||
sys-apps/util-linux:=
|
||||
>=sys-libs/zlib-1.1.3:=
|
||||
virtual/libcrypt:=
|
||||
virtual/libintl
|
||||
gdbm? ( sys-libs/gdbm:=[berkdb] )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2:= )
|
||||
readline? (
|
||||
!libedit? ( >=sys-libs/readline-4.1:= )
|
||||
libedit? ( dev-libs/libedit:= )
|
||||
)
|
||||
sqlite? ( >=dev-db/sqlite-3.3.8:3= )
|
||||
ssl? ( >=dev-libs/openssl-1.1.1:= )
|
||||
tk? (
|
||||
>=dev-lang/tcl-8.0:=
|
||||
>=dev-lang/tk-8.0:=
|
||||
dev-tcltk/blt:=
|
||||
dev-tcltk/tix
|
||||
)
|
||||
xml? ( >=dev-libs/expat-2.1:= )
|
||||
!!<sys-apps/sandbox-2.21
|
||||
"
|
||||
# bluetooth requires headers from bluez
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
test? ( app-arch/xz-utils[extra-filters(+)] )
|
||||
"
|
||||
# autoconf-archive needed to eautoreconf
|
||||
BDEPEND="
|
||||
sys-devel/autoconf-archive
|
||||
virtual/awk
|
||||
virtual/pkgconfig
|
||||
verify-sig? ( sec-keys/openpgp-keys-python )
|
||||
!sys-devel/gcc[libffi(-)]
|
||||
"
|
||||
RDEPEND+="
|
||||
build? ( app-misc/mime-types )
|
||||
"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/python.org.asc
|
||||
|
||||
# large file tests involve a 2.5G file being copied (duplicated)
|
||||
CHECKREQS_DISK_BUILD=5500M
|
||||
|
||||
pkg_pretend() {
|
||||
use test && check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use test && check-reqs_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if use verify-sig; then
|
||||
verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc}
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Ensure that internal copies of expat, libffi and zlib are not used.
|
||||
rm -fr Modules/expat || die
|
||||
rm -fr Modules/_ctypes/libffi* || die
|
||||
rm -fr Modules/zlib || die
|
||||
|
||||
local PATCHES=(
|
||||
"${WORKDIR}/${PATCHSET}"
|
||||
)
|
||||
|
||||
default
|
||||
|
||||
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
|
||||
setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
|
||||
|
||||
# force correct number of jobs
|
||||
# https://bugs.gentoo.org/737660
|
||||
local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
|
||||
sed -i -e "s:-j0:-j${jobs}:" Makefile.pre.in || die
|
||||
sed -i -e "/self\.parallel/s:True:${jobs}:" setup.py || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local disable
|
||||
# disable automagic bluetooth headers detection
|
||||
use bluetooth || export ac_cv_header_bluetooth_bluetooth_h=no
|
||||
use gdbm || disable+=" gdbm"
|
||||
use ncurses || disable+=" _curses _curses_panel"
|
||||
use readline || disable+=" readline"
|
||||
use sqlite || disable+=" _sqlite3"
|
||||
use ssl || export PYTHON_DISABLE_SSL="1"
|
||||
use tk || disable+=" _tkinter"
|
||||
use xml || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
|
||||
export PYTHON_DISABLE_MODULES="${disable}"
|
||||
|
||||
if ! use xml; then
|
||||
ewarn "You have configured Python without XML support."
|
||||
ewarn "This is NOT a recommended configuration as you"
|
||||
ewarn "may face problems parsing any XML documents."
|
||||
fi
|
||||
|
||||
if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
|
||||
einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
|
||||
fi
|
||||
|
||||
if [[ "$(gcc-major-version)" -ge 4 ]]; then
|
||||
append-flags -fwrapv
|
||||
fi
|
||||
|
||||
filter-flags -malign-double
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=50309
|
||||
if is-flagq -O3; then
|
||||
is-flagq -fstack-protector-all && replace-flags -O3 -O2
|
||||
use hardened && replace-flags -O3 -O2
|
||||
fi
|
||||
|
||||
# https://bugs.gentoo.org/700012
|
||||
if is-flagq -flto || is-flagq '-flto=*'; then
|
||||
append-cflags $(test-flags-CC -ffat-lto-objects)
|
||||
fi
|
||||
|
||||
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
|
||||
tc-export CXX
|
||||
|
||||
# Fix implicit declarations on cross and prefix builds. Bug #674070.
|
||||
use ncurses && append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw
|
||||
|
||||
local dbmliborder
|
||||
if use gdbm; then
|
||||
dbmliborder+="${dbmliborder:+:}gdbm"
|
||||
fi
|
||||
|
||||
if use pgo; then
|
||||
local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
|
||||
export PROFILE_TASK="-m test -j${jobs} --pgo-extended -x test_gdb -u-network"
|
||||
|
||||
# All of these seem to occasionally hang for PGO inconsistently
|
||||
# They'll even hang here but be fine in src_test sometimes.
|
||||
# bug #828535 (and related: bug #788022)
|
||||
PROFILE_TASK+=" -x test_socket -x test_asyncio -x test_httpservers -x test_logging -x test_multiprocessing_fork -x test_xmlrpc"
|
||||
|
||||
if has_version "app-arch/rpm" ; then
|
||||
# Avoid sandbox failure (attempts to write to /var/lib/rpm)
|
||||
PROFILE_TASK+=" -x test_distutils"
|
||||
fi
|
||||
fi
|
||||
|
||||
local myeconfargs=(
|
||||
# glibc-2.30 removes it; since we can't cleanly force-rebuild
|
||||
# Python on glibc upgrade, remove it proactively to give
|
||||
# a chance for users rebuilding python before glibc
|
||||
ac_cv_header_stropts_h=no
|
||||
|
||||
--enable-shared
|
||||
--without-static-libpython
|
||||
--enable-ipv6
|
||||
--infodir='${prefix}/share/info'
|
||||
--mandir='${prefix}/share/man'
|
||||
--with-computed-gotos
|
||||
--with-dbmliborder="${dbmliborder}"
|
||||
--with-libc=
|
||||
--enable-loadable-sqlite-extensions
|
||||
--without-ensurepip
|
||||
--with-system-expat
|
||||
--with-system-ffi
|
||||
|
||||
$(use_with lto)
|
||||
$(use_enable pgo optimizations)
|
||||
$(use_with readline readline "$(usex libedit editline readline)")
|
||||
)
|
||||
|
||||
# disable implicit optimization/debugging flags
|
||||
local -x OPT=
|
||||
# pass system CFLAGS & LDFLAGS as _NODIST, otherwise they'll get
|
||||
# propagated to sysconfig for built extensions
|
||||
local -x CFLAGS_NODIST=${CFLAGS}
|
||||
local -x LDFLAGS_NODIST=${LDFLAGS}
|
||||
local -x CFLAGS= LDFLAGS=
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
|
||||
if grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
|
||||
eerror "configure has detected that the sem_open function is broken."
|
||||
eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777."
|
||||
die "Broken sem_open function (bug 496328)"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Ensure sed works as expected
|
||||
# https://bugs.gentoo.org/594768
|
||||
local -x LC_ALL=C
|
||||
# Prevent using distutils bundled by setuptools.
|
||||
# https://bugs.gentoo.org/823728
|
||||
export SETUPTOOLS_USE_DISTUTILS=stdlib
|
||||
|
||||
# Save PYTHONDONTWRITEBYTECODE so that 'has_version' doesn't
|
||||
# end up writing bytecode & violating sandbox.
|
||||
# bug #831897
|
||||
local -x _PYTHONDONTWRITEBYTECODE=${PYTHONDONTWRITEBYTECODE}
|
||||
|
||||
if use pgo ; then
|
||||
# bug 660358
|
||||
local -x COLUMNS=80
|
||||
local -x PYTHONDONTWRITEBYTECODE=
|
||||
|
||||
addpredict /usr/lib/python3.10/site-packages
|
||||
fi
|
||||
|
||||
# also need to clear the flags explicitly here or they end up
|
||||
# in _sysconfigdata*
|
||||
emake CPPFLAGS= CFLAGS= LDFLAGS=
|
||||
|
||||
# Restore saved value from above.
|
||||
local -x PYTHONDONTWRITEBYTECODE=${_PYTHONDONTWRITEBYTECODE}
|
||||
|
||||
# Work around bug 329499. See also bug 413751 and 457194.
|
||||
if has_version dev-libs/libffi[pax-kernel]; then
|
||||
pax-mark E python
|
||||
else
|
||||
pax-mark m python
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Tests will not work when cross compiling.
|
||||
if tc-is-cross-compiler; then
|
||||
elog "Disabling tests due to crosscompiling."
|
||||
return
|
||||
fi
|
||||
|
||||
# Skip failing tests.
|
||||
local skipped_tests="gdb"
|
||||
|
||||
if use sparc ; then
|
||||
# bug #788022
|
||||
skipped_tests+=" multiprocessing_fork"
|
||||
skipped_tests+=" multiprocessing_forkserver"
|
||||
fi
|
||||
|
||||
for test in ${skipped_tests}; do
|
||||
mv "${S}"/Lib/test/test_${test}.py "${T}"
|
||||
done
|
||||
|
||||
# bug 660358
|
||||
local -x COLUMNS=80
|
||||
local -x PYTHONDONTWRITEBYTECODE=
|
||||
# workaround https://bugs.gentoo.org/775416
|
||||
addwrite /usr/lib/python3.10/site-packages
|
||||
|
||||
local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
|
||||
|
||||
emake test EXTRATESTOPTS="-u-network -j${jobs}" \
|
||||
CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty
|
||||
local result=$?
|
||||
|
||||
for test in ${skipped_tests}; do
|
||||
mv "${T}/test_${test}.py" "${S}"/Lib/test
|
||||
done
|
||||
|
||||
elog "The following tests have been skipped:"
|
||||
for test in ${skipped_tests}; do
|
||||
elog "test_${test}.py"
|
||||
done
|
||||
|
||||
elog "If you would like to run them, you may:"
|
||||
elog "cd '${EPREFIX}/usr/lib/python${PYVER}/test'"
|
||||
elog "and run the tests separately."
|
||||
|
||||
if [[ ${result} -ne 0 ]]; then
|
||||
die "emake test failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local libdir=${ED}/usr/lib/python${PYVER}
|
||||
|
||||
emake DESTDIR="${D}" altinstall
|
||||
|
||||
# Fix collisions between different slots of Python.
|
||||
rm "${ED}/usr/$(get_libdir)/libpython3.so" || die
|
||||
|
||||
# Cheap hack to get version with ABIFLAGS
|
||||
local abiver=$(cd "${ED}/usr/include"; echo python*)
|
||||
if [[ ${abiver} != python${PYVER} ]]; then
|
||||
# Replace python3.X with a symlink to python3.Xm
|
||||
rm "${ED}/usr/bin/python${PYVER}" || die
|
||||
dosym "${abiver}" "/usr/bin/python${PYVER}"
|
||||
# Create python3.X-config symlink
|
||||
dosym "${abiver}-config" "/usr/bin/python${PYVER}-config"
|
||||
# Create python-3.5m.pc symlink
|
||||
dosym "python-${PYVER}.pc" "/usr/$(get_libdir)/pkgconfig/${abiver/${PYVER}/-${PYVER}}.pc"
|
||||
fi
|
||||
|
||||
# python seems to get rebuilt in src_install (bug 569908)
|
||||
# Work around it for now.
|
||||
if has_version dev-libs/libffi[pax-kernel]; then
|
||||
pax-mark E "${ED}/usr/bin/${abiver}"
|
||||
else
|
||||
pax-mark m "${ED}/usr/bin/${abiver}"
|
||||
fi
|
||||
|
||||
use sqlite || rm -r "${libdir}/"{sqlite3,test/test_sqlite*} || die
|
||||
use tk || rm -r "${ED}/usr/bin/idle${PYVER}" "${libdir}/"{idlelib,tkinter,test/test_tk*} || die
|
||||
|
||||
dodoc Misc/{ACKS,HISTORY,NEWS}
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
find Tools -name __pycache__ -exec rm -fr {} + || die
|
||||
dodoc -r Tools
|
||||
fi
|
||||
insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
|
||||
local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \
|
||||
emake --no-print-directory -s -f - 2>/dev/null)
|
||||
newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py
|
||||
|
||||
newconfd "${FILESDIR}/pydoc.conf" pydoc-${PYVER}
|
||||
newinitd "${FILESDIR}/pydoc.init" pydoc-${PYVER}
|
||||
sed \
|
||||
-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${PYVER/./_}_PORT:" \
|
||||
-e "s:@PYDOC@:pydoc${PYVER}:" \
|
||||
-i "${ED}/etc/conf.d/pydoc-${PYVER}" \
|
||||
"${ED}/etc/init.d/pydoc-${PYVER}" || die "sed failed"
|
||||
|
||||
local -x EPYTHON=python${PYVER}
|
||||
# if not using a cross-compiler, use the fresh binary
|
||||
if ! tc-is-cross-compiler; then
|
||||
local -x PYTHON=./python
|
||||
local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}${PWD}
|
||||
else
|
||||
local -x PYTHON=${EPREFIX}/usr/bin/${EPYTHON}
|
||||
fi
|
||||
|
||||
echo "EPYTHON='${EPYTHON}'" > epython.py || die
|
||||
python_domodule epython.py
|
||||
|
||||
# python-exec wrapping support
|
||||
local pymajor=${PYVER%.*}
|
||||
local scriptdir=${D}$(python_get_scriptdir)
|
||||
mkdir -p "${scriptdir}" || die
|
||||
# python and pythonX
|
||||
ln -s "../../../bin/${abiver}" \
|
||||
"${scriptdir}/python${pymajor}" || die
|
||||
ln -s "python${pymajor}" "${scriptdir}/python" || die
|
||||
# python-config and pythonX-config
|
||||
# note: we need to create a wrapper rather than symlinking it due
|
||||
# to some random dirname(argv[0]) magic performed by python-config
|
||||
cat > "${scriptdir}/python${pymajor}-config" <<-EOF || die
|
||||
#!/bin/sh
|
||||
exec "${abiver}-config" "\${@}"
|
||||
EOF
|
||||
chmod +x "${scriptdir}/python${pymajor}-config" || die
|
||||
ln -s "python${pymajor}-config" \
|
||||
"${scriptdir}/python-config" || die
|
||||
# 2to3, pydoc
|
||||
ln -s "../../../bin/2to3-${PYVER}" \
|
||||
"${scriptdir}/2to3" || die
|
||||
ln -s "../../../bin/pydoc${PYVER}" \
|
||||
"${scriptdir}/pydoc" || die
|
||||
# idle
|
||||
if use tk; then
|
||||
ln -s "../../../bin/idle${PYVER}" \
|
||||
"${scriptdir}/idle" || die
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,4 +1,7 @@
|
||||
AUX jemalloc-5.2.0-gentoo-fixups.patch 1443 BLAKE2B 433f445195f13ad3932d3b0c86a4b3ab2adfe99711584c96d8377fddf31730d9a0a116b345dbb9f46e487df9d11b222625dd72238b828452be1fb3ab838c347f SHA512 6fe7419d4cbf68e4725e9a10b8f42af126be924b011aab09a6872b0bd59effec3c641f9df4c2ba9935fb1b7bbfb62c3f272bc63a5264fdc105351427fd739958
|
||||
AUX jemalloc-5.3.0-gentoo-fixups.patch 1233 BLAKE2B 4654d1ecc2846281530b922e942dd68dcf4a4859ad087db4c5e163fd903c941b877fc2ad7e7a39b041e19ab74dc3af677132eb294394763f18f41dc9b126006f SHA512 4d1d4c22085cee554a5eaff0415c2401e528c1a496c4e06f9cc04fb8574ae19e9a271ea60cc368c3e0af65b26e72c86668a00fc38049281ac1bd79148551c142
|
||||
DIST jemalloc-5.2.1.tar.bz2 554279 BLAKE2B 52cb8cd5e5807a750a7e5e9ee005afd61144d821d7f7029a5eca998fd61787a7271338dee3de586ddf93f5fdbddc2c2ca03ba64375a70096f273a6aa173da431 SHA512 0bbb77564d767cef0c6fe1b97b705d368ddb360d55596945aea8c3ba5889fbce10479d85ad492c91d987caacdbbdccc706aa3688e321460069f00c05814fae02
|
||||
DIST jemalloc-5.3.0_pre20220405.tar.xz 671240 BLAKE2B 75cc8b58f9ce10ad1ae61b6b0146727796585d2edfd88c100661181409591bce3ed8499bfc5ffbbfac217c9baf33f955934aac9a62190874bc070c22b7e8f18f SHA512 aeacb637c0a5bd653ad584700fd3a91717b49dba60174871047e0e72ac805c9931940b0faf2e1846e09b975799d9545e32e71e0ff5951c0dcb23cfc8680a2ce9
|
||||
EBUILD jemalloc-5.2.1-r1.ebuild 1418 BLAKE2B efc1ecdbf966fe0f3fc69f065f51c66946b59b68e59197079d9a1fc2f88da1f736015f9910a5923b0f1f2b476578f2b21d5edfea61337c76ce689326338ebe26 SHA512 745d3534239ac337bef2b6cfb38dbf5cf9b648781bfad50e9e8e3fa037313183c7a5b447e72221db152315e0372ec03edb23b102a368f818b30adbb1d50657d6
|
||||
EBUILD jemalloc-5.3.0_pre20220405.ebuild 1493 BLAKE2B b06192568e9cec575b31ebd27e2d587f26227309e4bfc8460d17ac49e6f80376c436b4e06b52d93e958e1f348e57482d0413ec6b7ccc562bd78a3735cdd973bd SHA512 b3dbe415754eb481e99b160a0f8ece3431050481fef90c6bbc804402d034b8f8d22c61a1d82e7d44b448e6ce7436cad4b8cdf6315446447996e29b5905a8d04a
|
||||
MISC metadata.xml 638 BLAKE2B 5d10d2e2db2f0557f2a0176e8e4ad244aa6b9209519c4b21c68696561b6a2a558f206bbd7de37d1f021231b8c84ec08a6796f0af5e5b32c2ec8c047ee50e8fab SHA512 31f22b88e6fa5252504cba421a730f13a18c213dec487a764c2c05555d45539ee58a0ddfe2212f535bc276934101125a3940c9b4934c7f924e89f85ebe75672c
|
||||
|
@ -0,0 +1,43 @@
|
||||
This is jemalloc-5.2.0-gentoo-fixups.patch, rebased on top of upstream commit
|
||||
https://github.com/jemalloc/jemalloc/commit/ed5fc14b28ca62a6.
|
||||
From: Jory Pratt <anarchy@gentoo.org>
|
||||
Date: Tue, 23 Apr 2019 10:04:19 -0500
|
||||
Subject: [PATCH] Don't override user cflags, disable html_doc from being
|
||||
installed
|
||||
|
||||
Signed-off-by: Jory Pratt <anarchy@gentoo.org>
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -603,7 +603,7 @@ install_doc_man: build_doc_man
|
||||
$(INSTALL) -v -m 644 $$d $(MANDIR)/man3; \
|
||||
done
|
||||
|
||||
-install_doc: install_doc_html install_doc_man
|
||||
+install_doc: install_doc_man
|
||||
|
||||
install: install_bin install_include install_lib
|
||||
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1220,21 +1220,6 @@ if test "x$enable_debug" = "x1" ; then
|
||||
fi
|
||||
AC_SUBST([enable_debug])
|
||||
|
||||
-dnl Only optimize if not debugging.
|
||||
-if test "x$enable_debug" = "x0" ; then
|
||||
- if test "x$GCC" = "xyes" ; then
|
||||
- JE_CFLAGS_ADD([-O3])
|
||||
- JE_CXXFLAGS_ADD([-O3])
|
||||
- JE_CFLAGS_ADD([-funroll-loops])
|
||||
- elif test "x$je_cv_msvc" = "xyes" ; then
|
||||
- JE_CFLAGS_ADD([-O2])
|
||||
- JE_CXXFLAGS_ADD([-O2])
|
||||
- else
|
||||
- JE_CFLAGS_ADD([-O])
|
||||
- JE_CXXFLAGS_ADD([-O])
|
||||
- fi
|
||||
-fi
|
||||
-
|
||||
dnl Enable statistics calculation by default.
|
||||
AC_ARG_ENABLE([stats],
|
||||
[AS_HELP_STRING([--disable-stats],
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
inherit autotools multilib-minimal
|
||||
|
||||
DESCRIPTION="Jemalloc is a general-purpose scalable concurrent allocator"
|
||||
HOMEPAGE="http://jemalloc.net/ https://github.com/jemalloc/jemalloc"
|
||||
#SRC_URI="https://github.com/jemalloc/jemalloc/releases/download/${PV}/${P}.tar.bz2"
|
||||
SRC_URI="https://dev.gentoo.org/~xen0n/distfiles/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/2"
|
||||
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
|
||||
IUSE="debug lazy-lock prof stats xmalloc"
|
||||
HTML_DOCS=( doc/jemalloc.html )
|
||||
PATCHES=( "${FILESDIR}/${PN}-5.3.0-gentoo-fixups.patch" )
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=( /usr/include/jemalloc/jemalloc.h )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=(
|
||||
$(use_enable debug)
|
||||
$(use_enable lazy-lock)
|
||||
$(use_enable prof)
|
||||
$(use_enable stats)
|
||||
$(use_enable xmalloc)
|
||||
)
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
# Copy man file which the Makefile looks for
|
||||
cp "${S}/doc/jemalloc.3" "${BUILD_DIR}/doc" || die
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# fixup install_name, #437362
|
||||
install_name_tool \
|
||||
-id "${EPREFIX}"/usr/$(get_libdir)/libjemalloc.2.dylib \
|
||||
"${ED}"/usr/$(get_libdir)/libjemalloc.2.dylib || die
|
||||
fi
|
||||
find "${ED}" -name '*.a' -delete || die
|
||||
}
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST psr-1.2.0.tgz 28238 BLAKE2B c8a3b81b1442c0bda2041aa3ca8d0b37759ff44fd36dd896b3b639e2deeb0767f8baaa699f6b6db063c7deb2f7b217a665d0306a75cc5d783bb635c6c0bf72a4 SHA512 90d4bc1cd2364a15775024806ec5bc1b8f60ed44569162016a0a78fca89f4ad0f0e0b1f9f09ebdcfe6a803e888bddd1d8ce73100eec52ecc21c2e505a35ee5dd
|
||||
EBUILD pecl-psr-1.2.0.ebuild 421 BLAKE2B f2c87d9e7fdb083bccb7a5e32cba6210e37b6ce42e0d613c8f04e04e1c53d1ce51d7d29fbadc235582c09046318b659d523f22ee5a3669449778583a33116ad0 SHA512 b5e668e7a1272f0f7cb9da1f24a7ce8a65015f88718203c6d9b70ce363a6efd3d4dd6cf1a981523ace394119d710fe1b9da78c7d0057af6959e332fd5aa14511
|
||||
EBUILD pecl-psr-1.2.0.ebuild 423 BLAKE2B 0d0cd45b8e2291195c9d79863548c3ce293fbabae75c6a5d4465a5d50aad3c9129dddeadabfdff4a0187dd16a85db8e115fbf610a7e199e12ee73ca72aa22d1b SHA512 f95c860023ea19d4dc83bbca42590122926a6379c6302376de3fd703213234de134ddd1c3c82111fab6c1f28cc8ae66b39060f3557c351103a6b631a31c94890
|
||||
MISC metadata.xml 240 BLAKE2B f60f325331d493a555e53c29c7cf2742a415356da28a467505f1441f3fd790fd0d59050df84854bdc379d19d94a46121216479807975a2922d5a2fefde83416b SHA512 fada9d69055f2be962b95aac82f260ec5db7a3f4392d10f0458a1d125938fa17539f7ec486000f3a95cff85a3fbb6bbf1f6f4fe6c2de7aa420a7543a3e89d03e
|
||||
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST dill-0.3.4.gh.tar.gz 152875 BLAKE2B 61c638f0459b94f5cc0dabd9d5fd224c3c010ab6ccc9b7e47943922e7e139bd74c7a5173657febb028fc79632792f807586e271316ad87bb505520163f85a300 SHA512 1b1991909a9782382ecdb2ada13249c8b446d3558de69501280c816f7cd6c6728f9d3303c826461245ab9e42c43c02e4605142f25e09244bb7ccc9ca68a4b565
|
||||
EBUILD dill-0.3.4-r1.ebuild 722 BLAKE2B 4cbd12269ba6568b9ee89b1c602bb2f86d7d0256b99677ac5bb0357278358527f4c1a71a4810a9548d8ee43feb925294b851e34c6d7c8ca2b1c2dc3ee0c5dda6 SHA512 4619d52a3dbed7f8e35e1fecc04b20c5086a67c71ac10eee55332ddcf0098d1893f5523aec2f77215638797fcf9d615e6e539c8c35db0789e6a8dddee1aa4822
|
||||
EBUILD dill-0.3.4-r1.ebuild 721 BLAKE2B 10ec6652463e1536a5fd54b1df89d6fd5a156ee1687d9293ac41176de883bca74b201ea2870d8eb9cbfa447d1dbb4f1bbbd4342e23fc229bd4397d106b9c66a6 SHA512 e5429ae71bec3b01766364557bdbaf71112cd0e000582f7b5548a041b48eca3b5f0c583030435212eaf7d2ca9b44e1886d05ca7f88138501ddd98c627d495f0d
|
||||
MISC metadata.xml 997 BLAKE2B ae32cd96d7a4967a9886d4903e21720459c0a963a675d301c2bb651fdb15877d845100822c1e7a7b6184ccaa666cbb6dc58f939616de9c1c22554670d841bd19 SHA512 e3dc363382bea8ed76343b62377c139ad84011a6b804f64b65d93941a7c192c268c0da273c73d5ec1cece7320b15fa88bf5a2f20a628d8845efddab24f3acc5b
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST ephemeral-port-reserve-1.1.4.gh.tar.gz 4839 BLAKE2B 843ddbfe8b102c10b3166628ba2aa1ef40f3314a74ac5e944e4e6c500f3f0d871424ca37dbbe64bc385352ba3ee9895884e82fd169962db8b6bf96aaf131d078 SHA512 e0412ac5ec362cffbd5efeb8c24a47ee36b50f2bf126438816824711f1f34412c903b116e96d4e541183925e7422b8f58bb0b7c5b819090d0f3d063cbf8c9f87
|
||||
EBUILD ephemeral-port-reserve-1.1.4.ebuild 651 BLAKE2B 90f17919a3246a2b641709936c99f468b4a49e6fd39646df6b6192988f445d0670e6a6d87c634b54a3d6475cac5d0e29683169d1031c3c324f7716d3d7a3fe69 SHA512 a549e55a84d4c3f60e526c8f017aea518efd613583f36af0625229219e478d01f8c7a0f018507f3e3bccea40efd5b5b4fa981c2e866e461dcaee6766a2e75bce
|
||||
EBUILD ephemeral-port-reserve-1.1.4.ebuild 649 BLAKE2B 289e910ddef4693fb5cb89cca6ae5dad63a476606b1ee706de072e19240bc6c07bf57336aa0606020f1db8271f01df2188da96cd10777f7af0cdf873127cbedb SHA512 9315f868df573406409a0f73044e0305f9805973a8df1575d2c007880389fff4371812a99759def9ed5bb1bf188d9127e97f7f307372ad9b11693c2376ba92b6
|
||||
MISC metadata.xml 371 BLAKE2B 1ece78571254bc92c83621d671d74658de34133d33cdd1c902c06593058ff74ef82b2d4dc5d6a67af5c4d485e53f62818c063c11ae9f1c4a4f7fec20ac0a79e2 SHA512 d6096c1e95da471e04eb3571cc0cd780ad57dd392776064b874b2613f2d64749971851cafe1efdcc41a28a834c3ac6c6fa02117def2ce03cd65762c6ded6ceba
|
||||
|
@ -1,4 +1,4 @@
|
||||
AUX ini2toml-0.10-test.patch 1883 BLAKE2B 88402feed5aa7e51587f7297b8c3afa058d04e0f878acf1a6af5dfab77cb50d0c5708cfe9e1a45d704f7fbaca068cf9f3d0838bdcb6e1aa3145129f6239180c9 SHA512 1df613aa1e793716e4b0e7a83b3f15bb69f7abd5c43831e0d09dd4ec42ee8ed617586188bfb9bfc6863f93f4cdeb0114226e9da44c8b3a73b04705f7c9139c87
|
||||
DIST ini2toml-0.10.gh.tar.gz 93535 BLAKE2B 8d8a5b31c53b9194e578b473dfd562b1b569d701b36b267ec4f59ea75ec03abd6e1df5541327b9414a2f1c04b1cb41ec57c6f900007f69a3c51a172143d2eacd SHA512 3d88f97c50a13fe3878e3fa35d70c9051874bec99d278411dcc7098d86898deb0e490be26f293e9a304d4c9a2842274e68126a2d20dac77b526161fde682dd75
|
||||
EBUILD ini2toml-0.10.ebuild 1753 BLAKE2B d5859de93cf9eebf91a4f974f51841ac3d1adc5a3243d03152148c2147a3012d6759b29130a7f7e2a62aa7e674c99db716b61337733baec5ea4aeb41559a63c2 SHA512 edcbd65c531b196c27bc1d5f0e23c63bdd1dba58315d08fa259103e9c11d5f53fc2ba1f20bd28f6c5d8eee9c926ed955c13dbbd8347b1b3d574eb00cec79b322
|
||||
EBUILD ini2toml-0.10.ebuild 1752 BLAKE2B ec37fc5a76815c6843e67a495366b7ad241630a5d3d1a26c47549fb8971390f480b2835ab2b411897560f0860b8d69cce2cdff6e536f0568aeb9d9db9fe54204 SHA512 665cff33319d9f13f4537104bfa6c86839c504d9313bbd4c04e38612126d76fd3dd8f766f1aa5d73d7d0ef4ccfcbab669e194f99962b8ac9a399bf5e83b4cd67
|
||||
MISC metadata.xml 374 BLAKE2B d1d096c2db4d1975e07553486be8e1ef66a63338b6a6617f71131565b80f612b9d50ca7c039d0b37b02eec56421231f52833390eb8536de44d4edd7c90d307f2 SHA512 21a272e9c3a7eb3e0950358f8ffb90b961ff0e39073519ed0b36660dfae91b24f8e09e3b89a20dbeadba45d995eea4bb89d484acc04a7251dfb9f33603bef998
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST kiwi-1.4.1.tar.gz 91319 BLAKE2B ac8d9cf1e8960f436566e2ff8d589ff6707fc4458299bc33ff96387c36246d583e67ef84610b710b3d9364d8a4ae963577b4abfc3ddbfc18a417f956512479d9 SHA512 7178f26c96ebf4a173b563bc95d2a07a9f75b618fc953aa0d45a8c2719cf868e4409ad2c95280704ee593fc99d9e2c83b0628940b3571d1be712241464a9cd6d
|
||||
DIST kiwi-1.4.2.tar.gz 91150 BLAKE2B 8441d52267b3b436d9f05baabbd3beafc51d2f257fc982f1cf90b6296ccdbc24511de6b55b6201eb1df37ec9487282cc40142e9083cf4c1e925976a098927e1a SHA512 e7726ac7985bea1020fd3a26bf54b941acfffffb1f47b462c74f9829c5a89e7abd0732b5a11685b20d6a17ac9625178c68ea71052e852f91491a308d07111b01
|
||||
EBUILD kiwisolver-1.4.1.ebuild 770 BLAKE2B 09463f7386da6dfb25681859a438326b96dc3e7e23f26b66251f4ecd9d2e2c7e9a11b77d2772772b0e9be2d621a62fb6325a1befc17029bac1bcb0e46f1cd848 SHA512 3fb4d382b307303dcc44a4d5d14c70853e64373a6fab0721c23fa078fc97b109edf7e34f59809f5878245e7a0b0817a21bedc488e89575998406d75463378798
|
||||
EBUILD kiwisolver-1.4.2.ebuild 833 BLAKE2B ba5665051e0279ea758a1fc115b590427870790d8b974fa36079bc121735adc25237781ba6a46d7bdf2f46e721d94e968bd37cc3194d9eaf8771922e94332e17 SHA512 4395f6d1c8c9ad23927411e43cf4a7863d317ede88687e314b4fd00026f43eaa56e9322aa64583782f50d45423648480f877b14bbe4c1342e4bed6d070470330
|
||||
EBUILD kiwisolver-1.4.2.ebuild 829 BLAKE2B 2afd27db86c33664ee420ef978ad724f522a80e9d5ba316b66c3d341516ef750e974ea7f55505b4bf4b0164d82cf392708daa4c9f98d3ef6611805a77569db74 SHA512 cef61a3a8e6656b4f3b34bed52667de8a6edeb6b5b2b6b2451e80d7df3539fb9787378cd2e0bc7e6557b315f03e893765579d3e4a2fa1ac51d562e77a6a119e6
|
||||
MISC metadata.xml 366 BLAKE2B d724248e9950219de4990e67822a16781e1a28f41d863fde04b3e1212b982a86819636a621b6e23089b76042ebbb23e0944a88ef9ab4c4abe62103f12197e5c2 SHA512 526fe3a81426edfc4c050631133799d948d1becb016319e954491090b9f3f6d410958db7027b5c2e2386b40c783f8c984b2588cda56e3ac58f3d2b1a5a8af0f0
|
||||
|
@ -1,8 +1,4 @@
|
||||
AUX pygresql-5.2-CFLAGS.patch 333 BLAKE2B caa18ab6ba4da14437637faf6cea4d27e829c4f547f9c08e33a452b1e5912a24235af823c9ea385bbd1516c0c80a08d3225e373ad64ad4d13873ff4dc5155695 SHA512 ddafaadb4ebfb68af71727f840f36800d3dd78323f8ab0324a16b50498206c8ac33c76a80f24fff7984195ed5ac0fc383bdcacb9ea334f4b47e5046864728cd0
|
||||
DIST PyGreSQL-5.2.2.tar.gz 268818 BLAKE2B 4b74c5496f63208164efa10e70222b63512f3afb928bdc612f9874556ee2084b42a80ba05e9ebc6951c68c1c8a70c71320396aabb20b9d5c00d5edd46e287f3f SHA512 a88af2590a515ece19b7f64796e241c6e7b53c8aef90c6e2ae064298a4c71d44695dcf43e0e84595a704c4fdafb9abe35e1779492d3a9ad3708759215cb188a1
|
||||
DIST PyGreSQL-5.2.3.tar.gz 269952 BLAKE2B 9588f4e97dcc2b52e070405df3869c50bb9968716f19fa2154b6aa248d015c7b80aa6d2bf12a3bb30a77e4572b96939b5a6a98043fe70c911f80a54e09cb034e SHA512 94fe212801e89a97ccaac0cd72df4a79e28acc0992e855dfc2e8e8fd08750c97d2f2801eef07fdfa8a258061cc63c4aa9e4127852ba58c845414ec2d5e5f1483
|
||||
DIST PyGreSQL-5.2.4.tar.gz 270319 BLAKE2B 6ec2bf9786dd97f8649585bd00b87569d2cd668e43e8cc28443126ec2ee00943f044775b756785002c32aef516c4141e126e7d458b232bf8bfa1413bfdbd2db0 SHA512 3dbb90391e0a12f1ce4676dd5fa89d586d33a4bcb710779583beb05ae71131fbcf0412e702b542d856f3fd6ceeb145952c2f7bdede25efd08fe61ffcf0296212
|
||||
EBUILD pygresql-5.2.2.ebuild 1181 BLAKE2B 4f3e79479615b2a7380a8c7933913456b91f8f038a7e4574ea1d33e81bac106ac0524d447514e4fe8f036774434cd14c624e3c07aa2068c08b6bc0d484b82e5b SHA512 f083dc3787267513a68f4edf04543e537e4432f0d8a541b33fb864abe1919151f1b4cb79bc1e56513bf5ea8cceb1bbbd7c0f531e6f93b0ca5453b1c6f9584b34
|
||||
EBUILD pygresql-5.2.3.ebuild 1216 BLAKE2B dbbb05d4c716da7f9f586dbf86d660df4c83cbf6e44e3c7ac91c89c673762fa4dc5d8b7d3af243b02f6a143d8b1c90521ca969dfd05e0fb3d763aeda4529a8d5 SHA512 0d3aefdcab8c5328e9a138338d6201523f9f8c6b166730ad9d251c95e2550db56551867d17d705b7e45c040e27f05b22022eb9097a417e90ea15520aa0b3e88e
|
||||
EBUILD pygresql-5.2.4.ebuild 1213 BLAKE2B d1f0a6d1699a9acf2e79b3f011181daaf86f259c07d62d088bfbc1c8ac7b1562703bca6bf3d13d499f8749c77bfc9e5ead2ff758bfdcc6801d38fdd57fb3d2cf SHA512 c95f1e91275219db2f634179662f700bcfbb5c9ff666b782e9f37b6a09bf57f091a8129740cd2e4069c775e6c09f57faf38597470b68bd311dd12a3c18daec57
|
||||
MISC metadata.xml 510 BLAKE2B cde75458658f9434322620377e1f5b99c9a0aa484e164ab5dcdbee94e4beebe646ff052783984c95245791bb4006545037768928a6e2664e1bb72df5aea49ae7 SHA512 e5750c6fc17dc5368142847318bf1842a17e2f46ac1ef01aa4658ec1c51705c5f160e75018567f83f41b0b4fd226ef019779f406513cc2d5b9e68bf420b51b81
|
||||
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
POSTGRES_COMPAT=( 9.6 {10..13} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1 postgres
|
||||
|
||||
MY_P="PyGreSQL-${PV}"
|
||||
|
||||
DESCRIPTION="A Python interface for the PostgreSQL database"
|
||||
HOMEPAGE="https://pygresql.org/"
|
||||
SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="POSTGRESQL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~sparc x86"
|
||||
|
||||
DEPEND="${POSTGRES_DEP}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-5.2-CFLAGS.patch
|
||||
)
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_test() {
|
||||
local db="${T}/pgsql"
|
||||
initdb --username=portage -D "${db}" || die
|
||||
pg_ctl -w -D "${db}" start \
|
||||
-o "-h '127.0.0.1' -p 5432 -k '${T}'" || die
|
||||
psql -h "${T}" -U portage -d postgres \
|
||||
-c "ALTER ROLE portage WITH PASSWORD 'postgres';" || die
|
||||
createdb -h "${T}" -U portage unittest || die
|
||||
|
||||
cat > tests/LOCAL_PyGreSQL.py <<-EOF || die
|
||||
dbhost = '${T}'
|
||||
EOF
|
||||
|
||||
distutils-r1_src_test
|
||||
|
||||
pg_ctl -w -D "${db}" stop || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
POSTGRES_COMPAT=( 9.6 {10..14} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1 postgres
|
||||
|
||||
MY_P="PyGreSQL-${PV}"
|
||||
|
||||
DESCRIPTION="A Python interface for the PostgreSQL database"
|
||||
HOMEPAGE="https://pygresql.org/"
|
||||
SRC_URI="mirror://pypi/P/PyGreSQL/${MY_P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="POSTGRESQL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
|
||||
|
||||
DEPEND="${POSTGRES_DEP}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-5.2-CFLAGS.patch
|
||||
)
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_test() {
|
||||
local db="${T}/pgsql"
|
||||
initdb --username=portage -D "${db}" || die
|
||||
pg_ctl -w -D "${db}" start \
|
||||
-o "-h '127.0.0.1' -p 5432 -k '${T}'" || die
|
||||
psql -h "${T}" -U portage -d postgres \
|
||||
-c "ALTER ROLE portage WITH PASSWORD 'postgres';" || die
|
||||
createdb -h "${T}" -U portage unittest || die
|
||||
|
||||
cat > tests/LOCAL_PyGreSQL.py <<-EOF || die
|
||||
dbhost = '${T}'
|
||||
EOF
|
||||
|
||||
distutils-r1_src_test
|
||||
|
||||
pg_ctl -w -D "${db}" stop || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,7 +1,4 @@
|
||||
DIST pypy-exe-7.3.8-1.amd64.xpak 13659803 BLAKE2B 438206eb417422b749d21ba0de71611147df9d0a40b6bef12bfc068fab92e7cd39878b1f15c97b6efe3f2751b29efd2f7ee9a6d084fc405384012b3c3e327552 SHA512 2c88e383302b8c873e1dcab1d24e0fc0455f751c2e5617926e97aa2414d84a437477ab029b9ae0751c418658250f13b54cb8abc871bd543ec58e392acdf4195f
|
||||
DIST pypy-exe-7.3.8-1.x86.xpak 10179209 BLAKE2B e7d32ca389ab1dd92acc848caca0fb8e965f25f0ec9b3ca433984417d5979e4742926fcd5d6566eb89e19513b6fd02adcc1c5ef3305c52db84107cf14af1010a SHA512 df6086c046e6ad1da3d4d04dbc1bd6889b0ff760e6e10d4fd85c7add22cfaa31d6873dabaa18593aadc3e52d837043b3be1fec474c829debd79612adb7b0d07a
|
||||
DIST pypy-exe-7.3.9-1.amd64.xpak 13757730 BLAKE2B d5e2bddc32a9cd199d01280dfbe2ff6e73583094583bf9ec3bc469911754df86270c8cfc5a9284cf06dba7ce267d897f864f6f357418e96e853a6e0f31d627e6 SHA512 570ca27d1ca411281a002c9c33ebb54d088032d6aa1898967e637f6bf06c8a32a16576f8c637fc13a0fb8294e7ba5b0b9b16600902037680b7d7f2b4edd6cfe7
|
||||
DIST pypy-exe-7.3.9-1.x86.xpak 10132659 BLAKE2B 2a7e1e587f38178861f958ab40864f3d4f1df80dd7495eb31ac493d0bfa1b4a42278bb1fe9219148b6d04377588c33e8606e59e93c53c08b867f5408a39b2efb SHA512 57cfdd0c9e9b44aae882069f356935be1719bf737d9fbd1fde75b724269bd69cffc62c8cec77a863eab5260d76bfe689dcc6c78fda55a4952b496a6d5ac5acc0
|
||||
EBUILD pypy-exe-bin-7.3.8.ebuild 1126 BLAKE2B 76dc66d2136deded08828868e447174826745f6fa32b24ef4a552a9bf0f401e113c650aa634a7ef93a81a2ae46deeabfab10174c6a97e7daf32ef0a296012a93 SHA512 4c4a9818436532ed18dc1070eb7d3b57940f1c4e90f5591a180d913423947b9520bd1fe986d003258de474a443bb9c0ab21eb692722f0283c4089c3ae9c12c70
|
||||
EBUILD pypy-exe-bin-7.3.9.ebuild 1132 BLAKE2B d508415a703ed92f7aea6398fc554ef1ede47b1f31ce25498019a606fca2f1a488cbeae56894f3cf4c377e0254f8591623c659db9b05e0203fa23e44dedf9435 SHA512 f145fd25c3a71454fad8e4a1f16b13d530fe09bb9c90794468e2760e45ba6b1b5df0604f0f11170d3b227fa753c1118c60f66e8dc15ba5e2bc007be0f37627ad
|
||||
EBUILD pypy-exe-bin-7.3.9.ebuild 1131 BLAKE2B 2a710ea1002277edc281f399c88af9dd6ea2f2b29584b95aafc78e473caeff7417221d6eb77eb1e0f0d790d1fb9b9faa2d38a51469f964353d79f1320ed0f2dc SHA512 0f1d59a76d4c644a6992f3d116b499981ba6a2b846d2872d9991e9390aae356c4c0844c6bfc0f8626530093cc8450f7e3042eafd38167aed92ccc4357aeb19c9
|
||||
MISC metadata.xml 241 BLAKE2B 4f18c355c71824c25df283b2d463a5abbf2295446e74b960e868dd78d4910ac066725450478087567a6e66b7a8948d99e053f13a7e58dbf2b89fdaf5c2f3436c SHA512 c46e70ffd66754ad84c64806f2bbff25ba9a688f035176a4565afc95351ce10fffba64bbde89965501460b05978c7e59b3d84db6a8cb6efff4055d4b7a5ab5d8
|
||||
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit pax-utils
|
||||
|
||||
MY_P=pypy-exe-${PV}-1
|
||||
DESCRIPTION="PyPy executable (pre-built version)"
|
||||
HOMEPAGE="https://www.pypy.org/"
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
https://dev.gentoo.org/~mgorny/binpkg/amd64/pypy/dev-python/pypy-exe/${MY_P}.xpak
|
||||
-> ${MY_P}.amd64.xpak
|
||||
)
|
||||
x86? (
|
||||
https://dev.gentoo.org/~mgorny/binpkg/x86/pypy/dev-python/pypy-exe/${MY_P}.xpak
|
||||
-> ${MY_P}.x86.xpak
|
||||
)"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PV%_p*}"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
RDEPEND=">=sys-libs/zlib-1.1.3:0/1
|
||||
|| (
|
||||
dev-libs/libffi-compat:7
|
||||
dev-libs/libffi:0/7
|
||||
)
|
||||
virtual/libintl:0/0
|
||||
dev-libs/expat:0/0
|
||||
app-arch/bzip2:0/1
|
||||
sys-libs/ncurses:0/6
|
||||
!dev-python/pypy-exe:${SLOT}"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/lib/pypy2.7/pypy-c-${SLOT}"
|
||||
|
||||
src_unpack() {
|
||||
ebegin "Unpacking ${MY_P}.${ARCH}.xpak"
|
||||
tar -x < <(xz -c -d --single-stream "${DISTDIR}/${MY_P}.${ARCH}.xpak")
|
||||
eend ${?} || die "Unpacking ${MY_P} failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /
|
||||
doins -r usr
|
||||
fperms +x "/usr/lib/pypy2.7/pypy-c-${SLOT}"
|
||||
pax-mark m "${ED}/usr/lib/pypy2.7/pypy-c-${SLOT}"
|
||||
}
|
@ -1,7 +1,4 @@
|
||||
DIST pypy2.7-gentoo-patches-7.3.8.tar.xz 7428 BLAKE2B 5362c34929e2053fc9a806e9894f35cce02ba1ebfad66cc64acc200ade4317934ee50dbc072194d19e201dea2a678abd609001ffe7e39bd6890a3b26c9d6d00e SHA512 6a7bfadac8f638e69419a6a1536af595a63bb2b4e3028da6423bd164d3df5399901b217468b1b374a5162ca8d2e5a61c4a19996f9e63109ed414a1aedcaac5d6
|
||||
DIST pypy2.7-gentoo-patches-7.3.9.tar.xz 7428 BLAKE2B 0a42e3c04ac0e560d56ce7218db81fa55f74ad45a4a033ccda8c5fba34e3a0b1f06587b5b18e947170cc635bd44e5a7799daeec9319c6a09165a73b32554a4b6 SHA512 3a52d40ccf8d77f3493a763b51e4bf86a808f6478191ed4eeaa4f2c2ce8b75769c3880d07cbc7614d8af5573f3e8edfe694be41626b947f3d06c321cf4f59abd
|
||||
DIST pypy2.7-v7.3.8-src.tar.bz2 23279006 BLAKE2B 7b2f5bfaffb99d3444f355039f743a21016dea22cc78cd5feca05eb12ce0e5ed39dafd22a8726994d0aff789e68b506197680e7181087313d2c5cd17b674ae4d SHA512 6ff90fad998c25aec5823e61d65266c169e89cba2ee2e3b6d0864d34d69a6b9fe7ad4d591bc8b38a48c5c22ea3dd468d3188cd34e03746c258752eaa24ac3ae2
|
||||
DIST pypy2.7-v7.3.9-src.tar.bz2 23328628 BLAKE2B 50d015439b6a6f15dd24eb4524726a2054f0d8e7ef209b54dc4eb9365b41b333f3dad525422316af3ff19e6ffb5866859db4455e05fc1529a81ce3b6e7c621db SHA512 8d7513d4efe924f2456dd65a45a82dd16171f7962c81ba90f2a168c332cdad78ceffa3ed1af379c09e61082b39d5c2a8385cd77c89b698c47cc75e9df1bb4d2a
|
||||
EBUILD pypy-exe-7.3.8.ebuild 4304 BLAKE2B f43f62bfec5b1b28710c0020d24fe303c8bb66a305ab0f0a7091ae6828ded8bd1321b03beb429c6771d7d54ef9fac0e03467906db9bc144c5ef713dac17fb486 SHA512 04c045e764b54631267bf9f5aa76e999cd6b8a262998ce2c9170c2b70c705aee0d8273d2c822cfd1cccbd608fd093d5583895c84e236f0a5db82baab15e1658e
|
||||
EBUILD pypy-exe-7.3.9.ebuild 4315 BLAKE2B 38f65a5c705ac306471eec92c9c187c5bdb1e100362bc2fb493040274dd531ade9521518f2de8264b644f16e3e5950415bbb811f3c5e14b2a13ff2dcd50039b8 SHA512 8bcae5eb62784936fc2e6727534335855ea77abdca13966f0c371364ed65b3a8128ec72b6b6553a7e81feb1e013d3670f9825e12d2b63ea54344490ee4a02f4c
|
||||
EBUILD pypy-exe-7.3.9.ebuild 4314 BLAKE2B 809090151e75e6f9bbefb91f72362c50030e6d216ce69be4c0dc9f5ca6a4186620b715e35599ebdaa69a269de6bd0deb34c0a18469528f9bf0fcbc0374ff9177 SHA512 57d90f476d851fb0e8945db959ea7b9eca0e1d5a8b32c5b980abb207a8fb514aeb07cc21acaff425f7f5f2883aadd21acfb5f03c6b522dfdd2e16dbe27aff554
|
||||
MISC metadata.xml 498 BLAKE2B 8dbcdb7c3a4a2fa5d1a922fd5197fb5e3337adcaec1e7d382f25f8696c80726e5b79843477bf8e5ce131aecde6e2c4c283548c5b337e54cb58aaa066013c445a SHA512 8a9bb514bbf3bf328aa63734e1fdc106f6aaf5ccb88c29ad8a686ab2724f3d1f4727163500013dd16e7b34232b881cf47d2f174212b5428ee076af27cf43628d
|
||||
|
@ -1,178 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit check-reqs pax-utils python-any-r1 toolchain-funcs
|
||||
|
||||
PYPY_PV=${PV%_p*}
|
||||
MY_P=pypy2.7-v${PYPY_PV/_}
|
||||
PATCHSET="pypy2.7-gentoo-patches-${PV/_}"
|
||||
|
||||
DESCRIPTION="PyPy executable (build from source)"
|
||||
HOMEPAGE="https://www.pypy.org/"
|
||||
SRC_URI="https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
|
||||
https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz"
|
||||
S="${WORKDIR}/${MY_P}-src"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="${PYPY_PV}"
|
||||
KEYWORDS="amd64 ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="bzip2 +jit low-memory ncurses cpu_flags_x86_sse2"
|
||||
|
||||
RDEPEND=">=sys-libs/zlib-1.1.3:0=
|
||||
dev-libs/libffi:0=
|
||||
virtual/libintl:0=
|
||||
dev-libs/expat:0=
|
||||
bzip2? ( app-arch/bzip2:0= )
|
||||
ncurses? ( sys-libs/ncurses:0= )
|
||||
!dev-python/pypy-exe-bin:${PYPY_PV}"
|
||||
# don't enforce the dep on pypy with USE=low-memory since it's going
|
||||
# to cause either collisions or circular dep on itself
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
!low-memory? (
|
||||
|| (
|
||||
dev-python/pypy
|
||||
dev-lang/python:2.7
|
||||
)
|
||||
)"
|
||||
|
||||
check_env() {
|
||||
if use low-memory; then
|
||||
if ! has_version -b dev-python/pypy &&
|
||||
! has_version -b dev-python/pypy-bin
|
||||
then
|
||||
eerror "USE=low-memory requires a (possibly old) version of dev-python/pypy"
|
||||
eerror "being installed. Please install it using e.g.:"
|
||||
eerror
|
||||
eerror " $ emerge -1v dev-python/pypy dev-python/pypy-exe-bin"
|
||||
eerror
|
||||
eerror "before attempting to build dev-python/pypy-exe[low-memory]."
|
||||
die "dev-python/pypy needs to be installed for USE=low-memory"
|
||||
fi
|
||||
|
||||
CHECKREQS_MEMORY="1750M"
|
||||
use amd64 && CHECKREQS_MEMORY="3500M"
|
||||
else
|
||||
CHECKREQS_MEMORY="3G"
|
||||
use amd64 && CHECKREQS_MEMORY="6G"
|
||||
fi
|
||||
|
||||
check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && check_env
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
check_env
|
||||
|
||||
use low-memory && EPYTHON=
|
||||
if [[ ! ${EPYTHON} || ${EPYTHON} == pypy ]] &&
|
||||
{ has_version -b dev-python/pypy ||
|
||||
has_version -b dev-python/pypy-bin; }
|
||||
then
|
||||
einfo "Using already-installed PyPy to perform the translation."
|
||||
EPYTHON=pypy
|
||||
else
|
||||
einfo "Using ${EPYTHON} to perform the translation. Please note that upstream"
|
||||
einfo "recommends using PyPy for that. If you wish to do so, please unset"
|
||||
einfo "the EPYTHON variable."
|
||||
python-any-r1_pkg_setup
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local PATCHES=(
|
||||
"${WORKDIR}/${PATCHSET}"
|
||||
)
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
|
||||
local jit_backend
|
||||
if use jit; then
|
||||
jit_backend='--jit-backend='
|
||||
|
||||
# We only need the explicit sse2 switch for x86.
|
||||
# On other arches we can rely on autodetection which uses
|
||||
# compiler macros. Plus, --jit-backend= doesn't accept all
|
||||
# the modern values...
|
||||
|
||||
if use x86; then
|
||||
if use cpu_flags_x86_sse2; then
|
||||
jit_backend+=x86
|
||||
else
|
||||
jit_backend+=x86-without-sse2
|
||||
fi
|
||||
else
|
||||
jit_backend+=auto
|
||||
fi
|
||||
fi
|
||||
|
||||
local args=(
|
||||
--no-shared
|
||||
$(usex jit -Ojit -O2)
|
||||
|
||||
${jit_backend}
|
||||
|
||||
pypy/goal/targetpypystandalone
|
||||
)
|
||||
|
||||
# Avoid linking against libraries disabled by use flags
|
||||
local opts=(
|
||||
bzip2:bz2
|
||||
ncurses:_minimal_curses
|
||||
)
|
||||
|
||||
local opt
|
||||
for opt in "${opts[@]}"; do
|
||||
local flag=${opt%:*}
|
||||
local mod=${opt#*:}
|
||||
|
||||
args+=(
|
||||
$(usex ${flag} --withmod --withoutmod)-${mod}
|
||||
)
|
||||
done
|
||||
|
||||
local interp=( "${EPYTHON}" )
|
||||
if use low-memory; then
|
||||
interp=( env PYPY_GC_MAX_DELTA=200MB
|
||||
"${EPYTHON}" --jit loop_longevity=300 )
|
||||
fi
|
||||
|
||||
if [[ ${EPYTHON} != pypy ]]; then
|
||||
# reuse bundled pycparser to avoid external dep
|
||||
mkdir -p "${T}"/pymod/cffi || die
|
||||
: > "${T}"/pymod/cffi/__init__.py || die
|
||||
cp -r lib_pypy/cffi/_pycparser "${T}"/pymod/cffi/ || die
|
||||
local -x PYTHONPATH=${T}/pymod:${PYTHONPATH}
|
||||
fi
|
||||
|
||||
# translate into the C sources
|
||||
# we're going to build them ourselves since otherwise pypy does not
|
||||
# free up the unneeded memory before spawning the compiler
|
||||
set -- "${interp[@]}" rpython/bin/rpython --batch --source "${args[@]}"
|
||||
echo -e "\033[1m${@}\033[0m"
|
||||
"${@}" || die "translation failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -C "${T}"/usession*-0/testing_1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest=/usr/lib/pypy2.7
|
||||
exeinto "${dest}"
|
||||
newexe "${T}"/usession*-0/testing_1/pypy-c pypy-c-${PYPY_PV}
|
||||
insinto "${dest}"/include/${PYPY_PV}
|
||||
doins include/pypy_*
|
||||
pax-mark m "${ED}${dest}/pypy-c-${PYPY_PV}"
|
||||
}
|
@ -1,7 +1,4 @@
|
||||
DIST pypy2.7-gentoo-patches-7.3.8.tar.xz 7428 BLAKE2B 5362c34929e2053fc9a806e9894f35cce02ba1ebfad66cc64acc200ade4317934ee50dbc072194d19e201dea2a678abd609001ffe7e39bd6890a3b26c9d6d00e SHA512 6a7bfadac8f638e69419a6a1536af595a63bb2b4e3028da6423bd164d3df5399901b217468b1b374a5162ca8d2e5a61c4a19996f9e63109ed414a1aedcaac5d6
|
||||
DIST pypy2.7-gentoo-patches-7.3.9.tar.xz 7428 BLAKE2B 0a42e3c04ac0e560d56ce7218db81fa55f74ad45a4a033ccda8c5fba34e3a0b1f06587b5b18e947170cc635bd44e5a7799daeec9319c6a09165a73b32554a4b6 SHA512 3a52d40ccf8d77f3493a763b51e4bf86a808f6478191ed4eeaa4f2c2ce8b75769c3880d07cbc7614d8af5573f3e8edfe694be41626b947f3d06c321cf4f59abd
|
||||
DIST pypy2.7-v7.3.8-src.tar.bz2 23279006 BLAKE2B 7b2f5bfaffb99d3444f355039f743a21016dea22cc78cd5feca05eb12ce0e5ed39dafd22a8726994d0aff789e68b506197680e7181087313d2c5cd17b674ae4d SHA512 6ff90fad998c25aec5823e61d65266c169e89cba2ee2e3b6d0864d34d69a6b9fe7ad4d591bc8b38a48c5c22ea3dd468d3188cd34e03746c258752eaa24ac3ae2
|
||||
DIST pypy2.7-v7.3.9-src.tar.bz2 23328628 BLAKE2B 50d015439b6a6f15dd24eb4524726a2054f0d8e7ef209b54dc4eb9365b41b333f3dad525422316af3ff19e6ffb5866859db4455e05fc1529a81ce3b6e7c621db SHA512 8d7513d4efe924f2456dd65a45a82dd16171f7962c81ba90f2a168c332cdad78ceffa3ed1af379c09e61082b39d5c2a8385cd77c89b698c47cc75e9df1bb4d2a
|
||||
EBUILD pypy-7.3.8.ebuild 4970 BLAKE2B 5a02ea5af0d28b944b26cb51ad2be044cc724351e3c9a89237a75520cd0f436eb539f095ea101e221c359bac6802cb12856e5a0445f35864176685d5c1e0206c SHA512 dcbbe30c25a792d9bc85908ce80744f5c6b968188073ff48aa1242b6861945edf2d375b16095b31a00a2aabe8057b4ad6508fc76ddc618c1942edcd164b117a4
|
||||
EBUILD pypy-7.3.9.ebuild 5044 BLAKE2B a1a1c2bc52c870e19e8bc01308565360257c103a27931f4ed2daaaaeef5a7f38c3ab3695db596e044644a7a490f00712152dd926f16891e21691475a48a35177 SHA512 c62e9e69373d53119cc42658d314f6e03140553ecb8a9c6351958960f1bb64a63656d1455fc0b48c00078780778395bf97feba7e6dbbb1040b978d77d4e09334
|
||||
EBUILD pypy-7.3.9.ebuild 5043 BLAKE2B 204cae544c1bd272e5171736312c8832568f50d59f18c45b36de474e8652cb03d6c7d80bf87e9c01a81c48237d37ea398e81e67495b768e2564509e737ae1ab8 SHA512 88032274e6ade0b1eb994afbbf09a79329e366f2969db15d2b2f4d50605affc16ba81c4f07066fc7f2b8e72c034f56f9a4643f439860ab90557d2ed941b9d6dc
|
||||
MISC metadata.xml 241 BLAKE2B 4f18c355c71824c25df283b2d463a5abbf2295446e74b960e868dd78d4910ac066725450478087567a6e66b7a8948d99e053f13a7e58dbf2b89fdaf5c2f3436c SHA512 c46e70ffd66754ad84c64806f2bbff25ba9a688f035176a4565afc95351ce10fffba64bbde89965501460b05978c7e59b3d84db6a8cb6efff4055d4b7a5ab5d8
|
||||
|
@ -1,166 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit pax-utils python-utils-r1
|
||||
|
||||
PYPY_PV=${PV%_p*}
|
||||
MY_P=pypy2.7-v${PYPY_PV/_}
|
||||
PATCHSET="pypy2.7-gentoo-patches-${PV/_rc/rc}"
|
||||
|
||||
DESCRIPTION="A fast, compliant alternative implementation of the Python language"
|
||||
HOMEPAGE="https://www.pypy.org/"
|
||||
SRC_URI="https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
|
||||
https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz"
|
||||
S="${WORKDIR}/${MY_P}-src"
|
||||
|
||||
LICENSE="MIT"
|
||||
# pypy -c 'import sysconfig; print sysconfig.get_config_var("SOABI")'
|
||||
SLOT="0/73"
|
||||
KEYWORDS="amd64 ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="bzip2 gdbm +jit ncurses sqlite tk"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
>=dev-python/pypy-exe-${PYPY_PV}:${PYPY_PV}[bzip2?,ncurses?]
|
||||
>=dev-python/pypy-exe-bin-${PYPY_PV}:${PYPY_PV}
|
||||
)
|
||||
dev-libs/openssl:0=
|
||||
gdbm? ( sys-libs/gdbm:0= )
|
||||
sqlite? ( dev-db/sqlite:3= )
|
||||
tk? (
|
||||
dev-lang/tk:0=
|
||||
dev-tcltk/tix:0=
|
||||
)
|
||||
!<dev-python/pypy-bin-7.3.0:0"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
local PATCHES=(
|
||||
"${WORKDIR}/${PATCHSET}"
|
||||
)
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# copy over to make sys.prefix happy
|
||||
cp -p "${BROOT}"/usr/lib/pypy2.7/pypy-c-${PYPY_PV} pypy-c || die
|
||||
cp -p "${BROOT}"/usr/lib/pypy2.7/include/${PYPY_PV}/* include/ || die
|
||||
# (not installed by pypy)
|
||||
rm pypy/module/cpyext/include/_numpypy/numpy/README || die
|
||||
mv pypy/module/cpyext/include/* include/ || die
|
||||
mv pypy/module/cpyext/parse/*.h include/ || die
|
||||
pax-mark m pypy-c
|
||||
|
||||
# verify the subslot
|
||||
local soabi=$(./pypy-c -c 'import sysconfig; print sysconfig.get_config_var("SOABI")')
|
||||
[[ ${soabi#pypy-} == ${SLOT#*/} ]] || die "update subslot to ${soabi}"
|
||||
|
||||
einfo "Generating caches and CFFI modules ..."
|
||||
|
||||
# Generate Grammar and PatternGrammar pickles.
|
||||
./pypy-c -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" \
|
||||
|| die "Generation of Grammar and PatternGrammar pickles failed"
|
||||
|
||||
# Generate cffi modules
|
||||
# Please keep in sync with pypy/tool/build_cffi_imports.py!
|
||||
cffi_targets=( pypy_util ssl audioop syslog pwdgrp resource )
|
||||
use gdbm && cffi_targets+=( gdbm )
|
||||
use ncurses && cffi_targets+=( curses )
|
||||
use sqlite && cffi_targets+=( sqlite3 )
|
||||
use tk && cffi_targets+=( tkinter/tklib )
|
||||
|
||||
local t
|
||||
# all modules except tkinter output to .
|
||||
# tkinter outputs to the correct dir ...
|
||||
cd lib_pypy || die
|
||||
for t in "${cffi_targets[@]}"; do
|
||||
# tkinter doesn't work via -m
|
||||
../pypy-c "_${t}_build.py" || die "Failed to build CFFI bindings for ${t}"
|
||||
done
|
||||
|
||||
# Verify that CFFI module list is up-to-date
|
||||
local expected_cksum=2d3acf18
|
||||
local local_cksum=$(../pypy-c -c '
|
||||
from pypy_tools.build_cffi_imports import cffi_build_scripts as x;
|
||||
import binascii, json;
|
||||
print("%08x" % (binascii.crc32(json.dumps(x)),))')
|
||||
if [[ ${local_cksum} != ${expected_cksum} ]]; then
|
||||
die "Please verify cffi_targets and update checksum to ${local_cksum}"
|
||||
fi
|
||||
|
||||
# Cleanup temporary objects
|
||||
find -name "_cffi_*.[co]" -delete || die
|
||||
find -type d -empty -delete || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# (unset)
|
||||
local -x PYTHONDONTWRITEBYTECODE=
|
||||
local -x COLUMNS=80
|
||||
|
||||
local ignored_tests=(
|
||||
# network
|
||||
--ignore=lib-python/2.7/test/test_urllibnet.py
|
||||
--ignore=lib-python/2.7/test/test_urllib2net.py
|
||||
# lots of free space
|
||||
--ignore=lib-python/2.7/test/test_zipfile64.py
|
||||
|
||||
# broken by expat-2.4.5
|
||||
--ignore=lib-python/2.7/test/test_minidom.py
|
||||
--ignore=lib-python/2.7/test/test_xml_etree.py
|
||||
--ignore=lib-python/2.7/test/test_xml_etree_c.py
|
||||
)
|
||||
|
||||
./pypy-c ./pypy/test_all.py --pypy=./pypy-c -vv \
|
||||
"${ignored_tests[@]}" lib-python || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest=/usr/lib/pypy2.7
|
||||
einfo "Installing PyPy ..."
|
||||
dosym pypy-c-${PYPY_PV} "${dest}/pypy-c"
|
||||
insinto "${dest}"
|
||||
# preserve mtimes to avoid obsoleting caches
|
||||
insopts -p
|
||||
doins -r include lib_pypy lib-python
|
||||
|
||||
# replace copied headers with symlinks
|
||||
for x in "${BROOT}"/usr/lib/pypy2.7/include/${PYPY_PV}/*; do
|
||||
dosym "${PYPY_PV}/${x##*/}" "${dest}/include/${x##*/}"
|
||||
done
|
||||
|
||||
dosym ../lib/pypy2.7/pypy-c /usr/bin/pypy
|
||||
dodoc README.rst
|
||||
|
||||
if ! use gdbm; then
|
||||
rm -r "${ED}${dest}"/lib_pypy/gdbm.py \
|
||||
"${ED}${dest}"/lib-python/*2.7/test/test_gdbm.py || die
|
||||
fi
|
||||
if ! use sqlite; then
|
||||
rm -r "${ED}${dest}"/lib-python/*2.7/sqlite3 \
|
||||
"${ED}${dest}"/lib_pypy/_sqlite3.py \
|
||||
"${ED}${dest}"/lib-python/*2.7/test/test_sqlite.py || die
|
||||
fi
|
||||
if ! use tk; then
|
||||
rm -r "${ED}${dest}"/lib-python/*2.7/{idlelib,lib-tk} \
|
||||
"${ED}${dest}"/lib_pypy/_tkinter \
|
||||
"${ED}${dest}"/lib-python/*2.7/test/test_{tcl,tk,ttk*}.py || die
|
||||
fi
|
||||
|
||||
local -x EPYTHON=pypy
|
||||
local -x PYTHON=${ED}${dest}/pypy-c-${PYPY_PV}
|
||||
# temporarily copy to build tree to facilitate module builds
|
||||
cp -p "${BROOT}${dest}/pypy-c-${PYPY_PV}" "${PYTHON}" || die
|
||||
|
||||
echo "EPYTHON='${EPYTHON}'" > epython.py || die
|
||||
python_moduleinto /usr/lib/pypy2.7/site-packages
|
||||
python_domodule epython.py
|
||||
|
||||
einfo "Byte-compiling Python standard library..."
|
||||
python_optimize "${ED}${dest}"
|
||||
|
||||
# remove to avoid collisions
|
||||
rm "${PYTHON}" || die
|
||||
}
|
@ -1,7 +1,4 @@
|
||||
DIST pypy3-exe-7.3.8-1.amd64.xpak 12480863 BLAKE2B 4db76687e1662a9674dcf2ac863cf837b27551874613ee94281cd0d2e701214fc65181ae54a52246d8d0cd01631e0a35fe0c044ea916a488e53aa6e8850c95c4 SHA512 dee849a1e066ef28ab1bedd37cc3a89a087f5cf44d2144862df7825880a1b6bd3238dbe94e4ca47a2009945cb716b8720bec42e32228afeaebd69d5ac6c1e077
|
||||
DIST pypy3-exe-7.3.8-1.x86.xpak 9211472 BLAKE2B d0fd9fc64fb29367dfa017ac9654c699f11386f4a661cfad12cbb2b543f6ab4bf74a9f5131da3ae1307d03fce1d801d4b04c9bdd43c2ee42592e8658c91fae39 SHA512 5311a7aa24b8ea24ee408f3f0ff1efb14ca9875d36991f3e842819841d304a3df000679712b6e2d00095590bc684c262c44a4f9ad8e41fadaf0b0e0ffb0fc220
|
||||
DIST pypy3-exe-7.3.9-1.amd64.xpak 12455132 BLAKE2B 09ad89ca1d7ba84ff1b5c0d925c02617567d8d6c659774e980dc9e56fd1bd5eef9b612631d64ace8218bdd2c5723cad174d49ac3c5ef442d244f2ba21ebb6d0d SHA512 078f57a0027680ff061f137a47fa5349254a086e1c28eb81fd9d89079bd3894902b532cde39c5214b0a686fd1a1dba2589f1fb0f9c5e6ff43cc7f4db97b3c181
|
||||
DIST pypy3-exe-7.3.9-1.x86.xpak 9239282 BLAKE2B d44b9f3410a94ad41c1f49abe641460464ae6266478e7c38a994ded97fd70f50a041977fc72fe11a1c7fcfc9aeae4782564c2cbaaf8477a0eef60e443ec837e1 SHA512 1a073254e0c6bef089169a138a84ff6efe377374b9f263f58f856bba937f8e6249d835e3bdc9a68792e7178105e03a67dee3a3e5307089b6ed3b846ae8ee73ed
|
||||
EBUILD pypy3-exe-bin-7.3.8.ebuild 1147 BLAKE2B 2adb00d3f373ce4bb089240da7d0b2dda2cd7b5f99050a079e06f503ca963a987e94c91ff5b63a43867abdd6ed5f950a6bd89290a1ebacd235ef4bd6e126e218 SHA512 b8d9dd7cf28d2e7d162dca6d45ab2febecfaf6f8df8e026fcb1d73f1fbba4316d4660b3fe9332ebbee13c688952d1809385d34a3572b5bd6d3f7cdb12f6af64d
|
||||
EBUILD pypy3-exe-bin-7.3.9.ebuild 1153 BLAKE2B 2e905233e1422e56f3ebe4a6da73c709d9f3457840fd08210d030865f141a15a82370a4f6d5ece0f9cb875a6fcb033b2ac27b9fcb3d6ab12fc507216d9cfc415 SHA512 ff9c156c0bdbdddcdb2e5656bf32d1aebf97004c0b0079ff21aea65e30a08014bd0c4039e125b0d93af04d535569b86cc41e33d2fdaf5cc7dc56d352d2f2246f
|
||||
EBUILD pypy3-exe-bin-7.3.9.ebuild 1152 BLAKE2B 200a852a5f4931d70b8f967266712ef692b752301ed0a32bdd5bdc8b3d508399d63f425658746653265f3dd13203c20cffc274dc8ff347a29f006264573f6c4a SHA512 01f1c85aa36b916ff62beeca598224ddd990a2b2402004dba58125702e2926657689ba33c333d92a8efc58dba3236260e14022bc375f709ae9530e54aa0a447d
|
||||
MISC metadata.xml 241 BLAKE2B 4f18c355c71824c25df283b2d463a5abbf2295446e74b960e868dd78d4910ac066725450478087567a6e66b7a8948d99e053f13a7e58dbf2b89fdaf5c2f3436c SHA512 c46e70ffd66754ad84c64806f2bbff25ba9a688f035176a4565afc95351ce10fffba64bbde89965501460b05978c7e59b3d84db6a8cb6efff4055d4b7a5ab5d8
|
||||
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit pax-utils
|
||||
|
||||
MY_P=pypy3-exe-${PV}-1
|
||||
DESCRIPTION="PyPy3 executable (pre-built version)"
|
||||
HOMEPAGE="https://www.pypy.org/"
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
https://dev.gentoo.org/~mgorny/binpkg/amd64/pypy/dev-python/pypy3-exe/${MY_P}.xpak
|
||||
-> ${MY_P}.amd64.xpak
|
||||
)
|
||||
x86? (
|
||||
https://dev.gentoo.org/~mgorny/binpkg/x86/pypy/dev-python/pypy3-exe/${MY_P}.xpak
|
||||
-> ${MY_P}.x86.xpak
|
||||
)"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.9-${PV%_p*}"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
RDEPEND=">=sys-libs/zlib-1.1.3:0/1
|
||||
|| (
|
||||
dev-libs/libffi-compat:7
|
||||
dev-libs/libffi:0/7
|
||||
)
|
||||
virtual/libintl:0/0
|
||||
dev-libs/expat:0/0
|
||||
app-arch/bzip2:0/1
|
||||
sys-libs/ncurses:0/6
|
||||
!dev-python/pypy3-exe:${SLOT}"
|
||||
|
||||
PYPY_PV=${PV%_p*}
|
||||
QA_PREBUILT="
|
||||
usr/bin/pypy3.9-c-${PYPY_PV}"
|
||||
|
||||
src_unpack() {
|
||||
ebegin "Unpacking ${MY_P}.${ARCH}.xpak"
|
||||
tar -x < <(xz -c -d --single-stream "${DISTDIR}/${MY_P}.${ARCH}.xpak")
|
||||
eend ${?} || die "Unpacking ${MY_P} failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /
|
||||
doins -r usr
|
||||
fperms +x "/usr/bin/pypy3.9-c-${PYPY_PV}"
|
||||
pax-mark m "${ED}/usr/bin/pypy3.9-c-${PYPY_PV}"
|
||||
}
|
@ -1,7 +1,4 @@
|
||||
DIST pypy3.9-gentoo-patches-7.3.8.tar.xz 1568 BLAKE2B 0011188de7b5757964bd13c49d5995a656a721acd54e1d77f7e77fac7420a2a56ca75eb42709e2304a771fa69c982fc6901e9fc9580ab8e8b35e7bb8b0cc83a6 SHA512 1064e987b7233fc55f94bd49aeeab9a9fd9322e90798439ad9a4c35020ca923fe0670e47406ab180a6f8e7afd65d03be23427d4fa43befa3c0ce172028e1a09f
|
||||
DIST pypy3.9-gentoo-patches-7.3.9.tar.xz 1564 BLAKE2B fe0875ef002842a78fb31589f6d0b255c3dea10f2bd014231ae9b17641f65f810ac84fe7961de1a4614249b0166f2127c3aa37947f7d1d4c85860a31b89110f1 SHA512 a1dc3ee36e908e29b2bbbb100a97b7910bd4325c5dc55c0455cdca450d6b272d1463708b383e0607e9499b1932da4442f97d2da57e47ed3a4ff8fd3c78a54732
|
||||
DIST pypy3.9-v7.3.8-src.tar.bz2 26277823 BLAKE2B 343fa4a57b69936a586acb036506e25c8de3a9761eb6622ef7266c136a1dc977cabc23969917bc2369fd73b1ae6fef731d81536179107f2d731352e6f5387bf9 SHA512 aed018738af7a225f516ec37d059d539f486d9dd427fe000805147b197f496d5fcb0387e47008524753ad18224aebeb1e68f9e2093acbe37468e02bff92f7126
|
||||
DIST pypy3.9-v7.3.9-src.tar.bz2 26976726 BLAKE2B bf1ed21c575901abac020120aaff07ab57f1404713211b19cbd1eb4d6ffc675b7933be8c6fffc2b69ab467963d6598534cd5aa90c02feddad596611d2a6b6581 SHA512 83f8a6a2da351c190d2d224242cbc35e35529c7a8e8d842eaf5c945cbce2e172b02a340f32af3d49df8d5288370d794d5bc95fc12dd4a13d817c925abf06198a
|
||||
EBUILD pypy3-exe-7.3.8.ebuild 3790 BLAKE2B 58e5d01860e5f9b540df21627c84bf8c7c77e707f3480cf9b0a71b76b799365d82eddc6ae8235d83d2cef4c1f4792ef6fa6a06b40cb9587828897a5b7997df6e SHA512 1e15d3deaa345a12102cebc2f46eb0c8ac0e4260f621fabd3cd53ad2674ca3aca34a84f8867c8e33bb012b7914a8558c71b4edf3fa6c196ec74f25d87805a517
|
||||
EBUILD pypy3-exe-7.3.9.ebuild 3801 BLAKE2B 08bb68e08a2646e3af0752d5a973e08fdb0c70734895427f5494a477ebe4663e8becdbd2ce3ac3e3a26afb9ab84a29ec6d935ac79d6ada69576f197f213574cb SHA512 a42a8e0bd2d441434382c88af534cd791b6ab8e6c8c0314e87b828ebefe3c64bb8f743c58da1b74eea56d0b46a2222cd02a95613aa7720512e399e2217b4fc1a
|
||||
EBUILD pypy3-exe-7.3.9.ebuild 3800 BLAKE2B 0b3f47feec34339e86df219fd15f9211bac47d61b01cc5498c4311acb2e842478f5d8780760b0e90ac4c6385e7aebbd0e04b02f424c26ed0e32118939f6264b0 SHA512 0c54bf685ea4ec9edb434d5237eebfb35241fe3e99bee798fa23f962663b791b7d07f8575ec7aa3f930b425278fb020d3d5536870c45d4f256103e96caf2f482
|
||||
MISC metadata.xml 498 BLAKE2B 8dbcdb7c3a4a2fa5d1a922fd5197fb5e3337adcaec1e7d382f25f8696c80726e5b79843477bf8e5ce131aecde6e2c4c283548c5b337e54cb58aaa066013c445a SHA512 8a9bb514bbf3bf328aa63734e1fdc106f6aaf5ccb88c29ad8a686ab2724f3d1f4727163500013dd16e7b34232b881cf47d2f174212b5428ee076af27cf43628d
|
||||
|
@ -1,165 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# pypy3 needs to be built using python 2
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit check-reqs pax-utils python-any-r1 toolchain-funcs
|
||||
|
||||
PYPY_PV=${PV%_p*}
|
||||
MY_P=pypy3.9-v${PYPY_PV/_}
|
||||
PATCHSET="pypy3.9-gentoo-patches-${PV/_}"
|
||||
|
||||
DESCRIPTION="PyPy3 executable (build from source)"
|
||||
HOMEPAGE="https://www.pypy.org/"
|
||||
SRC_URI="https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
|
||||
https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz"
|
||||
S="${WORKDIR}/${MY_P}-src"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.9-${PYPY_PV}"
|
||||
KEYWORDS="amd64 ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="bzip2 +jit low-memory ncurses cpu_flags_x86_sse2"
|
||||
|
||||
RDEPEND=">=sys-libs/zlib-1.1.3:0=
|
||||
dev-libs/libffi:0=
|
||||
virtual/libintl:0=
|
||||
dev-libs/expat:0=
|
||||
bzip2? ( app-arch/bzip2:0= )
|
||||
ncurses? ( sys-libs/ncurses:0= )
|
||||
!dev-python/pypy3-exe-bin:${SLOT}"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
low-memory? ( dev-python/pypy )
|
||||
!low-memory? (
|
||||
|| (
|
||||
dev-python/pypy
|
||||
dev-lang/python:2.7
|
||||
)
|
||||
)"
|
||||
|
||||
check_env() {
|
||||
if use low-memory; then
|
||||
CHECKREQS_MEMORY="1750M"
|
||||
use amd64 && CHECKREQS_MEMORY="3500M"
|
||||
else
|
||||
CHECKREQS_MEMORY="3G"
|
||||
use amd64 && CHECKREQS_MEMORY="6G"
|
||||
fi
|
||||
|
||||
check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && check_env
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
check_env
|
||||
|
||||
# unset to allow forcing pypy below :)
|
||||
use low-memory && EPYTHON=
|
||||
if [[ ! ${EPYTHON} || ${EPYTHON} == pypy ]] &&
|
||||
{ has_version -b dev-python/pypy ||
|
||||
has_version -b dev-python/pypy-bin; }
|
||||
then
|
||||
einfo "Using PyPy to perform the translation."
|
||||
EPYTHON=pypy
|
||||
else
|
||||
einfo "Using ${EPYTHON:-python2} to perform the translation. Please note that upstream"
|
||||
einfo "recommends using PyPy for that. If you wish to do so, please install"
|
||||
einfo "dev-python/pypy and ensure that EPYTHON variable is unset."
|
||||
python-any-r1_pkg_setup
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local PATCHES=(
|
||||
"${WORKDIR}/${PATCHSET}"
|
||||
)
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
|
||||
local jit_backend
|
||||
if use jit; then
|
||||
jit_backend='--jit-backend='
|
||||
|
||||
# We only need the explicit sse2 switch for x86.
|
||||
# On other arches we can rely on autodetection which uses
|
||||
# compiler macros. Plus, --jit-backend= doesn't accept all
|
||||
# the modern values...
|
||||
|
||||
if use x86; then
|
||||
if use cpu_flags_x86_sse2; then
|
||||
jit_backend+=x86
|
||||
else
|
||||
jit_backend+=x86-without-sse2
|
||||
fi
|
||||
else
|
||||
jit_backend+=auto
|
||||
fi
|
||||
fi
|
||||
|
||||
local args=(
|
||||
--no-shared
|
||||
$(usex jit -Ojit -O2)
|
||||
|
||||
${jit_backend}
|
||||
|
||||
pypy/goal/targetpypystandalone
|
||||
)
|
||||
|
||||
# Avoid linking against libraries disabled by use flags
|
||||
local opts=(
|
||||
bzip2:bz2
|
||||
ncurses:_minimal_curses
|
||||
)
|
||||
|
||||
local opt
|
||||
for opt in "${opts[@]}"; do
|
||||
local flag=${opt%:*}
|
||||
local mod=${opt#*:}
|
||||
|
||||
args+=(
|
||||
$(usex ${flag} --withmod --withoutmod)-${mod}
|
||||
)
|
||||
done
|
||||
|
||||
local interp=( "${EPYTHON}" )
|
||||
if use low-memory; then
|
||||
interp=( env PYPY_GC_MAX_DELTA=200MB
|
||||
"${EPYTHON}" --jit loop_longevity=300 )
|
||||
fi
|
||||
|
||||
if [[ ${EPYTHON} != pypy ]]; then
|
||||
# reuse bundled pycparser to avoid external dep
|
||||
mkdir -p "${T}"/pymod || die
|
||||
cp -r lib_pypy/cffi/_pycparser "${T}"/pymod/pycparser || die
|
||||
local -x PYTHONPATH=${T}/pymod:${PYTHONPATH}
|
||||
fi
|
||||
|
||||
# translate into the C sources
|
||||
# we're going to build them ourselves since otherwise pypy does not
|
||||
# free up the unneeded memory before spawning the compiler
|
||||
set -- "${interp[@]}" rpython/bin/rpython --batch --source "${args[@]}"
|
||||
echo -e "\033[1m${@}\033[0m"
|
||||
"${@}" || die "translation failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -C "${T}"/usession*-0/testing_1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${T}"/usession*-0 || die
|
||||
newbin testing_1/pypy3.9-c pypy3.9-c-${PYPY_PV}
|
||||
insinto /usr/include/pypy3.9/${PYPY_PV}
|
||||
doins *.h
|
||||
pax-mark m "${ED}/usr/bin/pypy3.9-c-${PYPY_PV}"
|
||||
}
|
@ -1,7 +1,4 @@
|
||||
DIST pypy3.9-gentoo-patches-7.3.8.tar.xz 1568 BLAKE2B 0011188de7b5757964bd13c49d5995a656a721acd54e1d77f7e77fac7420a2a56ca75eb42709e2304a771fa69c982fc6901e9fc9580ab8e8b35e7bb8b0cc83a6 SHA512 1064e987b7233fc55f94bd49aeeab9a9fd9322e90798439ad9a4c35020ca923fe0670e47406ab180a6f8e7afd65d03be23427d4fa43befa3c0ce172028e1a09f
|
||||
DIST pypy3.9-gentoo-patches-7.3.9.tar.xz 1564 BLAKE2B fe0875ef002842a78fb31589f6d0b255c3dea10f2bd014231ae9b17641f65f810ac84fe7961de1a4614249b0166f2127c3aa37947f7d1d4c85860a31b89110f1 SHA512 a1dc3ee36e908e29b2bbbb100a97b7910bd4325c5dc55c0455cdca450d6b272d1463708b383e0607e9499b1932da4442f97d2da57e47ed3a4ff8fd3c78a54732
|
||||
DIST pypy3.9-v7.3.8-src.tar.bz2 26277823 BLAKE2B 343fa4a57b69936a586acb036506e25c8de3a9761eb6622ef7266c136a1dc977cabc23969917bc2369fd73b1ae6fef731d81536179107f2d731352e6f5387bf9 SHA512 aed018738af7a225f516ec37d059d539f486d9dd427fe000805147b197f496d5fcb0387e47008524753ad18224aebeb1e68f9e2093acbe37468e02bff92f7126
|
||||
DIST pypy3.9-v7.3.9-src.tar.bz2 26976726 BLAKE2B bf1ed21c575901abac020120aaff07ab57f1404713211b19cbd1eb4d6ffc675b7933be8c6fffc2b69ab467963d6598534cd5aa90c02feddad596611d2a6b6581 SHA512 83f8a6a2da351c190d2d224242cbc35e35529c7a8e8d842eaf5c945cbce2e172b02a340f32af3d49df8d5288370d794d5bc95fc12dd4a13d817c925abf06198a
|
||||
EBUILD pypy3-7.3.8.ebuild 5386 BLAKE2B 45baf647e79ec118eca81b5e4d77c90ead85905173a0e3f1e4f8855382103999afbca328e852680f2242dcaa85f71fe2ffe159a5b0a18fb83ac68324e1681e00 SHA512 e819d64bc18863463e64c55bbe7f6363fbc7c8cb18b79f08877f2729103270cea9972e4673c970659b9fea48c258ba499c6f9e61d715dc101c7fb4f51d3eb775
|
||||
EBUILD pypy3-7.3.9.ebuild 5460 BLAKE2B dcc6b743f2349b2ba17d8805a5384afdead02b9d17894b3dc1a7161c83ffebc90919315c57123e19db2311efa0568631e5adfafd86f3c0f68633c195e9f0374a SHA512 fd4ac1b406f15238be342a8e8bc6228c1845e364ee09986c780e480557caf469ce38186e1049ae662790efa8be0f55ef51e561b69267a60eea983527e9f7d8ad
|
||||
EBUILD pypy3-7.3.9.ebuild 5459 BLAKE2B cecd4e9ef25bfa9c5c26e444d74eaccfe3a6f588c33af1f64ab0419cdf8944a5b6d78134fadcae6ca682edbe48197df765c830f9cc22a80fb2fa3e5a220fb61c SHA512 30c1a6315502c2fa6d219567c4ec827244257a4f4bdde204fbd0374fd0c1320cbf87097db029ef3822173fa2cd999799b7b79b51df3d1447f67140bee26ecc65
|
||||
MISC metadata.xml 241 BLAKE2B 4f18c355c71824c25df283b2d463a5abbf2295446e74b960e868dd78d4910ac066725450478087567a6e66b7a8948d99e053f13a7e58dbf2b89fdaf5c2f3436c SHA512 c46e70ffd66754ad84c64806f2bbff25ba9a688f035176a4565afc95351ce10fffba64bbde89965501460b05978c7e59b3d84db6a8cb6efff4055d4b7a5ab5d8
|
||||
|
@ -1,183 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit pax-utils python-any-r1 toolchain-funcs
|
||||
|
||||
PYPY_PV=${PV%_p*}
|
||||
MY_P=pypy3.9-v${PYPY_PV/_rc/rc}
|
||||
PATCHSET="pypy3.9-gentoo-patches-${PV/_rc/rc}"
|
||||
|
||||
DESCRIPTION="A fast, compliant alternative implementation of the Python (3.9) language"
|
||||
HOMEPAGE="https://www.pypy.org/"
|
||||
SRC_URI="https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2
|
||||
https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz"
|
||||
S="${WORKDIR}/${MY_P}-src"
|
||||
|
||||
LICENSE="MIT"
|
||||
# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))'
|
||||
# also check pypy/interpreter/pycode.py -> pypy_incremental_magic
|
||||
SLOT="0/pypy39-pp73"
|
||||
KEYWORDS="amd64 ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="bzip2 gdbm +jit ncurses sqlite test tk"
|
||||
# many tests are failing upstream
|
||||
# see https://buildbot.pypy.org/summary?branch=py3.9
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
>=dev-python/pypy3-exe-${PYPY_PV}:3.9-${PYPY_PV}[bzip2?,ncurses?]
|
||||
>=dev-python/pypy3-exe-bin-${PYPY_PV}:3.9-${PYPY_PV}
|
||||
)
|
||||
dev-lang/python-exec[python_targets_pypy3(-)]
|
||||
dev-libs/openssl:0=
|
||||
gdbm? ( sys-libs/gdbm:0= )
|
||||
sqlite? ( dev-db/sqlite:3= )
|
||||
tk? (
|
||||
dev-lang/tk:0=
|
||||
dev-tcltk/tix:0=
|
||||
)
|
||||
!<dev-python/pypy3-bin-7.3.0:0"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
${PYTHON_DEPS}
|
||||
!!dev-python/pytest-forked
|
||||
)"
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local PATCHES=(
|
||||
"${WORKDIR}/${PATCHSET}"
|
||||
)
|
||||
default
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
mkdir bin || die
|
||||
# switch to the layout expected for cffi module builds
|
||||
mkdir include/pypy3.9 || die
|
||||
# copy over to make sys.prefix happy
|
||||
cp -p "${BROOT}"/usr/bin/pypy3.9-c-${PYPY_PV} pypy3.9-c || die
|
||||
cp -p "${BROOT}"/usr/include/pypy3.9/${PYPY_PV}/* include/pypy3.9/ || die
|
||||
# (not installed by pypy-exe)
|
||||
rm pypy/module/cpyext/include/_numpypy/numpy/README || die
|
||||
mv pypy/module/cpyext/include/* include/pypy3.9/ || die
|
||||
mv pypy/module/cpyext/parse/*.h include/pypy3.9/ || die
|
||||
pax-mark m pypy3.9-c
|
||||
|
||||
# verify the subslot
|
||||
local soabi=$(./pypy3.9-c -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))')
|
||||
[[ ${soabi} == ${SLOT#*/} ]] || die "update subslot to ${soabi}"
|
||||
|
||||
einfo "Generating caches and CFFI modules ..."
|
||||
|
||||
# Generate Grammar and PatternGrammar pickles.
|
||||
./pypy3.9-c -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" \
|
||||
|| die "Generation of Grammar and PatternGrammar pickles failed"
|
||||
|
||||
# Generate cffi modules
|
||||
# Please keep in sync with pypy/tool/build_cffi_imports.py!
|
||||
# (NB: we build CFFI modules first to avoid error log when importing
|
||||
# build_cffi_imports).
|
||||
cffi_targets=( pypy_util blake2/_blake2 sha3/_sha3 ssl
|
||||
audioop syslog pwdgrp resource lzma posixshmem )
|
||||
use gdbm && cffi_targets+=( gdbm )
|
||||
use ncurses && cffi_targets+=( curses )
|
||||
use sqlite && cffi_targets+=( sqlite3 )
|
||||
use tk && cffi_targets+=( tkinter/tklib )
|
||||
|
||||
local t
|
||||
# all modules except tkinter output to .
|
||||
# tkinter outputs to the correct dir ...
|
||||
cd lib_pypy || die
|
||||
for t in "${cffi_targets[@]}"; do
|
||||
# tkinter doesn't work via -m
|
||||
../pypy3.9-c "_${t}_build.py" || die "Failed to build CFFI bindings for ${t}"
|
||||
done
|
||||
|
||||
# Verify that CFFI module list is up-to-date
|
||||
local expected_cksum=63d4659f
|
||||
local local_cksum=$(../pypy3.9-c -c '
|
||||
from pypy_tools.build_cffi_imports import cffi_build_scripts as x;
|
||||
import binascii, json;
|
||||
print("%08x" % (binascii.crc32(json.dumps(x).encode()),))')
|
||||
if [[ ${local_cksum} != ${expected_cksum} ]]; then
|
||||
die "Please verify cffi_targets and update checksum to ${local_cksum}"
|
||||
fi
|
||||
|
||||
# Cleanup temporary objects
|
||||
find -name "*_cffi.[co]" -delete || die
|
||||
find -type d -empty -delete || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# (unset)
|
||||
local -x PYTHONDONTWRITEBYTECODE=
|
||||
local -x COLUMNS=80
|
||||
|
||||
# Test runner requires Python 2 too. However, it spawns PyPy3
|
||||
# internally so that we end up testing the correct interpreter.
|
||||
# (--deselect for failing doctests)
|
||||
"${EPYTHON}" ./pypy/test_all.py --pypy=./pypy3.9-c -vv lib-python || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einfo "Installing PyPy ..."
|
||||
dodir /usr/bin
|
||||
dosym pypy3.9-c-${PYPY_PV} /usr/bin/pypy3.9
|
||||
dosym pypy3.9 /usr/bin/pypy3
|
||||
insinto /usr/lib/pypy3.9
|
||||
# preserve mtimes to avoid obsoleting caches
|
||||
insopts -p
|
||||
doins -r lib-python/3/. lib_pypy/.
|
||||
insinto /usr/include
|
||||
doins -r include/pypy3.9
|
||||
|
||||
# replace copied headers with symlinks
|
||||
for x in "${BROOT}"/usr/include/pypy3.9/${PYPY_PV}/*; do
|
||||
dosym "${PYPY_PV}/${x##*/}" "/usr/include/pypy3.9/${x##*/}"
|
||||
done
|
||||
|
||||
dodoc README.rst
|
||||
|
||||
local dest=/usr/lib/pypy3.9
|
||||
if ! use gdbm; then
|
||||
rm -r "${ED}${dest}"/_gdbm* || die
|
||||
fi
|
||||
if ! use sqlite; then
|
||||
rm -r "${ED}${dest}"/sqlite3 \
|
||||
"${ED}${dest}"/_sqlite3* \
|
||||
"${ED}${dest}"/test/test_sqlite.py || die
|
||||
fi
|
||||
if ! use tk; then
|
||||
rm -r "${ED}${dest}"/{idlelib,tkinter} \
|
||||
"${ED}${dest}"/_tkinter \
|
||||
"${ED}${dest}"/test/test_{tcl,tk,ttk*}.py || die
|
||||
fi
|
||||
|
||||
local -x EPYTHON=pypy3
|
||||
local -x PYTHON=${ED}/usr/bin/pypy3.9-c-${PYPY_PV}
|
||||
# temporarily copy to build tree to facilitate module builds
|
||||
cp -p "${BROOT}/usr/bin/pypy3.9-c-${PYPY_PV}" "${PYTHON}" || die
|
||||
|
||||
echo "EPYTHON='${EPYTHON}'" > epython.py || die
|
||||
python_moduleinto "${dest}"/site-packages
|
||||
python_domodule epython.py
|
||||
|
||||
einfo "Byte-compiling Python standard library..."
|
||||
python_optimize "${ED}${dest}"
|
||||
|
||||
# remove to avoid collisions
|
||||
rm "${PYTHON}" || die
|
||||
}
|
Binary file not shown.
@ -1,4 +1,6 @@
|
||||
DIST 7kaa-2.15.4p1.tar.xz 46927880 BLAKE2B b32b819bef5918f2de378893224dcb7a27af6afe4e09791d59a2208f92aa8b82f3d9936553734a8b1cdfec93a8cc5562c65a78a15734fa1457dc94a64a49ed93 SHA512 eac0ca91755f828cfc8b0ea07ad1d0c08030c60ac236473992cc7887f8da43a3246a1f375f569e4fc71afaf7c5797ae6911b8b617217077429e5f5c51af4f4b6
|
||||
DIST 7kaa-2.15.5.tar.xz 47501772 BLAKE2B 3ab52031d7426485c0ccdb3ae93fde37a97c3aa3ce4f1cb686cf57aca149223b7399cca1439a96e6540de31c126c1c91a42f6635428bd6ea9c1874a38a0538b1 SHA512 12ea1a9d49eb4c7759a34b462ae74dfb46dc4b976096653e122b91572664f50fdda17f3d6d58d700bd5ba28b385e5f9f48b72560f7560a36dfb24d76d5aa7881
|
||||
DIST 7kaa.png 559 BLAKE2B 0379e60a5355c93cddf2a5f30b5e84711f77df073db4e85eee13d51654180572cd73dc96e8a9b954101e8b0ecacd879d6fa9e57feb70b66d1bdd043d07a40113 SHA512 0ec1ba67107a7823943704879efaf12297c5441c43b54f49684550927b10dc40c657fe93eb7c4cc85208d08194f179c9602fd8df6545776f3e1b4481803b16e6
|
||||
EBUILD seven-kingdoms-2.15.4_p1.ebuild 877 BLAKE2B 75dde0c3cb9eb2d3835684e11ac2013ae66c5e64f6897af8582ed7f3afc64d4f531460bd75c0681ad8b46ef1b7bf5592948a8b02b28b34e95c32ea4c0350c75b SHA512 4c2f279ca072acfdb9457241fb4d603f3e1a0ee7a94ce00b3ea9f2e0cec63ae7e4d5392d15f7ff0e4f7939dda22fb966e7f7d0b74bc7bd76e0469fa2a89103f1
|
||||
EBUILD seven-kingdoms-2.15.5.ebuild 879 BLAKE2B 8e7e1e7568aaded3cfd3dc6ae3f2e0edc96aa47fe50c6b4c0f8b3c101ffa11f082fc8ad4e39f3c8a400f2c8b3625735fccc1e168a6be8b34bbe86784eb38fcb4 SHA512 08d465bfc0b14ff05276cfda3422b8dcfec11bd5e4b1ab9e2ef8f87aa31bbce73508112b757972dd072009efe9e4bfb3d287e249eb22b930501b62749e6ecf45
|
||||
MISC metadata.xml 380 BLAKE2B 32f34684fc68a2e26bbfc87d8ba634a6cd23a489f8ba3927f09fd40b9f66e289711b45331f11922e7062f7da4cea0d210e60af79faba88b0a9202076183a7959 SHA512 a614006a602839d04f7f20f4069063d123d4b8786ff103a20349933e0304860d790e52f44ce2649d1452f9027d8e3110267b7958738aab4dfd5105ee4d4a43e5
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue