parent
7b37004b65
commit
9861d245ca
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29433 BLAKE2B ca5d71a3d556e078e6aa6d094a20acee44af5e11186be16f4b4e19f21a759f119a66d9d09aa356cbba31fdb784519350ced04bc25d924c47a53c07dc3e294b40 SHA512 cbf888a9bd7e3b280e9e316abb4b9b41bdb2de5bfca7b594412f2ed38ade32ad0d0aaae17596ffd38b812efbef09144caf0a5019b49b4b47e2725dbd5fec25d5
|
||||
TIMESTAMP 2023-06-01T17:39:47Z
|
||||
MANIFEST Manifest.files.gz 29450 BLAKE2B 5837258953d37425da922aa431fd598fba4361c561a25903b7023a88bdba423e0e793e61be2a6f041801f4b9148dffdc40b9252ede3f2b66d05f14cfba7377d5 SHA512 d586be23bf10cc0dda1d7bdad95ab1ef92b2c8e648e0d3fee7b4215f4173c139806303a62ebc3658b7c7099c6a136a01eb773451449419d490b2e7eeb5d918fd
|
||||
TIMESTAMP 2023-06-02T05:09:45Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmR41+NfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmR5eZlfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klAuahAAh0jo4KIIqtoJJX3BJLcn4rW5tlbblV+9nUKFyycCarAr/LL3tdoL+RKd
|
||||
ZAhdA9YPXLq6xMtHvaErF/CnTw62OTjO/v6mRklhT0h9be72K7pul4Qric8LX9Z0
|
||||
Fv7enMfKu+hnV6IHRYPRietn5HUM0km7/xgjT2cSh9Ou+yKoQe7it016lAy2s1dQ
|
||||
jbYDLeqW53rNORlJsmHXhl9pvs0kiK9PZxGT5wPi3pNHs/LkTFOBaEQlzhb2GPjJ
|
||||
8h3FWZSEw5IKgpS4FPYr0Csq6YjJXEs83lZHzI84r7ZUhlNxnUMgAeUxtsBXT9jm
|
||||
EiCVKWZcy5PnwO+5JfHAmFnasWYqDmFu0o5qE3eLX/oPbAUNY9MdeE15LjQsw0jP
|
||||
uJxfGhgm9LQCHkpS8RJw9rTsOfitRAguZ3H7yHI7yZY89G8ilTQU2tJeOQz1URNl
|
||||
DGWzY7QxCpNNeh7I/Y+nKjnHxrl/BFvcUQWGXKPGFKb1C6z7akVGSrPqIk4ghP+D
|
||||
/m1qUwipa9biD2mPhXzijCYcxo7MYCTkyywMNiHSuEh7DnkHRYQRpXGdS9h8X0Ql
|
||||
tfv64jy52KWrCgqgOge6aM18BJsBaS6qREaU10hace/Kfl0+ylybkSzFOJUSbSfF
|
||||
BOlHmA9nQIn8NP+NH0OvjYwhFmpRLh0gJvAYaXVO9GsT3MhnwYA=
|
||||
=MV4x
|
||||
klDD1xAAmlhuyEhZ/ZrzC4fXM3Hf5iMeqAZVotq7EjNZbS7CuiGU5GtWSi16N3Cw
|
||||
6CkXgJzC3jj2QTZwvRMO0WHxBO7FPJ0fKnERj9CxX1Rez/XC3DY4uJMlGwcZ8i8z
|
||||
k0QJLqJvII0ig5izNhuTlcZ9AUaMpJz0e7npUJWjV7cUDGMkEavTzwkJATbGu32J
|
||||
ILW6XhMtd5TBlFuMRk0RUUlCHN4CYYe4K/LoKfvxZlXyn/91dCzLWT6i5UjlkYZ9
|
||||
kBofKswORvxks2+5nf1TDN7RCd3oUZifBfGyfzFfCy6QAUc6VP4NW5OuYkiZv/CB
|
||||
VLaBP9rVJSoiiA2bFfmLsN/2HQvyIOgLgGrTh02shCAh0BvyYnjWe3gX2CqAjcEu
|
||||
zzPc40cBpDm7Nzahy5jonyKy0Tehuk8ONrS6oP8qhHLn4sapDDu45bzR52OHrRZ7
|
||||
3k9n3kbWe+In9f1i+yin2hyXKIUXpYUAYzkEzMYf9PG7+6ulO5iYTggb1n17ry5c
|
||||
e8hWimkrc1Oa7flB7/cCpgIS2JLE/Bi5SUZcCpo/PCXtYlDlCv+3iiTl488My5Y2
|
||||
xKiWHuJGlUN6qGyiWwJd6kK07nbHENdy+29XRyaZXx0gN6zgTp1S+n0Pra90ecV2
|
||||
6oyedBnGq0apG+8G8lxVEUpFNQp0Fz8EAb3qAnaPziPSQRFm2AQ=
|
||||
=ZeIO
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,5 +1,7 @@
|
||||
DIST tmuxp-1.27.0.tar.gz 862056 BLAKE2B baad339bc59498d26911507f29de38d55991515e03123edc8dca10159fed1492c1ffe37cf45d6d04ffc73134e0ee312c0ace2ffc53ba9cae258239746169e416 SHA512 a9c450c40a40c284c609011d5e47b12ed1a9b1d5c4036b887df7fd75a3bb6263847c459a7e61fc9dcdb463a3ac20de6ac9038b1559369a5f36641ab0baee755d
|
||||
DIST tmuxp-1.27.1.tar.gz 861380 BLAKE2B b57d7f4f5c23d1df71abd310b02535c8da7971df4473a3ff2c5feffb2967bd7b0c00e47e45bc04bf56b9503d17b55786b9abfeabec4f6d33989a2f58c5ba49d5 SHA512 3e3d9405a77fe03d2a249bad4ef215982d9135e85dc58899a337d0a3f6d76a4e9f155f5dc37993f5e57955411928ce921ce1c1f1ee7c39f0939d2831a3d600be
|
||||
DIST tmuxp-1.28.1.tar.gz 859970 BLAKE2B 5ea35b12a20f744f889ff6b35195144f195232d52fc67fb7128f2eb9205aea0e2a695f5d06d6df97a9ad8ea93bda37f225b1236c97e8b9f29c490cc526d4e383 SHA512 3023bc780bf4deffa4b1d7898e7cdfe6ba6611511a75b7559a7ca3898d7bc7dff2b5806016f4d88fa0acc8bb57606d0b5231fc26dae7e33990284cdd1dc836df
|
||||
EBUILD tmuxp-1.27.0.ebuild 1001 BLAKE2B 7b59c11b0f24ab2f753672043793f1ce4fd4225f63eaf8f5af93a07b0bd7958a9585de01dc8b865ed7aea03e86be3f56c47bf9ad6f69d4124f4120b838822e8d SHA512 292cfa09fa327721b17146fe969b566a9e548078c18dd66ac4c1ff4e736df1596fe6380a19108f590a3a5dd3331622643915cfe03fc3f7d96e4d58377e9858c7
|
||||
EBUILD tmuxp-1.27.1.ebuild 1003 BLAKE2B 9cc836241bffb96505f7218f4aa95e72379f969b7079ddc6bd671111af23169f6c563efb4190eaccd61ffa2a96bee92335492dad601a8859a22714be6efd22b7 SHA512 8e3db7314724631ffaee79836b61b93b76f2a7117ac732b5f97a4f2bceb74b72c8af393d1e8bac8fefd446de7d8a7136bc6ef38b2e3a7d28b8c43c3ac5abe605
|
||||
EBUILD tmuxp-1.28.1.ebuild 1003 BLAKE2B dd415a60222ab5e0018ec4c9586c848ab8140726a156b1ec377be3aaa32138da12e764ea3f9cf413b1d04f521bd924ed07c3054849adba43c70a29259329340f SHA512 b890c66f3ab016a97354ef37b5f859a578503cf36c432bae9263962a5ecd4bec0e3fc092307348fcbe3f21543a05e211cb1abdbee927e70344c210d14994ae3a
|
||||
MISC metadata.xml 342 BLAKE2B 6f33d048b63facba621c206b518ee9dd2eab4d42d5279d55a42b79555356253a28e337c0e67f16a5f8488bb1848e2808889e3c282c346fb139503f250a897f77 SHA512 f3428680ad98ec20e8fa6131e0935f8ed43d4ddfab8944bb65f66bdba1864dd173f6c99a32d316526d4e40527e04ffc106ba57d261b3ab0dc459e2c9e3e8f5a4
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 2019-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="tmux session manager. built on libtmux"
|
||||
HOMEPAGE="https://tmuxp.git-pull.com"
|
||||
SRC_URI="https://github.com/tmux-python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=app-misc/tmux-3.0a
|
||||
=dev-python/libtmux-0.22.1*[${PYTHON_USEDEP}]
|
||||
>=dev-python/colorama-0.3.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-rerunfailures-4.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/tomli-1.1.0[${PYTHON_USEDEP}]
|
||||
!dev-python/flaky
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# test doesn't get along with sandbox
|
||||
"tests/cli/test_load.py::test_load_zsh_autotitle_warning"
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
SHELL="/bin/bash" epytest tests
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,8 +1,4 @@
|
||||
AUX implementations.txt 891 BLAKE2B 396b51d8b10cb61d90ae9a3721641d883d0c52d61c35f8118263862325a8b65badf6f0673d14f84647ea5cdc6214ac49ccc5921e5d2aa3debbd45419de54fbe8 SHA512 83e789c8abf708c7041afdd13bd94cf4a2c9179cb73617a77bd4ba085421c61c5c105eebc7af6f60792629e69e42be9fe4237bee83de957f84d616ae9c31b5c4
|
||||
DIST gpyutils-0.10.gh.tar.gz 24963 BLAKE2B ef6bd54195e1bfbb0734ef8aedbd13dd27b52d2f62d95b741459ecf4f5e93b80085a4cebfbe184fb8ac7e7cf97f4fbb422c5b5e36d0bb9dbc27896a4ad72d86e SHA512 baf6d44db447774ffc976698874f87dbc858ef146aa46ccb0a7e15a1f3d4d1263f75b2f46f319e45fa5994620c71e37ccc42b42b5f05dbde8f3cbacfbd45cbee
|
||||
DIST gpyutils-0.8.4.gh.tar.gz 20477 BLAKE2B 661ec8c9ae595daa112de2171331a5791fa4a10b50f9ebf76589c4c6ff4d6b8e618657dd9f3dd6cf573871ab6e0a9d017d87e03066fa60ba8b9d4e4617f68306 SHA512 f87a087464ca8e1118232227d2e6ad66aa021caabf0307c153b442fc4467bd124eb918c16104bdd1b42866acde16fdde4b99312a8c047ecf379ed10a74d27541
|
||||
DIST gpyutils-0.9.gh.tar.gz 24680 BLAKE2B 75f2ebf3a4ed3883aa3c28773edb903ef2063ad0b6c55316578b2fbf725317ec84a1e0017637d36f28903043ff9d82c2b298bbc8424576b1e23c76f5d3107b59 SHA512 306e2e0a9abe95b6dc526b7b04ec7451a7a33e59542c6a0ac12860eadee8501f0e9ff42586dd3df2c5d43e44a43c458665456ba65c435075d3fbbde31b0314b0
|
||||
EBUILD gpyutils-0.10.ebuild 667 BLAKE2B 1e8c82c7f2acbc91172c9e6d992c10919784d63e0cda381ef0b8a07088f0c0c48f500e89b5a5f32a2c207814a6902bd01ef0a83bca140ba31290d9d399e19f92 SHA512 2ea01842546dfa46941afddd68c048996fabbec19a38f5cb824035ba83c3f4c3d7da1b901cbc7c3ddea23bdfe33fe5e5595946eb1ce20db90589d83a3700f23d
|
||||
EBUILD gpyutils-0.8.4.ebuild 613 BLAKE2B fd58f9d3b037ab48da03739a772dfb8067ccde5713d4c7733cb0b6be1ae3eaf9f4937723adc486bee14a76f83b4876c10842e0c0fed114e0d2918398c7174d9b SHA512 a369a8a7389d049d0969efe949775b289b16b8fc884038384f3036c8e0cd41f30b32142188dcdddcfad4ed60d296778e71dbb79bcf531215dd46aa2dd36dda9e
|
||||
EBUILD gpyutils-0.9.ebuild 666 BLAKE2B f189925604f5702787d4424f99903f935d37e4dc97b5f372f17ca7d69248246545d325bf2bc5c19bb4af9700684d4fc2571f4fbb917a6feeb09d4e7b1b53e337 SHA512 ced7d7edb400ee68f9e29c38bc3032cd904f215a79a35b72ceb00d3667ccd486cfb9bc15c853dc857bb673ed8da93844e1678ff09034b87671248a7e3fcb3c99
|
||||
EBUILD gpyutils-0.10.ebuild 665 BLAKE2B 6c4b8846c249ac9eaf5428e4b5ce8c870614ecbb9d449022611cace4463626312572f426a3c285cda6fbdd2efe1677feca7ba801645029c69045a10320df3598 SHA512 79ade953f6bb20be5c3c1cb03eea0ed80fd2f2909993da02180c2a2762f9bae5949f094dec0ab6393cd6c8b54c43266afffd5357b39a34a3e219bf78dc6a5c9c
|
||||
MISC metadata.xml 601 BLAKE2B 3a90fccb93c2acd9e02c847f5a9170c6a7b976561d02e76ec0f58906b4b514b352bd621fe5a64ae6c8653253417a90fcce5b10e13bda2218b9b7bc29a86b9b8d SHA512 ce7bded5842dfd2dec8f0db875d8b302726f42deec340efaacdf4c6f99cde9daf18365f3edb9367b6a77f7690442b14a0b925bb2265c58f833a0937d6325dcfa
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Utitilies for maintaining Python packages"
|
||||
HOMEPAGE="
|
||||
https://github.com/projg2/gpyutils/
|
||||
https://pypi.org/project/gpyutils/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/projg2/gpyutils/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=app-portage/gentoopm-0.3.2[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Utitilies for maintaining Python packages"
|
||||
HOMEPAGE="
|
||||
https://github.com/projg2/gpyutils/
|
||||
https://pypi.org/project/gpyutils/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/projg2/gpyutils/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=app-portage/gentoopm-0.3.2[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST editorconfig-core-c-0.12.5.tar.gz 72272 BLAKE2B 044723047f8bc6ed0a4b3c5defbc43a0192edd0997dbaf9e9be6027d47f0d09c2bf4ba8141dda67ba541657a6c462afb86bb575a0eee586cf9a45581a5ff2017 SHA512 7d54c8c1ade8ecef5dc8f35e006f0e226455b7ed9541442a846bbebc26765e92abbbb29b991748164015bcfaff8764a0ac007e4384e163678a2922f7ca6b2e03
|
||||
DIST editorconfig-core-c-0.12.6.tar.gz 76525 BLAKE2B 2ffad6b22d72bd23eca9f0f1704d279323328e01b72a4a18a7181c998f088d7f8c0bb93549d8071e6723b8294b628fe6d1b503de7434be45770a2be9127c1cab SHA512 7cf69ed48c0d28694fc1f54cd8ae89202a3f0a13b5302fd316f50d0f99a606f54af9709874f0da75ad11ab6f4cc36edacb4cd8639717d44842a309140be3a968
|
||||
EBUILD editorconfig-core-c-0.12.5.ebuild 1018 BLAKE2B fca1b07ecabad9348a43faaff5709e985e1603bf2aed25509d9c4d8777573bf45b4c49fe86caea49c3fc9c19e3bed29533e7667708a3db99ef2e477e8a251a79 SHA512 f9cae76ac039246748a1028842e0d18a4114d483e09034a55f4f04a811ab476c5b33f7426ba78e9045628b0361a9307863eadd0bf2fb8c083ac466c7d4b541d7
|
||||
EBUILD editorconfig-core-c-0.12.6.ebuild 1122 BLAKE2B 50c6c36081602e1c58ee306c4326127de7989afff6a3a4cc69afdc4b72ee8a64ab730a123f4fc5b274a62c139d6d5e223f151e7d51d47daca8948b5ee07bd3a2 SHA512 3b6f96a531a067ce2d123f24a198b5271bd984a412d8cab6cc07145e9893d54c2e351bcf2fcc22b409ede03ca6333dd3926e7982d264720b96a56c3e851e346d
|
||||
EBUILD editorconfig-core-c-0.12.6.ebuild 1121 BLAKE2B ce29675f143d02803564662a8bf164e510e45efe69da5c141dec7d785a1971f500de6ac56aa6c5dfecf3de5176070ee157b6da9d8655fd36f35e9c10d7859859 SHA512 795668d5c896a438244b7fbc414e492830d165e1ad201cc89dfdc67dd9a5ad3e910021c36fdf61f2f66f13f84b89aaf7adbf3201dfc4533a9f0ec0652932df5a
|
||||
MISC metadata.xml 389 BLAKE2B 936516a5d13add9bcb0c94e20f3ea1eeb14119f2cae956c472848769907df123431f6dfa846bf82955a340a9c7f21bfe738203fe4a2bb6ea24ac22bf38d6e0e8 SHA512 5380c32b0d900044ce0d0562d6a71a0db840d01ebc48bdb34a5da2f61a8deff1a475fc03958796edb819d06f7e358a15c9fa4dcd20a91b64ca3c0e790746ad11
|
||||
|
@ -1,6 +1,6 @@
|
||||
DIST libmwaw-0.3.21.tar.xz 1457212 BLAKE2B 19e0893c186f273f5743a397da895f653cca1300febcac90353951c6ca66405c2481aac6083017f4ec00a31ee0f08e8e77dc579019396e23930a091de2d8903a SHA512 1b6aab4f3e76d1d7a3c15cc175642c62f826172c9fdef558617b87a98d056a05d817caaccdc199197670f84ada448b65cce61f5254ed8e1d7634a637d3367384
|
||||
DIST libmwaw-0.3.22.tar.xz 1476620 BLAKE2B 8133dbd06fdde5caabe9284fd0535e97335385a96ceea4ea9bc1d6f2a28f14f22f6943d71ee6631cb8d67c8791b56ed3d928bb18c723c7aec0b8cf7faf8427d7 SHA512 8682e7006430764cb825cd0bf4822ff42ea3035606e13a804afb9fa3c6dc583f34ae24cea226c1d31eae95224525289801c0afa3853adc6ab396bb9df34a60b4
|
||||
EBUILD libmwaw-0.3.21.ebuild 1027 BLAKE2B 566b95385cd77da4c5b5fd8b0403149f8b417526b0284dc90463b157f483eb9fed5439acb80d73343ea16002a0331e3febf55c9ec65c8aac76221803f844b077 SHA512 4ef0bdda09e075d8c0b1fea8c74677cb6c1fa2cf655a69344af7d73afd4ab786d3d12f1b49afcf1415e3ad13152362c512de2ff5abcbc2ef8c250fd5df24bc5e
|
||||
EBUILD libmwaw-0.3.22.ebuild 1030 BLAKE2B 6f828ca72e7cad536f9eba0699bbdc221127b374190f67657f9fef6eb2f3d60481e47bc2c885b51c8e59252b54d8a2cfc49d8b147fc3f5920a835e7761d3a96e SHA512 176d67db6aba7cbac9fa668a5384287cf165bb9336ac69f00c7f6ef0b2d256d9f48a11a6bdc88eb46715c5270b25b0d894a909d74c5ef7c603468c1c31cc89f3
|
||||
EBUILD libmwaw-0.3.22.ebuild 1029 BLAKE2B 18f67783fc34f428a9e805b3de6c629c29c858cd09ed3f815decb40870ad4d721538f01b70c03e9944857222eb635463f62628ce5e15da1e666562a079fbbd32 SHA512 89490f45858a95e110e3e14d694c27b16adc0d41b3c6cc8bb86935aa881975e64cf384f209a5227454ac163046ffc111c643207d6bc7fd6f0ca7a31cbab57304
|
||||
EBUILD libmwaw-9999.ebuild 1030 BLAKE2B 6f828ca72e7cad536f9eba0699bbdc221127b374190f67657f9fef6eb2f3d60481e47bc2c885b51c8e59252b54d8a2cfc49d8b147fc3f5920a835e7761d3a96e SHA512 176d67db6aba7cbac9fa668a5384287cf165bb9336ac69f00c7f6ef0b2d256d9f48a11a6bdc88eb46715c5270b25b0d894a909d74c5ef7c603468c1c31cc89f3
|
||||
MISC metadata.xml 404 BLAKE2B 95ac1c73023ff52b4a0d1754f9d37b6c2ffd82f49f16122058f853e40ce15dd9b2fbe6ecc24bdf86e82addc27b4a6f9cd7478560fde845b696f62a1645abdca7 SHA512 858235729f5091f06699f4b32ff14890c139c5e0adff30172da79e3fec4b4452e8529c401a0273b1799706e0ade449451f10b84555ade12022bf62e37098ac07
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST libwpg-0.3.3.tar.xz 328664 BLAKE2B 02ffaf8ea96e66dea94d847c85e17db5b7efcc5891bb1bf4069e664ece09f808b7462fcbb08a75d6ab17fff4ea51a8e494c48fba1540aed132f47d05b746e1a5 SHA512 99f8346b336eb902626fe07836c73870a57e100620ddd242ce7c2866e564483ed024a3a0b2804f81a0f59a0873310c3a93c005d306437a27818a6f4374c0c491
|
||||
DIST libwpg-0.3.4.tar.xz 340428 BLAKE2B 68df99682307811e7bf376ff1329aaf18313e447b8dcdd2229cedc30afa122eafcf6a527c375cf547b88600129460ff2db2390124200f4ee100367ea534cea83 SHA512 dcc34abc3cf8793dca579b2233e7c84d0ea53a7372c325678d81fbe52c700e6a8af32c4b17e490a39873a692d44ba7b3af68d605d87cef0be8ea13d2f7b95c0e
|
||||
EBUILD libwpg-0.3.3.ebuild 792 BLAKE2B 7a923e9afcfa00be555b1632824ec9df1a7400f9c0d0163657765d9479f5bc668f1fb9f16d7978c4568091e0b1f0e46ad62b0c093a5055f65821aa81a079fcd9 SHA512 aba8e7f13200f4e3851f6045cd66f5140bdcdef4774b7527479a537656f72b6e6bbd8300b4007ac152d962d7fb526718e69a37f13ac46d01b2941bea0023c183
|
||||
EBUILD libwpg-0.3.4.ebuild 769 BLAKE2B f7a2ffbb3de7fd59afa439ed75134664d866fe6acf90217216c61f2336bc40a10c1973605f37944b76dab4c9a2a2c78a0c1d4a68c8669d1fd89258e714ea9ab0 SHA512 e93cd9955c67fb5b4f8878f7c86f2127e1ae469d59e50804aa19fb933130cea7d9d56cee088d9e9ebbcbf53ff0323a2d7834d21ed3e0ff728294a723c26f7818
|
||||
EBUILD libwpg-0.3.4.ebuild 768 BLAKE2B 4a279e470ce9aefa09f9abe5d056c41a18e4492b29d2067328384322c27b50e8003b0373b65bbd7ff37205f4512665bf697d3e8b2be0ea8d6f5da77d359d7149 SHA512 55760724f76744e220a96ff1a4d97fa709a000e83474785c16924ef7cf0619efa2899e067ff5b9ba4c14861a58523c2326b720e217ddad83eb0ca206b48982b0
|
||||
MISC metadata.xml 442 BLAKE2B 0ee2e14aa54fb7ab8d61a62d9fb4fdf9189515b7363c7b6ad0989d2a423acccaeb4ba5bafc1004cdc08b2128eccb187857ffc2ee1346c532764f108eea2e7a65 SHA512 b97f8ab587d7661b242e1aaabbb9c2c70dff1fa7e6829ce071e40b87d7c3a5f3f9b98cc1941211806582a2744633c7301e38c82add82993a690216555733bb5f
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST libwps-0.4.13.tar.xz 717188 BLAKE2B 966d0e57668577620fc5fe8c222096fa1b51f3d2c149dab7fc182c2fe81b69363cfbcc2ff930d2719f9fcf735306d612a00ae863ff1a0d2f03fcd6c67b054489 SHA512 c88357cdb11a68148c9344cf3688d57d793089732ee9828d6ea5e86536eb5f60668326fa520e7609a48298051435f6cc570d0c58aa4aa96581a51c16f914a1d0
|
||||
DIST libwps-0.4.14.tar.xz 719016 BLAKE2B 9f89b8534851760bb2cc3453e75840dea22eb09fd51a1d8ec7b7308fbb63ef7e34416ccfdbb5b1abc87616b7da17edc0bcf1e7fcc93414bf197dd904f6de759b SHA512 bbf9047f35d1b42c2da8deee24116d6a3fb20749a4255d369b62967a99185f52f21dda3e1b385056c1924995f2a72b670960bb476f38c3bf78933e25ff4a5779
|
||||
EBUILD libwps-0.4.13.ebuild 746 BLAKE2B cb0ae1a4bd53a00937baf43a6854517639e8ad8fb812feda95545608afa5bcaa6ad565a6d99eb4defc53e9bee843d3c72abe0cf24944f52f99b97b168df8d56e SHA512 fd2f35b64c5923e923c600dc48bfe59011751ae71701ad882ebd08a6457bdfc564be9d1ad917b0d1df1db0036012e44cb076c6537c5a1bee24f6a6cc10ab6b5a
|
||||
EBUILD libwps-0.4.14.ebuild 749 BLAKE2B b788e4c6c5af892783ef789ec2c63e15f86b991ad8a04d55fee6da4f8973aed093cd4f24157f4af7c8f00292419c4943009b54cd98f3537d22b85a3c1bf15937 SHA512 418f2750ad881303e4eb9f05214b82340330e8fff32ddd9b7fc901c1bbc5211b2be143e8ce7094fe9133573884542aa8d6f4b8b28a2d7950d7db329bd0e75078
|
||||
EBUILD libwps-0.4.14.ebuild 748 BLAKE2B e66609a58e0edddfcec9ab5d1b40254d7f611855de9f4d34c97baadc8d5cffba47b218f81ab08ad44d686eeceacd512e86b3171e558ad9edb13f0c533064af1e SHA512 a489ad166597f61ed71f3d7db05ddb0cc9831108bb285513af707f48c0db47d02ede87e78840bc0d0c3e010e8087d8c5bb7b08bd78d7d01ac5a24c3d7761f061
|
||||
MISC metadata.xml 513 BLAKE2B 5f4c689cce8eb239e8c44d53de4f6066bb0d1b578bdd37d4314e904539faa7a0428f4176a8c7c862f42a5fab1c2b6f147815f1d3693e3beca85ee015ca324e9c SHA512 f835e24331d14e1edfbf31480ea04087db1c541a1d7c2720b422cfb3ea70500b48342b1b7476060b98b9b5b18be28e759c8b00063d1e002f6da987c3dcc72371
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,226 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit multilib prefix rust-toolchain toolchain-funcs verify-sig multilib-minimal
|
||||
|
||||
MY_P="rust-${PV}"
|
||||
# curl -L static.rust-lang.org/dist/channel-rust-${PV}.toml 2>/dev/null | grep "xz_url.*rust-src"
|
||||
MY_SRC_URI="${RUST_TOOLCHAIN_BASEURL%/}/2023-06-01/rust-src-${PV}.tar.xz"
|
||||
GENTOO_BIN_BASEURI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}" # omit leading slash
|
||||
|
||||
DESCRIPTION="Systems programming language from Mozilla"
|
||||
HOMEPAGE="https://www.rust-lang.org/"
|
||||
SRC_URI="$(rust_all_arch_uris ${MY_P})
|
||||
rust-src? ( ${MY_SRC_URI} )
|
||||
"
|
||||
# Keep this separate to allow easy commenting out if not yet built
|
||||
#SRC_URI+=" sparc? ( ${GENTOO_BIN_BASEURI}/${MY_P}-sparc64-unknown-linux-gnu.tar.xz ) "
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4 UoI-NCSA"
|
||||
SLOT="stable"
|
||||
#KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86"
|
||||
IUSE="clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src rustfmt"
|
||||
|
||||
DEPEND=""
|
||||
|
||||
RDEPEND="
|
||||
>=app-eselect/eselect-rust-20190311
|
||||
dev-libs/openssl
|
||||
sys-apps/lsb-release
|
||||
sys-devel/gcc:*
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
prefix? ( dev-util/patchelf )
|
||||
verify-sig? ( sec-keys/openpgp-keys-rust )
|
||||
"
|
||||
|
||||
REQUIRED_USE="x86? ( cpu_flags_x86_sse2 )"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/${P}/bin/.*
|
||||
opt/${P}/lib/.*.so
|
||||
opt/${P}/libexec/.*
|
||||
opt/${P}/lib/rustlib/.*/bin/.*
|
||||
opt/${P}/lib/rustlib/.*/lib/.*
|
||||
"
|
||||
|
||||
# An rmeta file is custom binary format that contains the metadata for the crate.
|
||||
# rmeta files do not support linking, since they do not contain compiled object files.
|
||||
# so we can safely silence the warning for this QA check.
|
||||
QA_EXECSTACK="opt/${P}/lib/rustlib/*/lib*.rlib:lib.rmeta"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/rust.asc"
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ "$(tc-is-softfloat)" != "no" ]] && [[ ${CHOST} == armv7* ]]; then
|
||||
die "${CHOST} is not supported by upstream Rust. You must use a hard float version."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# sadly rust-src tarball does not have corresponding .asc file
|
||||
# so do partial verification
|
||||
if use verify-sig; then
|
||||
for f in ${A}; do
|
||||
if [[ -f ${DISTDIR}/${f}.asc ]]; then
|
||||
verify-sig_verify_detached "${DISTDIR}/${f}" "${DISTDIR}/${f}.asc"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
default_src_unpack
|
||||
|
||||
mv "${WORKDIR}/${MY_P}-$(rust_abi)" "${S}" || die
|
||||
}
|
||||
|
||||
patchelf_for_bin() {
|
||||
local filetype=$(file -b ${1})
|
||||
if [[ ${filetype} == *ELF*interpreter* ]]; then
|
||||
einfo "${1}'s interpreter changed"
|
||||
patchelf ${1} --set-interpreter ${2} || die
|
||||
elif [[ ${filetype} == *script* ]]; then
|
||||
hprefixify ${1}
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
if multilib_is_native_abi; then
|
||||
|
||||
# start native abi install
|
||||
pushd "${S}" >/dev/null || die
|
||||
local analysis std
|
||||
analysis="$(grep 'analysis' ./components)"
|
||||
std="$(grep 'std' ./components)"
|
||||
local components="rustc,cargo,${std}"
|
||||
use doc && components="${components},rust-docs"
|
||||
use clippy && components="${components},clippy-preview"
|
||||
use rustfmt && components="${components},rustfmt-preview"
|
||||
use rust-analyzer && components="${components},rust-analyzer-preview,${analysis}"
|
||||
# Rust component 'rust-src' is extracted from separate archive
|
||||
if use rust-src; then
|
||||
einfo "Combining rust and rust-src installers"
|
||||
mv -v "${WORKDIR}/rust-src-${PV}/rust-src" "${S}" || die
|
||||
echo rust-src >> ./components || die
|
||||
components="${components},rust-src"
|
||||
fi
|
||||
./install.sh \
|
||||
--components="${components}" \
|
||||
--disable-verify \
|
||||
--prefix="${ED}/opt/${P}" \
|
||||
--mandir="${ED}/opt/${P}/man" \
|
||||
--disable-ldconfig \
|
||||
|| die
|
||||
|
||||
if use prefix; then
|
||||
local interpreter=$(patchelf --print-interpreter ${EPREFIX}/bin/bash)
|
||||
ebegin "Changing interpreter to ${interpreter} for Gentoo prefix at ${ED}/opt/${P}/bin"
|
||||
find "${ED}/opt/${P}/bin" -type f -print0 | \
|
||||
while IFS= read -r -d '' filename; do
|
||||
patchelf_for_bin ${filename} ${interpreter} \; || die
|
||||
done
|
||||
eend $?
|
||||
fi
|
||||
|
||||
local symlinks=(
|
||||
cargo
|
||||
rustc
|
||||
rustdoc
|
||||
rust-gdb
|
||||
rust-gdbgui
|
||||
rust-lldb
|
||||
)
|
||||
|
||||
use clippy && symlinks+=( clippy-driver cargo-clippy )
|
||||
use rustfmt && symlinks+=( rustfmt cargo-fmt )
|
||||
use rust-analyzer && symlinks+=( rust-analyzer )
|
||||
|
||||
einfo "installing eselect-rust symlinks and paths"
|
||||
local i
|
||||
for i in "${symlinks[@]}"; do
|
||||
# we need realpath on /usr/bin/* symlink return version-appended binary path.
|
||||
# so /usr/bin/rustc should point to /opt/rust-bin-<ver>/bin/rustc-<ver>
|
||||
local ver_i="${i}-bin-${PV}"
|
||||
ln -v "${ED}/opt/${P}/bin/${i}" "${ED}/opt/${P}/bin/${ver_i}" || die
|
||||
dosym "../../opt/${P}/bin/${ver_i}" "/usr/bin/${ver_i}"
|
||||
done
|
||||
|
||||
# symlinks to switch components to active rust in eselect
|
||||
dosym "../../../opt/${P}/lib" "/usr/lib/rust/lib-bin-${PV}"
|
||||
dosym "../../../opt/${P}/man" "/usr/lib/rust/man-bin-${PV}"
|
||||
dosym "../../opt/${P}/lib/rustlib" "/usr/lib/rustlib-bin-${PV}"
|
||||
dosym "../../../opt/${P}/share/doc/rust" "/usr/share/doc/${P}"
|
||||
|
||||
# make all capital underscored variable
|
||||
local CARGO_TRIPLET="$(rust_abi)"
|
||||
CARGO_TRIPLET="${CARGO_TRIPLET//-/_}"
|
||||
CARGO_TRIPLET="${CARGO_TRIPLET^^}"
|
||||
cat <<-_EOF_ > "${T}/50${P}"
|
||||
LDPATH="${EPREFIX}/usr/lib/rust/lib"
|
||||
MANPATH="${EPREFIX}/usr/lib/rust/man"
|
||||
$(usev elibc_musl "CARGO_TARGET_${CARGO_TRIPLET}_RUSTFLAGS=\"-C target-feature=-crt-static\"")
|
||||
_EOF_
|
||||
doenvd "${T}/50${P}"
|
||||
|
||||
# note: eselect-rust adds EROOT to all paths below
|
||||
cat <<-_EOF_ > "${T}/provider-${P}"
|
||||
/usr/bin/cargo
|
||||
/usr/bin/rustdoc
|
||||
/usr/bin/rust-gdb
|
||||
/usr/bin/rust-gdbgui
|
||||
/usr/bin/rust-lldb
|
||||
/usr/lib/rustlib
|
||||
/usr/lib/rust/lib
|
||||
/usr/lib/rust/man
|
||||
/usr/share/doc/rust
|
||||
_EOF_
|
||||
|
||||
if use clippy; then
|
||||
echo /usr/bin/clippy-driver >> "${T}/provider-${P}"
|
||||
echo /usr/bin/cargo-clippy >> "${T}/provider-${P}"
|
||||
fi
|
||||
if use rustfmt; then
|
||||
echo /usr/bin/rustfmt >> "${T}/provider-${P}"
|
||||
echo /usr/bin/cargo-fmt >> "${T}/provider-${P}"
|
||||
fi
|
||||
if use rust-analyzer; then
|
||||
echo /usr/bin/rust-analyzer >> "${T}/provider-${P}"
|
||||
fi
|
||||
|
||||
insinto /etc/env.d/rust
|
||||
doins "${T}/provider-${P}"
|
||||
popd >/dev/null || die
|
||||
#end native abi install
|
||||
|
||||
else
|
||||
local rust_target
|
||||
rust_target="$(rust_abi $(get_abi_CHOST ${v##*.}))"
|
||||
dodir "/opt/${P}/lib/rustlib"
|
||||
cp -vr "${WORKDIR}/rust-${PV}-${rust_target}/rust-std-${rust_target}/lib/rustlib/${rust_target}"\
|
||||
"${ED}/opt/${P}/lib/rustlib" || die
|
||||
fi
|
||||
|
||||
# BUG: installs x86_64 binary on other arches
|
||||
rm -f "${ED}/opt/${P}/lib/rustlib/"*/bin/rust-llvm-dwp || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect rust update
|
||||
|
||||
elog "Rust installs a helper script for calling GDB now,"
|
||||
elog "for your convenience it is installed under /usr/bin/rust-gdb-bin-${PV}."
|
||||
|
||||
if has_version app-editors/emacs; then
|
||||
elog "install app-emacs/rust-mode to get emacs support for rust."
|
||||
fi
|
||||
|
||||
if has_version app-editors/gvim || has_version app-editors/vim; then
|
||||
elog "install app-vim/rust-vim to get vim support for rust."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rust cleanup
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
From 1879d1d1a284bf51c752e47db284ce22701ed5d0 Mon Sep 17 00:00:00 2001
|
||||
From: Samuel Holland <samuel@sholland.org>
|
||||
Date: Sun, 16 Sep 2018 16:38:48 +0000
|
||||
Subject: [PATCH 12/15] Ignore broken and non-applicable tests
|
||||
|
||||
c-link-to-rust-va-list-fn: unstable feature, broken on aarch64, #56475
|
||||
env-funky-keys: can't handle LD_PRELOAD (e.g. sandbox)
|
||||
long-linker-command-lines: takes >10 minutes to run (but still passes)
|
||||
simd-intrinsic-generic-bitmask.rs: broken on BE, #59356
|
||||
sparc-struct-abi: no sparc target
|
||||
sysroot-crates-are-unstable: can't run rustc without RPATH
|
||||
---
|
||||
test/ui/env-funky-keys.rs | 1 +
|
||||
6 files changed, 10 insertions(+)
|
||||
|
||||
diff --git a/tests/ui/env-funky-keys.rs b/tests/ui/env-funky-keys.rs
|
||||
index c5c824ac58d..f3fe047a79c 100644
|
||||
--- a/tests/ui/env-funky-keys.rs
|
||||
+++ b/tests/ui/env-funky-keys.rs
|
||||
@@ -1,6 +1,7 @@
|
||||
// run-pass
|
||||
// Ignore this test on Android, because it segfaults there.
|
||||
|
||||
+// ignore-test
|
||||
// ignore-android
|
||||
// ignore-windows
|
||||
// ignore-cloudabi no execve
|
||||
--
|
||||
2.24.1
|
||||
|
@ -0,0 +1,745 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..12} )
|
||||
|
||||
inherit bash-completion-r1 check-reqs estack flag-o-matic llvm multiprocessing \
|
||||
multilib multilib-build python-any-r1 rust-toolchain toolchain-funcs verify-sig
|
||||
|
||||
if [[ ${PV} = *beta* ]]; then
|
||||
betaver=${PV//*beta}
|
||||
BETA_SNAPSHOT="${betaver:0:4}-${betaver:4:2}-${betaver:6:2}"
|
||||
MY_P="rustc-beta"
|
||||
SLOT="beta/${PV}"
|
||||
SRC="${BETA_SNAPSHOT}/rustc-beta-src.tar.xz -> rustc-${PV}-src.tar.xz"
|
||||
else
|
||||
ABI_VER="$(ver_cut 1-2)"
|
||||
SLOT="stable/${ABI_VER}"
|
||||
MY_P="rustc-${PV}"
|
||||
SRC="${MY_P}-src.tar.xz"
|
||||
#KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
fi
|
||||
|
||||
RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).0"
|
||||
|
||||
DESCRIPTION="Systems programming language from Mozilla"
|
||||
HOMEPAGE="https://www.rust-lang.org/"
|
||||
|
||||
SRC_URI="
|
||||
https://static.rust-lang.org/dist/${SRC}
|
||||
verify-sig? ( https://static.rust-lang.org/dist/${SRC}.asc )
|
||||
!system-bootstrap? ( $(rust_all_arch_uris rust-${RUST_STAGE0_VERSION}) )
|
||||
"
|
||||
|
||||
# keep in sync with llvm ebuild of the same version as bundled one.
|
||||
ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM AVR BPF Hexagon Lanai LoongArch Mips MSP430
|
||||
NVPTX PowerPC RISCV Sparc SystemZ VE WebAssembly X86 XCore )
|
||||
ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
|
||||
LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/(-)?}
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4 UoI-NCSA"
|
||||
|
||||
IUSE="clippy cpu_flags_x86_sse2 debug dist doc llvm-libunwind +lto miri nightly parallel-compiler profiler rustfmt rust-analyzer rust-src system-bootstrap system-llvm test wasm ${ALL_LLVM_TARGETS[*]}"
|
||||
|
||||
# Please keep the LLVM dependency block separate. Since LLVM is slotted,
|
||||
# we need to *really* make sure we're not pulling more than one slot
|
||||
# simultaneously.
|
||||
|
||||
# How to use it:
|
||||
# List all the working slots in LLVM_VALID_SLOTS, newest first.
|
||||
LLVM_VALID_SLOTS=( 16 )
|
||||
LLVM_MAX_SLOT="${LLVM_VALID_SLOTS[0]}"
|
||||
|
||||
# splitting usedeps needed to avoid CI/pkgcheck's UncheckableDep limitation
|
||||
# (-) usedep needed because we may build with older llvm without that target
|
||||
LLVM_DEPEND="|| ( "
|
||||
for _s in ${LLVM_VALID_SLOTS[@]}; do
|
||||
LLVM_DEPEND+=" ( "
|
||||
for _x in ${ALL_LLVM_TARGETS[@]}; do
|
||||
LLVM_DEPEND+="
|
||||
${_x}? ( sys-devel/llvm:${_s}[${_x}(-)] )
|
||||
wasm? ( sys-devel/lld:${_s} )"
|
||||
done
|
||||
LLVM_DEPEND+=" )"
|
||||
done
|
||||
unset _s _x
|
||||
LLVM_DEPEND+=" )
|
||||
<sys-devel/llvm-$(( LLVM_MAX_SLOT + 1 )):=
|
||||
"
|
||||
|
||||
# to bootstrap we need at least exactly previous version, or same.
|
||||
# most of the time previous versions fail to bootstrap with newer
|
||||
# for example 1.47.x, requires at least 1.46.x, 1.47.x is ok,
|
||||
# but it fails to bootstrap with 1.48.x
|
||||
# https://github.com/rust-lang/rust/blob/${PV}/src/stage0.json
|
||||
RUST_DEP_PREV="$(ver_cut 1).$(($(ver_cut 2) - 1))*"
|
||||
RUST_DEP_CURR="$(ver_cut 1).$(ver_cut 2)*"
|
||||
BOOTSTRAP_DEPEND="||
|
||||
(
|
||||
=dev-lang/rust-"${RUST_DEP_PREV}"
|
||||
=dev-lang/rust-bin-"${RUST_DEP_PREV}"
|
||||
=dev-lang/rust-"${RUST_DEP_CURR}"
|
||||
=dev-lang/rust-bin-"${RUST_DEP_CURR}"
|
||||
)
|
||||
"
|
||||
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
app-eselect/eselect-rust
|
||||
|| (
|
||||
>=sys-devel/gcc-4.7
|
||||
>=sys-devel/clang-3.5
|
||||
)
|
||||
system-bootstrap? ( ${BOOTSTRAP_DEPEND} )
|
||||
!system-llvm? (
|
||||
>=dev-util/cmake-3.13.4
|
||||
dev-util/ninja
|
||||
)
|
||||
test? ( sys-devel/gdb )
|
||||
verify-sig? ( sec-keys/openpgp-keys-rust )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
>=app-arch/xz-utils-5.2
|
||||
net-misc/curl:=[http2,ssl]
|
||||
sys-libs/zlib:=
|
||||
dev-libs/openssl:0=
|
||||
system-llvm? (
|
||||
${LLVM_DEPEND}
|
||||
llvm-libunwind? ( sys-libs/llvm-libunwind:= )
|
||||
)
|
||||
!system-llvm? (
|
||||
!llvm-libunwind? (
|
||||
elibc_musl? ( sys-libs/libunwind:= )
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
app-eselect/eselect-rust
|
||||
sys-apps/lsb-release
|
||||
"
|
||||
|
||||
REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )
|
||||
miri? ( nightly )
|
||||
parallel-compiler? ( nightly )
|
||||
test? ( ${ALL_LLVM_TARGETS[*]} )
|
||||
wasm? ( llvm_targets_WebAssembly )
|
||||
x86? ( cpu_flags_x86_sse2 )
|
||||
"
|
||||
|
||||
# we don't use cmake.eclass, but can get a warning
|
||||
CMAKE_WARN_UNUSED_CLI=no
|
||||
|
||||
QA_FLAGS_IGNORED="
|
||||
usr/lib/${PN}/${PV}/bin/.*
|
||||
usr/lib/${PN}/${PV}/libexec/.*
|
||||
usr/lib/${PN}/${PV}/lib/lib.*.so
|
||||
usr/lib/${PN}/${PV}/lib/rustlib/.*/bin/.*
|
||||
usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/lib.*.so
|
||||
"
|
||||
|
||||
QA_SONAME="
|
||||
usr/lib/${PN}/${PV}/lib/lib.*.so.*
|
||||
usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/lib.*.so
|
||||
"
|
||||
|
||||
QA_PRESTRIPPED="
|
||||
usr/lib/${PN}/${PV}/lib/rustlib/.*/bin/rust-llvm-dwp
|
||||
usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/self-contained/crtn.o
|
||||
"
|
||||
|
||||
# An rmeta file is custom binary format that contains the metadata for the crate.
|
||||
# rmeta files do not support linking, since they do not contain compiled object files.
|
||||
# so we can safely silence the warning for this QA check.
|
||||
QA_EXECSTACK="usr/lib/${PN}/${PV}/lib/rustlib/*/lib*.rlib:lib.rmeta"
|
||||
|
||||
# causes double bootstrap
|
||||
RESTRICT="test"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/rust.asc
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/1.70.0-ignore-broken-and-non-applicable-tests.patch
|
||||
"${FILESDIR}"/1.62.1-musl-dynamic-linking.patch
|
||||
"${FILESDIR}"/1.67.0-doc-wasm.patch
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${MY_P}-src"
|
||||
|
||||
toml_usex() {
|
||||
usex "${1}" true false
|
||||
}
|
||||
|
||||
bootstrap_rust_version_check() {
|
||||
# never call from pkg_pretend. eselect-rust may be not installed yet.
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
local rustc_wanted="$(ver_cut 1).$(($(ver_cut 2) - 1))"
|
||||
local rustc_toonew="$(ver_cut 1).$(($(ver_cut 2) + 1))"
|
||||
local rustc_version=( $(eselect --brief rust show 2>/dev/null) )
|
||||
rustc_version=${rustc_version[0]#rust-bin-}
|
||||
rustc_version=${rustc_version#rust-}
|
||||
|
||||
[[ -z "${rustc_version}" ]] && die "Failed to determine rust version, check 'eselect rust' output"
|
||||
|
||||
if ver_test "${rustc_version}" -lt "${rustc_wanted}" ; then
|
||||
eerror "Rust >=${rustc_wanted} is required"
|
||||
eerror "please run 'eselect rust' and set correct rust version"
|
||||
die "selected rust version is too old"
|
||||
elif ver_test "${rustc_version}" -ge "${rustc_toonew}" ; then
|
||||
eerror "Rust <${rustc_toonew} is required"
|
||||
eerror "please run 'eselect rust' and set correct rust version"
|
||||
die "selected rust version is too new"
|
||||
else
|
||||
einfo "Using rust ${rustc_version} to build"
|
||||
fi
|
||||
}
|
||||
|
||||
pre_build_checks() {
|
||||
local M=8192
|
||||
# multiply requirements by 1.3 if we are doing x86-multilib
|
||||
if use amd64; then
|
||||
M=$(( $(usex abi_x86_32 13 10) * ${M} / 10 ))
|
||||
fi
|
||||
M=$(( $(usex clippy 128 0) + ${M} ))
|
||||
M=$(( $(usex miri 128 0) + ${M} ))
|
||||
M=$(( $(usex rustfmt 256 0) + ${M} ))
|
||||
# add 2G if we compile llvm and 256M per llvm_target
|
||||
if ! use system-llvm; then
|
||||
M=$(( 2048 + ${M} ))
|
||||
local ltarget
|
||||
for ltarget in ${ALL_LLVM_TARGETS[@]}; do
|
||||
M=$(( $(usex ${ltarget} 256 0) + ${M} ))
|
||||
done
|
||||
fi
|
||||
M=$(( $(usex wasm 256 0) + ${M} ))
|
||||
M=$(( $(usex debug 2 1) * ${M} ))
|
||||
eshopts_push -s extglob
|
||||
if is-flagq '-g?(gdb)?([1-9])'; then
|
||||
M=$(( 15 * ${M} / 10 ))
|
||||
fi
|
||||
eshopts_pop
|
||||
M=$(( $(usex system-bootstrap 0 1024) + ${M} ))
|
||||
M=$(( $(usex doc 256 0) + ${M} ))
|
||||
CHECKREQS_DISK_BUILD=${M}M check-reqs_pkg_${EBUILD_PHASE}
|
||||
}
|
||||
|
||||
llvm_check_deps() {
|
||||
has_version -r "sys-devel/llvm:${LLVM_SLOT}[${LLVM_TARGET_USEDEPS// /,}]"
|
||||
}
|
||||
|
||||
# Is LLVM being linked against libc++?
|
||||
is_libcxx_linked() {
|
||||
local code='#include <ciso646>
|
||||
#if defined(_LIBCPP_VERSION)
|
||||
HAVE_LIBCXX
|
||||
#endif
|
||||
'
|
||||
local out=$($(tc-getCXX) ${CXXFLAGS} ${CPPFLAGS} -x c++ -E -P - <<<"${code}") || return 1
|
||||
[[ ${out} == *HAVE_LIBCXX* ]]
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
pre_build_checks
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
pre_build_checks
|
||||
python-any-r1_pkg_setup
|
||||
|
||||
export LIBGIT2_NO_PKG_CONFIG=1 #749381
|
||||
|
||||
use system-bootstrap && bootstrap_rust_version_check
|
||||
|
||||
if use system-llvm; then
|
||||
llvm_pkg_setup
|
||||
|
||||
local llvm_config="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
|
||||
export LLVM_LINK_SHARED=1
|
||||
export RUSTFLAGS="${RUSTFLAGS} -Lnative=$("${llvm_config}" --libdir)"
|
||||
fi
|
||||
}
|
||||
|
||||
esetup_unwind_hack() {
|
||||
# https://bugs.gentoo.org/870280
|
||||
# this is a hack needed to bootstrap with libgcc_s linked tarball on llvm-libunwind system.
|
||||
# it should trigger for internal bootstrap or system-bootstrap with rust-bin.
|
||||
# the whole idea is for stage0 to bootstrap with fake libgcc_s.
|
||||
# final stage will receive -L${T}/lib but not -lgcc_s args, producing clean compiler.
|
||||
local fakelib="${T}/fakelib"
|
||||
mkdir -p "${fakelib}" || die
|
||||
# we need both symlinks, one for cargo runtime, other for linker.
|
||||
ln -s "${ESYSROOT}/usr/lib/libunwind.so" "${fakelib}/libgcc_s.so.1" || die
|
||||
ln -s "${ESYSROOT}/usr/lib/libunwind.so" "${fakelib}/libgcc_s.so" || die
|
||||
export LD_LIBRARY_PATH="${fakelib}"
|
||||
export RUSTFLAGS+=" -L${fakelib}"
|
||||
# this is a literally magic variable that gets through cargo cache, without it some
|
||||
# crates ignore RUSTFLAGS.
|
||||
# this variable can not contain leading space.
|
||||
export MAGIC_EXTRA_RUSTFLAGS+="${MAGIC_EXTRA_RUSTFLAGS:+ }-L${fakelib}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if ! use system-bootstrap; then
|
||||
has_version sys-devel/gcc || esetup_unwind_hack
|
||||
local rust_stage0_root="${WORKDIR}"/rust-stage0
|
||||
local rust_stage0="rust-${RUST_STAGE0_VERSION}-$(rust_abi)"
|
||||
|
||||
"${WORKDIR}/${rust_stage0}"/install.sh --disable-ldconfig \
|
||||
--without=rust-docs-json-preview,rust-docs --destdir="${rust_stage0_root}" --prefix=/ || die
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
filter-flags '-flto*' # https://bugs.gentoo.org/862109 https://bugs.gentoo.org/866231
|
||||
|
||||
local rust_target="" rust_targets="" arch_cflags
|
||||
|
||||
# Collect rust target names to compile standard libs for all ABIs.
|
||||
for v in $(multilib_get_enabled_abi_pairs); do
|
||||
rust_targets+=",\"$(rust_abi $(get_abi_CHOST ${v##*.}))\""
|
||||
done
|
||||
if use wasm; then
|
||||
rust_targets+=",\"wasm32-unknown-unknown\""
|
||||
if use system-llvm; then
|
||||
# un-hardcode rust-lld linker for this target
|
||||
# https://bugs.gentoo.org/715348
|
||||
sed -i '/linker:/ s/rust-lld/wasm-ld/' compiler/rustc_target/src/spec/wasm_base.rs || die
|
||||
fi
|
||||
fi
|
||||
rust_targets="${rust_targets#,}"
|
||||
|
||||
# cargo and rustdoc are mandatory and should always be included
|
||||
local tools='"cargo","rustdoc"'
|
||||
use clippy && tools+=',"clippy"'
|
||||
use miri && tools+=',"miri"'
|
||||
use profiler && tools+=',"rust-demangler"'
|
||||
use rustfmt && tools+=',"rustfmt"'
|
||||
use rust-analyzer && tools+=',"rust-analyzer"'
|
||||
use rust-src && tools+=',"src"'
|
||||
|
||||
local rust_stage0_root
|
||||
if use system-bootstrap; then
|
||||
local printsysroot
|
||||
printsysroot="$(rustc --print sysroot || die "Can't determine rust's sysroot")"
|
||||
rust_stage0_root="${printsysroot}"
|
||||
else
|
||||
rust_stage0_root="${WORKDIR}"/rust-stage0
|
||||
fi
|
||||
# in case of prefix it will be already prefixed, as --print sysroot returns full path
|
||||
[[ -d ${rust_stage0_root} ]] || die "${rust_stage0_root} is not a directory"
|
||||
|
||||
rust_target="$(rust_abi)"
|
||||
|
||||
local cm_btype="$(usex debug DEBUG RELEASE)"
|
||||
cat <<- _EOF_ > "${S}"/config.toml
|
||||
changelog-seen = 2
|
||||
[llvm]
|
||||
download-ci-llvm = false
|
||||
optimize = $(toml_usex !debug)
|
||||
release-debuginfo = $(toml_usex debug)
|
||||
assertions = $(toml_usex debug)
|
||||
ninja = true
|
||||
targets = "${LLVM_TARGETS// /;}"
|
||||
experimental-targets = ""
|
||||
link-shared = $(toml_usex system-llvm)
|
||||
$(if is_libcxx_linked; then
|
||||
# https://bugs.gentoo.org/732632
|
||||
echo "use-libcxx = true"
|
||||
echo "static-libstdcpp = false"
|
||||
fi)
|
||||
$(case "${rust_target}" in
|
||||
i586-*-linux-*)
|
||||
# https://github.com/rust-lang/rust/issues/93059
|
||||
echo 'cflags = "-fcf-protection=none"'
|
||||
echo 'cxxflags = "-fcf-protection=none"'
|
||||
echo 'ldflags = "-fcf-protection=none"'
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac)
|
||||
enable-warnings = false
|
||||
[llvm.build-config]
|
||||
CMAKE_VERBOSE_MAKEFILE = "ON"
|
||||
CMAKE_C_FLAGS_${cm_btype} = "${CFLAGS}"
|
||||
CMAKE_CXX_FLAGS_${cm_btype} = "${CXXFLAGS}"
|
||||
CMAKE_EXE_LINKER_FLAGS_${cm_btype} = "${LDFLAGS}"
|
||||
CMAKE_MODULE_LINKER_FLAGS_${cm_btype} = "${LDFLAGS}"
|
||||
CMAKE_SHARED_LINKER_FLAGS_${cm_btype} = "${LDFLAGS}"
|
||||
CMAKE_STATIC_LINKER_FLAGS_${cm_btype} = "${ARFLAGS}"
|
||||
[build]
|
||||
build-stage = 2
|
||||
test-stage = 2
|
||||
build = "${rust_target}"
|
||||
host = ["${rust_target}"]
|
||||
target = [${rust_targets}]
|
||||
cargo = "${rust_stage0_root}/bin/cargo"
|
||||
rustc = "${rust_stage0_root}/bin/rustc"
|
||||
rustfmt = "${rust_stage0_root}/bin/rustfmt"
|
||||
docs = $(toml_usex doc)
|
||||
compiler-docs = false
|
||||
submodules = false
|
||||
python = "${EPYTHON}"
|
||||
locked-deps = true
|
||||
vendor = true
|
||||
extended = true
|
||||
tools = [${tools}]
|
||||
verbose = 2
|
||||
sanitizers = false
|
||||
profiler = $(toml_usex profiler)
|
||||
cargo-native-static = false
|
||||
[install]
|
||||
prefix = "${EPREFIX}/usr/lib/${PN}/${PV}"
|
||||
sysconfdir = "etc"
|
||||
docdir = "share/doc/rust"
|
||||
bindir = "bin"
|
||||
libdir = "lib"
|
||||
mandir = "share/man"
|
||||
[rust]
|
||||
# https://github.com/rust-lang/rust/issues/54872
|
||||
codegen-units-std = 1
|
||||
optimize = true
|
||||
debug = $(toml_usex debug)
|
||||
debug-assertions = $(toml_usex debug)
|
||||
debug-assertions-std = $(toml_usex debug)
|
||||
debuginfo-level = $(usex debug 2 0)
|
||||
debuginfo-level-rustc = $(usex debug 2 0)
|
||||
debuginfo-level-std = $(usex debug 2 0)
|
||||
debuginfo-level-tools = $(usex debug 2 0)
|
||||
debuginfo-level-tests = 0
|
||||
backtrace = true
|
||||
incremental = false
|
||||
default-linker = "$(tc-getCC)"
|
||||
parallel-compiler = $(toml_usex parallel-compiler)
|
||||
channel = "$(usex nightly nightly stable)"
|
||||
description = "gentoo"
|
||||
rpath = false
|
||||
verbose-tests = true
|
||||
optimize-tests = $(toml_usex !debug)
|
||||
codegen-tests = true
|
||||
dist-src = false
|
||||
remap-debuginfo = true
|
||||
lld = $(usex system-llvm false $(toml_usex wasm))
|
||||
# only deny warnings if doc+wasm are NOT requested, documenting stage0 wasm std fails without it
|
||||
# https://github.com/rust-lang/rust/issues/74976
|
||||
# https://github.com/rust-lang/rust/issues/76526
|
||||
deny-warnings = $(usex wasm $(usex doc false true) true)
|
||||
backtrace-on-ice = true
|
||||
jemalloc = false
|
||||
lto = "$(usex lto fat off)"
|
||||
[dist]
|
||||
src-tarball = false
|
||||
compression-formats = ["xz"]
|
||||
compression-profile = "balanced"
|
||||
_EOF_
|
||||
|
||||
for v in $(multilib_get_enabled_abi_pairs); do
|
||||
rust_target=$(rust_abi $(get_abi_CHOST ${v##*.}))
|
||||
arch_cflags="$(get_abi_CFLAGS ${v##*.})"
|
||||
|
||||
export CFLAGS_${rust_target//-/_}="${arch_cflags}"
|
||||
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
[target.${rust_target}]
|
||||
ar = "$(tc-getAR)"
|
||||
cc = "$(tc-getCC)"
|
||||
cxx = "$(tc-getCXX)"
|
||||
linker = "$(tc-getCC)"
|
||||
ranlib = "$(tc-getRANLIB)"
|
||||
llvm-libunwind = "$(usex llvm-libunwind $(usex system-llvm system in-tree) no)"
|
||||
_EOF_
|
||||
if use system-llvm; then
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
llvm-config = "$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
|
||||
_EOF_
|
||||
fi
|
||||
# by default librustc_target/spec/linux_musl_base.rs sets base.crt_static_default = true;
|
||||
# but we patch it and set to false here as well
|
||||
if use elibc_musl; then
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
crt-static = false
|
||||
_EOF_
|
||||
fi
|
||||
done
|
||||
if use wasm; then
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
[target.wasm32-unknown-unknown]
|
||||
linker = "$(usex system-llvm lld rust-lld)"
|
||||
# wasm target does not have profiler_builtins https://bugs.gentoo.org/848483
|
||||
profiler = false
|
||||
_EOF_
|
||||
fi
|
||||
|
||||
if [[ -n ${I_KNOW_WHAT_I_AM_DOING_CROSS} ]]; then # whitespace intentionally shifted below
|
||||
# experimental cross support
|
||||
# discussion: https://bugs.gentoo.org/679878
|
||||
# TODO: c*flags, clang, system-llvm, cargo.eclass target support
|
||||
# it would be much better if we could split out stdlib
|
||||
# complilation to separate ebuild and abuse CATEGORY to
|
||||
# just install to /usr/lib/rustlib/<target>
|
||||
|
||||
# extra targets defined as a bash array
|
||||
# spec format: <LLVM target>:<rust-target>:<CTARGET>
|
||||
# best place would be /etc/portage/env/dev-lang/rust
|
||||
# Example:
|
||||
# RUST_CROSS_TARGETS=(
|
||||
# "AArch64:aarch64-unknown-linux-gnu:aarch64-unknown-linux-gnu"
|
||||
# )
|
||||
# no extra hand holding is done, no target transformations, all
|
||||
# values are passed as-is with just basic checks, so it's up to user to supply correct values
|
||||
# valid rust targets can be obtained with
|
||||
# rustc --print target-list
|
||||
# matching cross toolchain has to be installed
|
||||
# matching LLVM_TARGET has to be enabled for both rust and llvm (if using system one)
|
||||
# only gcc toolchains installed with crossdev are checked for now.
|
||||
|
||||
# BUG: we can't pass host flags to cross compiler, so just filter for now
|
||||
# BUG: this should be more fine-grained.
|
||||
filter-flags '-mcpu=*' '-march=*' '-mtune=*'
|
||||
|
||||
local cross_target_spec
|
||||
for cross_target_spec in "${RUST_CROSS_TARGETS[@]}";do
|
||||
# extracts first element form <LLVM target>:<rust-target>:<CTARGET>
|
||||
local cross_llvm_target="${cross_target_spec%%:*}"
|
||||
# extracts toolchain triples, <rust-target>:<CTARGET>
|
||||
local cross_triples="${cross_target_spec#*:}"
|
||||
# extracts first element after before : separator
|
||||
local cross_rust_target="${cross_triples%%:*}"
|
||||
# extracts last element after : separator
|
||||
local cross_toolchain="${cross_triples##*:}"
|
||||
use llvm_targets_${cross_llvm_target} || die "need llvm_targets_${cross_llvm_target} target enabled"
|
||||
command -v ${cross_toolchain}-gcc > /dev/null 2>&1 || die "need ${cross_toolchain} cross toolchain"
|
||||
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
[target.${cross_rust_target}]
|
||||
ar = "${cross_toolchain}-ar"
|
||||
cc = "${cross_toolchain}-gcc"
|
||||
cxx = "${cross_toolchain}-g++"
|
||||
linker = "${cross_toolchain}-gcc"
|
||||
ranlib = "${cross_toolchain}-ranlib"
|
||||
_EOF_
|
||||
if use system-llvm; then
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
llvm-config = "$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
|
||||
_EOF_
|
||||
fi
|
||||
if [[ "${cross_toolchain}" == *-musl* ]]; then
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
musl-root = "$(${cross_toolchain}-gcc -print-sysroot)/usr"
|
||||
_EOF_
|
||||
fi
|
||||
|
||||
# append cross target to "normal" target list
|
||||
# example 'target = ["powerpc64le-unknown-linux-gnu"]'
|
||||
# becomes 'target = ["powerpc64le-unknown-linux-gnu","aarch64-unknown-linux-gnu"]'
|
||||
|
||||
rust_targets="${rust_targets},\"${cross_rust_target}\""
|
||||
sed -i "/^target = \[/ s#\[.*\]#\[${rust_targets}\]#" config.toml || die
|
||||
|
||||
ewarn
|
||||
ewarn "Enabled ${cross_rust_target} rust target"
|
||||
ewarn "Using ${cross_toolchain} cross toolchain"
|
||||
ewarn
|
||||
if ! has_version -b 'sys-devel/binutils[multitarget]' ; then
|
||||
ewarn "'sys-devel/binutils[multitarget]' is not installed"
|
||||
ewarn "'strip' will be unable to strip cross libraries"
|
||||
ewarn "cross targets will be installed with full debug information"
|
||||
ewarn "enable 'multitarget' USE flag for binutils to be able to strip object files"
|
||||
ewarn
|
||||
ewarn "Alternatively llvm-strip can be used, it supports stripping any target"
|
||||
ewarn "define STRIP=\"llvm-strip\" to use it (experimental)"
|
||||
ewarn
|
||||
fi
|
||||
done
|
||||
fi # I_KNOW_WHAT_I_AM_DOING_CROSS
|
||||
|
||||
einfo "Rust configured with the following flags:"
|
||||
echo
|
||||
echo RUSTFLAGS="\"${RUSTFLAGS}\""
|
||||
echo RUSTFLAGS_BOOTSTRAP="\"${RUSTFLAGS_BOOTSTRAP}\""
|
||||
echo RUSTFLAGS_NOT_BOOTSTRAP="\"${RUSTFLAGS_NOT_BOOTSTRAP}\""
|
||||
echo MAGIC_EXTRA_RUSTFLAGS="\"${MAGIC_EXTRA_RUSTFLAGS}\""
|
||||
env | grep "CARGO_TARGET_.*_RUSTFLAGS="
|
||||
env | grep "CFLAGS_.*"
|
||||
echo
|
||||
einfo "config.toml contents:"
|
||||
cat "${S}"/config.toml || die
|
||||
echo
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# https://rustc-dev-guide.rust-lang.org/tests/intro.html
|
||||
|
||||
# those are basic and codegen tests.
|
||||
local tests=(
|
||||
codegen
|
||||
codegen-units
|
||||
compile-fail
|
||||
incremental
|
||||
mir-opt
|
||||
pretty
|
||||
run-make
|
||||
)
|
||||
|
||||
# fails if llvm is not built with ALL targets.
|
||||
# and known to fail with system llvm sometimes.
|
||||
use system-llvm || tests+=( assembly )
|
||||
|
||||
# fragile/expensive/less important tests
|
||||
# or tests that require extra builds
|
||||
# TODO: instead of skipping, just make some nonfatal.
|
||||
if [[ ${ERUST_RUN_EXTRA_TESTS:-no} != no ]]; then
|
||||
tests+=(
|
||||
rustdoc
|
||||
rustdoc-js
|
||||
rustdoc-js-std
|
||||
rustdoc-ui
|
||||
run-make-fulldeps
|
||||
ui
|
||||
ui-fulldeps
|
||||
)
|
||||
fi
|
||||
|
||||
local i failed=()
|
||||
einfo "rust_src_test: enabled tests ${tests[@]/#/src/test/}"
|
||||
for i in "${tests[@]}"; do
|
||||
local t="src/test/${i}"
|
||||
einfo "rust_src_test: running ${t}"
|
||||
if ! RUST_BACKTRACE=1 "${EPYTHON}" ./x.py test -vv --config="${S}"/config.toml \
|
||||
-j$(makeopts_jobs) --no-doc --no-fail-fast "${t}"
|
||||
then
|
||||
failed+=( "${t}" )
|
||||
eerror "rust_src_test: ${t} failed"
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ ${#failed[@]} -ne 0 ]]; then
|
||||
eerror "rust_src_test: failure summary: ${failed[@]}"
|
||||
die "aborting due to test failures"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" "${EPYTHON}" ./x.py install -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die
|
||||
|
||||
# bug #689562, #689160
|
||||
rm -v "${ED}/usr/lib/${PN}/${PV}/etc/bash_completion.d/cargo" || die
|
||||
rmdir -v "${ED}/usr/lib/${PN}/${PV}"/etc{/bash_completion.d,} || die
|
||||
newbashcomp src/tools/cargo/src/etc/cargo.bashcomp.sh cargo
|
||||
|
||||
local symlinks=(
|
||||
cargo
|
||||
rustc
|
||||
rustdoc
|
||||
rust-gdb
|
||||
rust-gdbgui
|
||||
rust-lldb
|
||||
)
|
||||
|
||||
use clippy && symlinks+=( clippy-driver cargo-clippy )
|
||||
use miri && symlinks+=( miri cargo-miri )
|
||||
use profiler && symlinks+=( rust-demangler )
|
||||
use rustfmt && symlinks+=( rustfmt cargo-fmt )
|
||||
use rust-analyzer && symlinks+=( rust-analyzer )
|
||||
|
||||
einfo "installing eselect-rust symlinks and paths: ${symlinks[@]}"
|
||||
local i
|
||||
for i in "${symlinks[@]}"; do
|
||||
# we need realpath on /usr/bin/* symlink return version-appended binary path.
|
||||
# so /usr/bin/rustc should point to /usr/lib/rust/<ver>/bin/rustc-<ver>
|
||||
# need to fix eselect-rust to remove this hack.
|
||||
local ver_i="${i}-${PV}"
|
||||
if [[ -f "${ED}/usr/lib/${PN}/${PV}/bin/${i}" ]]; then
|
||||
einfo "Installing ${i} symlink"
|
||||
ln -v "${ED}/usr/lib/${PN}/${PV}/bin/${i}" "${ED}/usr/lib/${PN}/${PV}/bin/${ver_i}" || die
|
||||
else
|
||||
ewarn "${i} symlink requested, but source file not found"
|
||||
ewarn "please report this"
|
||||
fi
|
||||
dosym "../lib/${PN}/${PV}/bin/${ver_i}" "/usr/bin/${ver_i}"
|
||||
done
|
||||
|
||||
# symlinks to switch components to active rust in eselect
|
||||
dosym "${PV}/lib" "/usr/lib/${PN}/lib-${PV}"
|
||||
dosym "${PV}/libexec" "/usr/lib/${PN}/libexec-${PV}"
|
||||
dosym "${PV}/share/man" "/usr/lib/${PN}/man-${PV}"
|
||||
dosym "rust/${PV}/lib/rustlib" "/usr/lib/rustlib-${PV}"
|
||||
dosym "../../lib/${PN}/${PV}/share/doc/rust" "/usr/share/doc/${P}"
|
||||
|
||||
newenvd - "50${P}" <<-_EOF_
|
||||
LDPATH="${EPREFIX}/usr/lib/rust/lib"
|
||||
MANPATH="${EPREFIX}/usr/lib/rust/man"
|
||||
_EOF_
|
||||
|
||||
rm -rf "${ED}/usr/lib/${PN}/${PV}"/*.old || die
|
||||
rm -rf "${ED}/usr/lib/${PN}/${PV}/doc"/*.old || die
|
||||
|
||||
# note: eselect-rust adds EROOT to all paths below
|
||||
cat <<-_EOF_ > "${T}/provider-${P}"
|
||||
/usr/bin/cargo
|
||||
/usr/bin/rustdoc
|
||||
/usr/bin/rust-gdb
|
||||
/usr/bin/rust-gdbgui
|
||||
/usr/bin/rust-lldb
|
||||
/usr/lib/rustlib
|
||||
/usr/lib/rust/lib
|
||||
/usr/lib/rust/libexec
|
||||
/usr/lib/rust/man
|
||||
/usr/share/doc/rust
|
||||
_EOF_
|
||||
|
||||
if use clippy; then
|
||||
echo /usr/bin/clippy-driver >> "${T}/provider-${P}"
|
||||
echo /usr/bin/cargo-clippy >> "${T}/provider-${P}"
|
||||
fi
|
||||
if use miri; then
|
||||
echo /usr/bin/miri >> "${T}/provider-${P}"
|
||||
echo /usr/bin/cargo-miri >> "${T}/provider-${P}"
|
||||
fi
|
||||
if use profiler; then
|
||||
echo /usr/bin/rust-demangler >> "${T}/provider-${P}"
|
||||
fi
|
||||
if use rustfmt; then
|
||||
echo /usr/bin/rustfmt >> "${T}/provider-${P}"
|
||||
echo /usr/bin/cargo-fmt >> "${T}/provider-${P}"
|
||||
fi
|
||||
if use rust-analyzer; then
|
||||
echo /usr/bin/rust-analyzer >> "${T}/provider-${P}"
|
||||
fi
|
||||
|
||||
insinto /etc/env.d/rust
|
||||
doins "${T}/provider-${P}"
|
||||
|
||||
if use dist; then
|
||||
insinto "/usr/lib/${PN}/${PV}/dist"
|
||||
doins -r "${S}/build/dist/."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect rust update
|
||||
|
||||
if has_version sys-devel/gdb || has_version dev-util/lldb; then
|
||||
elog "Rust installs a helper script for calling GDB and LLDB,"
|
||||
elog "for your convenience it is installed under /usr/bin/rust-{gdb,lldb}-${PV}."
|
||||
fi
|
||||
|
||||
if has_version app-editors/emacs; then
|
||||
elog "install app-emacs/rust-mode to get emacs support for rust."
|
||||
fi
|
||||
|
||||
if has_version app-editors/gvim || has_version app-editors/vim; then
|
||||
elog "install app-vim/rust-vim to get vim support for rust."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rust cleanup
|
||||
}
|
@ -1,9 +1,7 @@
|
||||
DIST typescript-4.9.5.tgz 11620433 BLAKE2B c253379a4aadd3fe16c93f27c5b450e5965c4c4de6841737c3489c74baa2cf8f8f5d9ca0414b5519e26eaac1db058e3826a3aa504bb450a89d36dce7e21b5f99 SHA512 d455e4f44d879be433650ef3f8c7098872f8356d45d84cccbbd36af62df301a1aa89b69fa98c02554e96c9602ec90451cce971a2ef31652c972c437ca0a8f6e2
|
||||
DIST typescript-5.0.2.tgz 7050986 BLAKE2B 6f9a187eb6f87971540469f6b212ce25e04b6ee22b8aab0d86857e99feed1ed10603b6367a9d4d0ac448669225b228d233995bae6391aeb1df75374c70b3f757 SHA512 c1539130118efc502cffef9b94635e01575b34ab48875adb04bd84c90d7e27d942949f772a288a7bc3e614855d5e11dccafe3848bf6882599f792b27768d2347
|
||||
DIST typescript-5.0.3.tgz 7051270 BLAKE2B 6879f0b4ed07e23dbd7e050c2740100af922ddd09f2989171d46408516026d3eaf548c90286d0bfc0606edeba9e40a39381042130011b029250c5b87efa60f7d SHA512 c6ff263840e78a06ffb4df4f48c4f0484a809d4be4a1731096270e6f421454305240280149a00044e519632d88714cb9a94e976a32b98e38ceed3316a814ca64
|
||||
DIST typescript-5.0.4.tgz 7051452 BLAKE2B ed08425d8324a910f2d328fb02f27e08f75334fb190d1c4625452d076d615726d0e852da06f0f25146a4b02c6c99cd569bbcf7c50f5d6ff32c88a40101a59656 SHA512 716f53e56f71637edc73e8df127694bd7f757e8c6d1e4cdadcdc37c24a05e2c4a52a7d0c38d7647449dd8a0fea3c15973649a9961dcdcdac90cc2887338fe1ab
|
||||
DIST typescript-5.1.3.tgz 7147721 BLAKE2B 5a18d18bcbe702c82a108624c189e6b03d72f74e16ccf6af2448c71c1decfcc7995b53524472e106c19ef01ec95df772ccfeed3e76fad1eb59f29bbe42668fb0 SHA512 5c7eb6ec4f6f91eaa1959150b8bf94b3201712789b4f491647615638d96be2c4e3bf1c89627c9e7e0ae4c8408bccce4d7a798acd1032dab47f3a560b0351e467
|
||||
EBUILD typescript-4.9.5.ebuild 823 BLAKE2B a3777280718dabb4c3cb85f24dd59af91eb2278f8720c1e00335a4ea12a2f5f5da823424cd7b2737ef460a3ff8492fca5e48e052bfb74ac1b87e5c3656d2c9af SHA512 e0eb4afa9fb0f1517987c08815f94dfeaf3e51c55acb3e362a3674f710883d562765dc461442cdcfbb4d25735ec6d70a4b7ae7f01998c19acacac9e68ed291aa
|
||||
EBUILD typescript-5.0.2.ebuild 823 BLAKE2B a3777280718dabb4c3cb85f24dd59af91eb2278f8720c1e00335a4ea12a2f5f5da823424cd7b2737ef460a3ff8492fca5e48e052bfb74ac1b87e5c3656d2c9af SHA512 e0eb4afa9fb0f1517987c08815f94dfeaf3e51c55acb3e362a3674f710883d562765dc461442cdcfbb4d25735ec6d70a4b7ae7f01998c19acacac9e68ed291aa
|
||||
EBUILD typescript-5.0.3.ebuild 823 BLAKE2B a3777280718dabb4c3cb85f24dd59af91eb2278f8720c1e00335a4ea12a2f5f5da823424cd7b2737ef460a3ff8492fca5e48e052bfb74ac1b87e5c3656d2c9af SHA512 e0eb4afa9fb0f1517987c08815f94dfeaf3e51c55acb3e362a3674f710883d562765dc461442cdcfbb4d25735ec6d70a4b7ae7f01998c19acacac9e68ed291aa
|
||||
EBUILD typescript-5.0.4.ebuild 823 BLAKE2B a3777280718dabb4c3cb85f24dd59af91eb2278f8720c1e00335a4ea12a2f5f5da823424cd7b2737ef460a3ff8492fca5e48e052bfb74ac1b87e5c3656d2c9af SHA512 e0eb4afa9fb0f1517987c08815f94dfeaf3e51c55acb3e362a3674f710883d562765dc461442cdcfbb4d25735ec6d70a4b7ae7f01998c19acacac9e68ed291aa
|
||||
EBUILD typescript-5.1.3.ebuild 824 BLAKE2B d82c95a8140e984bcaf32e8dafecff16f1a604fe7f56dbe1a5e91ec82f586060802ab6bffa8542ce4ac13b3fd35e79f46d24361985d570499ef43c0e19bc5855 SHA512 d35d657c16d34513f8f6622470514f0a7c9dbcca3e247496f7879de69d044825558eb8f034c2fe15dae6e39d5e297f9b0d6da4558cf12b3920286412bd9f353b
|
||||
MISC metadata.xml 733 BLAKE2B 903d85acefa054dd979ac181106cd604c351e4b81e18be7ad0f370501864f6789895244a797ec20041158d8c716907a06fa75c2ba4ea192e798719bbe73b1d45 SHA512 95806f8f442b0246867f0ba0ed70c093dfd772a558ae499be7e22bfe99cb3bc54debc7479ca9b4ac81a54156d3b8745cbb448e412f31ed2d5c43f76cbc642d72
|
||||
|
@ -1,39 +0,0 @@
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Superset of JavaScript with optional static typing, classes and interfaces"
|
||||
HOMEPAGE="https://www.typescriptlang.org/
|
||||
https://github.com/microsoft/TypeScript/"
|
||||
SRC_URI="https://registry.npmjs.org/${PN}/-/${P}.tgz"
|
||||
S="${WORKDIR}"/package
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~ppc64"
|
||||
|
||||
RDEPEND="net-libs/nodejs"
|
||||
BDEPEND=">=net-libs/nodejs-16[npm]"
|
||||
|
||||
src_compile() {
|
||||
# Skip, nothing to compile here.
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myopts=(
|
||||
--audit false
|
||||
--color false
|
||||
--foreground-scripts
|
||||
--global
|
||||
--offline
|
||||
--omit dev
|
||||
--prefix "${ED}"/usr
|
||||
--progress false
|
||||
--verbose
|
||||
)
|
||||
npm ${myopts[@]} install "${DISTDIR}"/${P}.tgz || die "npm install failed"
|
||||
|
||||
dodoc *.md *.txt
|
||||
}
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
AUX json-parser-1.1.0-pkgconfig-libdir.patch 844 BLAKE2B 991a915cff64a9a3fd1fbeea36e9a6389272e70d04b25419650b8eaeb7ef13cd568d171a60817dbda4b51f6cfafebc18637ba9adcac8998d2b35a552e8183a53 SHA512 ee83f9b29d81de6fe313055ee53a3e9f9ab20a9fef46b42c155bda78abd687bdf4e834c9dc9c9ca8b76c1556217a9cbdda89b604efe75e7d9c7ba6ec7a1abf8b
|
||||
DIST json-parser-1.1.0_p20211208.tar.gz 51479 BLAKE2B 31ce7929c1de829e312dfc855365d8851ad7c2ce31379d3ab4b4937291e2ec367c7692ecb11b781d0647e5dc38008e4e7bd122d9edaafd1c393a1cbf765117b9 SHA512 cbe6690a70ada1906b2c208fcbe03fe5a14651660ece9ba933a3160ea027c6dd9507189e1c63052059c3a00b2e2a59dbc65fa668a287455d438aa4453eecf22f
|
||||
EBUILD json-parser-1.1.0_p20211208.ebuild 1604 BLAKE2B 7563836f2e9dc9c6fb14aa426680adc4e0baf6f402197c5fcd68ca0bc38aa68352d17cc90cc3b942d938e5c379ce85f21ee35e8307ad5d0693d708b625bd7544 SHA512 ceeb157276b0e4c3d726414119415dc1d5ec267fe0449db450e20692f0ff485e4cda36327339d1dee15805e174d86f9a6f39302462309b6746f14f177d17b62a
|
||||
EBUILD json-parser-1.1.0_p20211208.ebuild 1606 BLAKE2B 7050f29d8c0a0f40b4f06aa7a1a44d9cec1b03771c7cc36ec859ac89af17db737619a8849cea74d5a68ffb9ebcac40f210e822d2ecb7afc0a9f4a51e5ee3a5fb SHA512 2ba216ab01b4c0e6a902f976a9d3607bcb9a8a31cb96b8feae483b5a3aba2814e5697cc8600df1a4cf8a89791e2b37a26a9886b1b748bb6057d7a2ce8b95c1d7
|
||||
MISC metadata.xml 479 BLAKE2B 8bc63ea5aaacf718ff53ee6ff554a9037ab7344b4bca7bbe3348ac4206a1d76352bcc534c009232c7323ffe53fb65d68b09b9ed773320d59c01456e29c705865 SHA512 8907f69489f48488198a92960b262769c6f85f40bb6acf11860835544fff644346778c2da17a374e1ff43028a2913e76ac133e1ed9816b5f68bee0acb4693055
|
||||
|
@ -1,6 +1,6 @@
|
||||
DIST libevdev-1.13.0.tar.xz 451328 BLAKE2B 07b15bf46ca3b01d9a93da8d93fd60b2f1eb95961f0f202a321030e145528453375f1e4fa3458adac3f3346cc26642538251b35002f18f9802799e4732d39f3e SHA512 f30f14c44ef4d4829625aa4c28f10555f333905486f9d39c18cd3ca35e87128a0c24c1bc18ca37b6bf98bc8f7fad27e1bc68678a58e6e6fff3b8d99502ac6905
|
||||
DIST libevdev-1.13.1.tar.xz 455484 BLAKE2B 063eefeebebf5253ce23666e31d67d7268ad97e09f84e0e3a02b1024a92f68e1a4f1fc2508304abf49ab05dba4961b49463b640a18c79ea38ca0c5a9d8bf3e9c SHA512 9b75bad4bc13948854c8dff7a7a46aca6c06d1410ccb000f881bf76055ccac040595c3b24fb1a574be875b5c262eb86820b9ec3383752641bc2047135e5a412f
|
||||
EBUILD libevdev-1.13.0.ebuild 1124 BLAKE2B 17d7be78ccb0f885501f55b32aad6574bf1dda16424275376e7246e9b6ddd19e75387b74b458d37ae88658377c52aa6b14364a90793ea469fada6ed0f0262de9 SHA512 925913cbbc26c5c722e9f2c5b4f2107eceacde993886b1d2eaef012c15ccffafaca9c232588dce21d5ef92f9f315a3a2eb6bc3115d15e5de84fbfbf5307dace0
|
||||
EBUILD libevdev-1.13.1.ebuild 1126 BLAKE2B 57c9d2a4c78168c76bb99f03c4694d0eb6b3efb7885564e78cb43b44aa2ed0251d2dcb6ceec3c4a9be1df8749917fae8eaf5ff6445283ffcdefefc2dfb367cf9 SHA512 e5b0adfb5ff29fcfca04b95a6ac622a5c6dbb4813b2caa86ba37ef511e260de81857ddac561817c83797911a5b3c466b565d1dfbd146e48f8e7ee87031afb49d
|
||||
EBUILD libevdev-1.13.1.ebuild 1125 BLAKE2B 7e2844fd120b2044f8ec0b7067ba1067f030d0042fec09f71b4aa83d00415abe6709400db49928800db29a1353f27e80de1524b3ee0e19aed478fbc26a581947 SHA512 1fc37dd70017cdff0df34b5e96e632cb37d22e1cda0dcf465593b0044b974c9dce6e613a6364702a21dfae5a698b7916de864c7af956482e2dd090e3de0ead7d
|
||||
EBUILD libevdev-9999.ebuild 1119 BLAKE2B 295419c69004eb24a46df8d67d9814e0a4ff3234c9e7ffd9f2ce5f70605e6bb20005bea054d6d2424f2bc8d6356db29a583db4cd24ec253f85c58a4453c50f3f SHA512 024c58a71e49f593c638de8ad36c9cdf7004f4d90360990d1fb64847478bb8d3fdd68c0648a77d2e32b9b224dcad218c899a5c9541037918c80c6d0bca27adde
|
||||
MISC metadata.xml 339 BLAKE2B 17485a5a6202c366cf975f0c34aeb9521d5190f2ada003bdcae8c3e561740b3b43809b177baa2cab87de46e2f234b48df5bfa6c8df5dc2674f95e6206f0e4398 SHA512 26ff955c224a24cd58bf4eed14d99a0b7cf1b078e0d93bbd115a9193656180f112cb0f27bc6d35b2ff2e062a58775fc4b4310d6ffeee322b39963143f079b3b8
|
||||
|
@ -1,90 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/vincentlefevre.asc
|
||||
inherit multilib-minimal verify-sig
|
||||
|
||||
# Upstream distribute patches before a new release is made
|
||||
# See https://www.mpfr.org/mpfr-current/#bugs for the latest version (and patches)
|
||||
|
||||
# Check whether any patches touch e.g. manuals!
|
||||
# https://archives.gentoo.org/gentoo-releng-autobuilds/message/c2dd39fc4ebc849db6bb0f551739e2ed
|
||||
MY_PV=${PV%%_p*}
|
||||
MY_PATCH=$(ver_cut 5-)
|
||||
MY_PATCHES=()
|
||||
MY_P=${PN}-${MY_PV/_/-}
|
||||
|
||||
DESCRIPTION="Library for multiple-precision floating-point computations with exact rounding"
|
||||
HOMEPAGE="https://www.mpfr.org/ https://gitlab.inria.fr/mpfr"
|
||||
SRC_URI="https://www.mpfr.org/${PN}-$(ver_cut 1-3)/${MY_P}.tar.xz"
|
||||
SRC_URI+=" verify-sig? ( https://www.mpfr.org/${PN}-$(ver_cut 1-3)/${MY_P}.tar.xz.asc )"
|
||||
|
||||
if [[ ${PV} == *_p* ]] ; then
|
||||
# If this is a patch release, we have to download each of the patches:
|
||||
# -_pN = N patches
|
||||
# - patch file names are like: patch01, patch02, ..., patch10, patch12, ..
|
||||
#
|
||||
# => name the ebuild _pN where N is the number of patches on the 'bugs' page.
|
||||
for ((my_patch_index=1; my_patch_index <= MY_PATCH; my_patch_index++)); do
|
||||
SRC_URI+=" $(printf "https://www.mpfr.org/${PN}-$(ver_cut 1-3)/patch%02d -> ${PN}-$(ver_cut 1-3)-patch%02d.patch " ${my_patch_index}{,})"
|
||||
MY_PATCHES+=( "${DISTDIR}"/$(printf ${PN}-$(ver_cut 1-3)-patch%02d.patch ${my_patch_index}) )
|
||||
done
|
||||
unset my_patch_index
|
||||
fi
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
# This is a critical package; if SONAME changes, bump subslot but also add
|
||||
# preserve-libs.eclass usage to pkg_*inst! See e.g. the readline ebuild.
|
||||
SLOT="0/6" # libmpfr.so version
|
||||
if [[ ${PV} != *_rc* ]] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
fi
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/gmp-5.0.0:=[${MULTILIB_USEDEP},static-libs?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-vincentlefevre )"
|
||||
|
||||
PATCHES=(
|
||||
# Apply the upstream patches released out-of-band; generated above
|
||||
"${MY_PATCHES[@]}"
|
||||
|
||||
# Additional patches
|
||||
)
|
||||
|
||||
HTML_DOCS=( doc/FAQ.html )
|
||||
|
||||
src_unpack() {
|
||||
use verify-sig && verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc}
|
||||
|
||||
# Avoid src_unpack noise from patches
|
||||
unpack ${MY_P}.tar.xz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# 4.1.0_p13's patch10 patches a .texi file *and* the corresponding
|
||||
# info file. We need to make sure the info file is newer, so the
|
||||
# build doesn't try to run makeinfo. Won't be needed on next release.
|
||||
#touch "${S}/doc/mpfr.info" || die
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# bug #476336#19
|
||||
# Make sure mpfr doesn't go probing toolchains it shouldn't
|
||||
ECONF_SOURCE="${S}" \
|
||||
user_redefine_cc=yes \
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
rm "${ED}"/usr/share/doc/${PF}/COPYING* || die
|
||||
|
||||
if ! use static-libs ; then
|
||||
find "${ED}"/usr -name '*.la' -delete || die
|
||||
fi
|
||||
}
|
@ -1,90 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/vincentlefevre.asc
|
||||
inherit multilib-minimal verify-sig
|
||||
|
||||
# Upstream distribute patches before a new release is made
|
||||
# See https://www.mpfr.org/mpfr-current/#bugs for the latest version (and patches)
|
||||
|
||||
# Check whether any patches touch e.g. manuals!
|
||||
# https://archives.gentoo.org/gentoo-releng-autobuilds/message/c2dd39fc4ebc849db6bb0f551739e2ed
|
||||
MY_PV=${PV%%_p*}
|
||||
MY_PATCH=$(ver_cut 5-)
|
||||
MY_PATCHES=()
|
||||
MY_P=${PN}-${MY_PV/_/-}
|
||||
|
||||
DESCRIPTION="Library for multiple-precision floating-point computations with exact rounding"
|
||||
HOMEPAGE="https://www.mpfr.org/ https://gitlab.inria.fr/mpfr"
|
||||
SRC_URI="https://www.mpfr.org/${PN}-$(ver_cut 1-3)/${MY_P}.tar.xz"
|
||||
SRC_URI+=" verify-sig? ( https://www.mpfr.org/${PN}-$(ver_cut 1-3)/${MY_P}.tar.xz.asc )"
|
||||
|
||||
if [[ ${PV} == *_p* ]] ; then
|
||||
# If this is a patch release, we have to download each of the patches:
|
||||
# -_pN = N patches
|
||||
# - patch file names are like: patch01, patch02, ..., patch10, patch12, ..
|
||||
#
|
||||
# => name the ebuild _pN where N is the number of patches on the 'bugs' page.
|
||||
for ((my_patch_index=1; my_patch_index <= MY_PATCH; my_patch_index++)); do
|
||||
SRC_URI+=" $(printf "https://www.mpfr.org/${PN}-$(ver_cut 1-3)/patch%02d -> ${PN}-$(ver_cut 1-3)-patch%02d.patch " ${my_patch_index}{,})"
|
||||
MY_PATCHES+=( "${DISTDIR}"/$(printf ${PN}-$(ver_cut 1-3)-patch%02d.patch ${my_patch_index}) )
|
||||
done
|
||||
unset my_patch_index
|
||||
fi
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
# This is a critical package; if SONAME changes, bump subslot but also add
|
||||
# preserve-libs.eclass usage to pkg_*inst! See e.g. the readline ebuild.
|
||||
SLOT="0/6" # libmpfr.so version
|
||||
if [[ ${PV} != *_rc* ]] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
fi
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/gmp-5.0.0:=[${MULTILIB_USEDEP},static-libs?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-vincentlefevre )"
|
||||
|
||||
PATCHES=(
|
||||
# Apply the upstream patches released out-of-band; generated above
|
||||
"${MY_PATCHES[@]}"
|
||||
|
||||
# Additional patches
|
||||
)
|
||||
|
||||
HTML_DOCS=( doc/FAQ.html )
|
||||
|
||||
src_unpack() {
|
||||
use verify-sig && verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc}
|
||||
|
||||
# Avoid src_unpack noise from patches
|
||||
unpack ${MY_P}.tar.xz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# 4.1.0_p13's patch10 patches a .texi file *and* the corresponding
|
||||
# info file. We need to make sure the info file is newer, so the
|
||||
# build doesn't try to run makeinfo. Won't be needed on next release.
|
||||
#touch "${S}/doc/mpfr.info" || die
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# bug #476336#19
|
||||
# Make sure mpfr doesn't go probing toolchains it shouldn't
|
||||
ECONF_SOURCE="${S}" \
|
||||
user_redefine_cc=yes \
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
rm "${ED}"/usr/share/doc/${PF}/COPYING* || die
|
||||
|
||||
if ! use static-libs ; then
|
||||
find "${ED}"/usr -name '*.la' -delete || die
|
||||
fi
|
||||
}
|
@ -1,7 +1,10 @@
|
||||
DIST nettle-3.8.1.tar.gz 2406251 BLAKE2B 22b4ec81645b579504356597ba87b637e46285682020c90e03ecaea386ac9b48eaf91ee76ae3b86b6060be355de20c320ab3b74958074ad23fc08ad9ab6a4cbb SHA512 a405da3438d185d96917b03b00abb9ab43e04f58f770f657f716c25d64bb258ee170a71328e74736caa7121f50c0c89d3cc840c1201d2a92cfaf1357d24bdc6a
|
||||
DIST nettle-3.8.1.tar.gz.sig 374 BLAKE2B e2bfce4aaa1be114fb9bf8724f25db75c69c3b98538df46e9b1428ce615f7db3b9e9f9240d232fddac195db4568439b3f58989c20beca82aa6db79f4956db547 SHA512 978304b1faa5adc3b0d6ea7e9597af6154ad5d6e328913ac19184ece94771fdb2a7d5ce0af535ae8d28cb6ccd94fb3d4ef2613c0356df9e08b5d4c26ea646e09
|
||||
DIST nettle-3.9.1.tar.gz 2396741 BLAKE2B e3ceaefa19491e58f26b900beaf8b4e746feb2357c7677f5c050f257f4a23c304773446b6283a42a82cf9640e16522b8a71c47f137759f1df23cdeee4625d142 SHA512 5939c4b43cf9ff6c6272245b85f123c81f8f4e37089fa4f39a00a570016d837f6e706a33226e4bbfc531b02a55b2756ff312461225ed88de338a73069e031ced
|
||||
DIST nettle-3.9.1.tar.gz.sig 374 BLAKE2B 41c37cc0ea649445c7e4bbe2d0e9ab1c6f7bb50000adef2c2ee4828e7efdd2d7c6d823d64209f251cb7d82ce85e73768430a435ee7f1d5a3732e744987918d0c SHA512 fe6f4c9746e7dbc10f61843673de95d2faea209b1caea5c7bf69b81d3f6b2248a4907012b2baf0d65e54682f835cff465482db37615b789017ce0a9e7e267d7d
|
||||
DIST nettle-3.9.tar.gz 2393838 BLAKE2B 80885fa380de58765155a5d4b209e524f4bd0336156ba6f5189702007438998094df0e4e801370fd0a74251b8cf91f46638b0c0139388c2c2098b1207ed3415c SHA512 5e44f59b37ec1e92345fce0b963151d1f2aabf01b3a197b8d931067c51af4ba025059c6a07f2bcd19b17eb49d6ede98f5c200e58d340959826cda473459d2fba
|
||||
DIST nettle-3.9.tar.gz.sig 374 BLAKE2B 4fb9fbdafd01712db2506e070a64b6821dcc0c3ff3cea83011662ee4cdd5120ed10c6fa7b41d556069fe2d8827a312e94bb3586be845284fa7a7ac75f000a750 SHA512 8cf060e9f8e0dc0a70a7d324cf2366e0fc990fca2d8a1c677e66382f6853f96146fe30ea9b8629030991f4799430c7660ae7867c94167760bb945abb526b5bda
|
||||
EBUILD nettle-3.8.1.ebuild 2591 BLAKE2B 7cfe7bf9d70efc42e30ceb926eba73063bfd90fef314dc895d82c359e430e0370878600487d0db9e5983edb76225e327ff8e3c3ebe9256a43b9c4bf39eb71910 SHA512 59701f1a4b9ed85748494b0090b3aff4cc1e61083c3db20697c80bc63cfdec1cf1d9ad62a958abd912b73fa466ee00700f74c03aa44359f9f39fef009f29fe9e
|
||||
EBUILD nettle-3.9.1.ebuild 2743 BLAKE2B ab687d2781a5038d60fbd30c776836da085bf7e66d6f249a0c438e5dc131716ea5d1a19552535fa415b8a328485523f3506bb57d1abd54ade46030152a02623b SHA512 13175b1fba67e67396284339b83974f6b255c972b78c8589f8c286a580d568ecd91b839fa1f800a7adf8bbec21d54f5a459fe6b3d1295122bb836f0fe9bca4ac
|
||||
EBUILD nettle-3.9.ebuild 2743 BLAKE2B ab687d2781a5038d60fbd30c776836da085bf7e66d6f249a0c438e5dc131716ea5d1a19552535fa415b8a328485523f3506bb57d1abd54ade46030152a02623b SHA512 13175b1fba67e67396284339b83974f6b255c972b78c8589f8c286a580d568ecd91b839fa1f800a7adf8bbec21d54f5a459fe6b3d1295122bb836f0fe9bca4ac
|
||||
MISC metadata.xml 514 BLAKE2B 4834f1c438d59a8af0e1c158e09a6d200746575f19ebb03a6ca6c2df5bf6f515ab4fda9efad9db27d7dece6a0cb760119a134a82a313f636a884d976e959c9eb SHA512 5ca3957b9fdc44dae6bb03596ba5aebe92464e5839dcbe5e3fabc83f1b8e76e9572c5bf9dfb16b465248f11007cf1e6b9d8956ea1b817d33aabcf5766ff860fb
|
||||
|
@ -0,0 +1,89 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/nettle.asc
|
||||
inherit multilib-build multilib-minimal toolchain-funcs verify-sig
|
||||
|
||||
DESCRIPTION="Low-level cryptographic library"
|
||||
HOMEPAGE="http://www.lysator.liu.se/~nisse/nettle/"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${P}.tar.gz.sig )"
|
||||
|
||||
LICENSE="|| ( LGPL-3 LGPL-2.1 )"
|
||||
# Subslot = libnettle - libhogweed soname version
|
||||
SLOT="0/8-6"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="+asm doc +gmp static-libs cpu_flags_arm_neon cpu_flags_arm_aes cpu_flags_arm_sha1 cpu_flags_arm_sha2 cpu_flags_ppc_altivec cpu_flags_x86_aes cpu_flags_x86_sha cpu_flags_x86_pclmul"
|
||||
# The arm64 crypto option controls AES, SHA1, and SHA2 usage.
|
||||
REQUIRED_USE="
|
||||
cpu_flags_arm_aes? ( cpu_flags_arm_sha1 cpu_flags_arm_sha2 )
|
||||
cpu_flags_arm_sha1? ( cpu_flags_arm_aes cpu_flags_arm_sha2 )
|
||||
cpu_flags_arm_sha2? ( cpu_flags_arm_aes cpu_flags_arm_sha1 )
|
||||
"
|
||||
|
||||
DEPEND="gmp? ( >=dev-libs/gmp-6.1:=[static-libs?,${MULTILIB_USEDEP}] )"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
sys-devel/m4
|
||||
doc? ( sys-apps/texinfo )
|
||||
verify-sig? ( sec-keys/openpgp-keys-nettle )
|
||||
"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/nettle/version.h
|
||||
)
|
||||
|
||||
DOCS=()
|
||||
HTML_DOCS=()
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# I do not see in config.sub reference to sunldsolaris.
|
||||
# if someone complains readd
|
||||
# -e 's/solaris\*)/sunldsolaris*)/' \
|
||||
sed -e '/CFLAGS=/s: -ggdb3::' \
|
||||
-i configure.ac configure || die
|
||||
|
||||
if use doc ; then
|
||||
DOCS+=( nettle.pdf )
|
||||
HTML_DOCS+=( nettle.html )
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
CC_FOR_BUILD="$(tc-getBUILD_CC)"
|
||||
|
||||
$(tc-is-static-only && echo --disable-shared)
|
||||
|
||||
# Intrinsics
|
||||
$(use_enable cpu_flags_arm_neon arm-neon)
|
||||
$(use_enable cpu_flags_arm_aes arm64-crypto)
|
||||
$(use_enable cpu_flags_ppc_altivec power-altivec)
|
||||
$(use_enable cpu_flags_x86_aes x86-aesni)
|
||||
$(use_enable cpu_flags_x86_sha x86-sha-ni)
|
||||
$(use_enable cpu_flags_x86_pclmul x86-pclmul)
|
||||
# TODO: PPC crypto flag?
|
||||
--disable-power-crypto-ext
|
||||
# TODO: How do we detect this in ebuilds reliably?
|
||||
--disable-power9
|
||||
$([[ ${CHOST} == *-solaris* ]] && echo '--disable-symbol-versions')
|
||||
# TODO: cpu_flags_s390?
|
||||
--disable-s390x-vf
|
||||
--disable-s390x-msa
|
||||
|
||||
$(use_enable asm assembler)
|
||||
$(multilib_native_use_enable doc documentation)
|
||||
$(use_enable gmp public-key)
|
||||
$(use_enable static-libs static)
|
||||
--disable-fat
|
||||
|
||||
# openssl is just used for benchmarks (bug #427526)
|
||||
--disable-openssl
|
||||
)
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
Binary file not shown.
@ -1,9 +1,3 @@
|
||||
DIST dask-2023.4.0.gh.tar.gz 8511473 BLAKE2B 3b6a4e07e0ddc1a40b9494089250e80254b16002c18b091911aa007e1e455f146a192e5f8f9c49b5cf73bc60d942429e1d5ff399516f2b81120ae8f4d79b1dbb SHA512 40071fc3f5597312af28a5c545ebb14d2e2aa3d1a3a0a5d81d335fce3a7a8e7036c900a1caa43f84f76335c469b1bf138f662588f0d015943c4a4bf931c20349
|
||||
DIST dask-2023.4.1.gh.tar.gz 8514681 BLAKE2B 5bdf8e81692f16b16f3c38ac45e309f73bf85b51aa3c2d9edaae36dc1d43b96a91a8f79e5219ea2a380d26f75c0954dec507b5913b74fdfabe691b340656c75f SHA512 e640ec2bb532dd2723db1c51a023b62aba1198a393beea8eec359f47388a2a42e7a0fe20d06f393ba0538b86fe2f6e0d29eb00eada9cf4ca22acc45b80062dc9
|
||||
DIST dask-2023.5.0.gh.tar.gz 8515830 BLAKE2B b703407b238057be5238dce1987b280e6e5a38389091b6c9bd08ee06a042309e69fa20d2f511b35a7c74982fc91115507da3c125c74df16ebfbee97fc1782a77 SHA512 12381da648753e675920c29f2071b962319fa7a653b0f75cf9f5e6cd1319d8c2f9d2cac74de1097b5f162886a46499b90787f16bb22526f5bf6c1e6449f1629a
|
||||
DIST dask-2023.5.1.gh.tar.gz 8523514 BLAKE2B e34c9d44eaa8ab9b0d6af871503f3eefcf7167f8669d11b7348bde8e80a3c2dff99670b90c39f8746d56e5cea1126fd1cad7ace4627e9374ce763ac29c6d8bfd SHA512 603d0deb0e88cc2ae5a5fdbc4352f454e68f836b7c3a9039ec20f9493b2b4c72684bb5981d6e985de5bb32d73fc48d0faa2834c9c56a04277755ea3c8e77fb75
|
||||
EBUILD dask-2023.4.0.ebuild 2209 BLAKE2B b7e26aaec0028c62e9ae28f81a26b2ad89721a5d57e6e78c4a0e31dea44f618f60d725226b939d7b78ee68c56c83c7792bdc337aca183e9965ef6e938be03582 SHA512 eb704079d99d8151263189701334d1ce7d841325ca0cd528c6a3a7f07dcfa1b27b561d18b551d1d4904204b91964d23ca34f617d855f1ed0db40fb8be3addd80
|
||||
EBUILD dask-2023.4.1.ebuild 2330 BLAKE2B 8660ab59bf0e4986d1fe8ca91eff6df5e291ce8cb68a1aea251529c2336aa2df1906f9640cb9f343972c9d6e5066b5ce0b6dc1e3358f42ff215d1449403b30ae SHA512 414e5827b28bf5fa4d9c11e1180957720c22dad014de7d8b7724e60a3cabea0ec2f938de1b31dabb93438524291860cefadb772f03dfbb0b276416b8f8679390
|
||||
EBUILD dask-2023.5.0.ebuild 2330 BLAKE2B 8660ab59bf0e4986d1fe8ca91eff6df5e291ce8cb68a1aea251529c2336aa2df1906f9640cb9f343972c9d6e5066b5ce0b6dc1e3358f42ff215d1449403b30ae SHA512 414e5827b28bf5fa4d9c11e1180957720c22dad014de7d8b7724e60a3cabea0ec2f938de1b31dabb93438524291860cefadb772f03dfbb0b276416b8f8679390
|
||||
EBUILD dask-2023.5.1.ebuild 2330 BLAKE2B 8660ab59bf0e4986d1fe8ca91eff6df5e291ce8cb68a1aea251529c2336aa2df1906f9640cb9f343972c9d6e5066b5ce0b6dc1e3358f42ff215d1449403b30ae SHA512 414e5827b28bf5fa4d9c11e1180957720c22dad014de7d8b7724e60a3cabea0ec2f938de1b31dabb93438524291860cefadb772f03dfbb0b276416b8f8679390
|
||||
EBUILD dask-2023.5.1.ebuild 2329 BLAKE2B 314f492efba58a2eaa9c37b3bfe7b0a2ef933091d211a8edce88e3d5b57aff9af4ff6d11a1c2e84681b6d53d0ca3a4a7600a65cf1e790b6dc37124b9fde32934 SHA512 7b0d89d03eb6ca03a4c26471b08da19ad2c1021ee4e13c4b2ee5b8ccbe1daeb4ccc3c1b794f346cd4a331aeca61f9150d438a81bac1d0463a3973e9a3ce302c0
|
||||
MISC metadata.xml 724 BLAKE2B 9af7553cec2b66228a21f146372d86b8d620048d68f94c1fd09006c8ee7ddaa4e212c2a359b937a5ee37ac23df01e10af0796e8b4cf952237cb4c73a2dff7ca0 SHA512 89b83402c13b06f7adf10cd1cc08b96b90dbc2ca3b5c0c6c422b6e2394e03fd51346306479557c11fcfdbd4a81a574890f2367228ea38531b5f05c02a30b8dcb
|
||||
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Task scheduling and blocked algorithms for parallel processing"
|
||||
HOMEPAGE="
|
||||
https://www.dask.org/
|
||||
https://github.com/dask/dask/
|
||||
https://pypi.org/project/dask/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/dask/dask/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/click-7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/cloudpickle-1.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/fsspec-0.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/importlib-metadata-4.13.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-1.21[${PYTHON_USEDEP}]
|
||||
>=dev-python/pandas-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-20.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/partd-1.2.0[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/toolz-0.8.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/toolz[${PYTHON_USEDEP}]
|
||||
>=dev-python/versioneer-0.28[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/moto[${PYTHON_USEDEP}]
|
||||
dev-python/numexpr[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
|
||||
dev-python/scipy[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# more tests relying on -Werror
|
||||
"dask/array/tests/test_overlap.py::test_map_overlap_no_depth[None]"
|
||||
dask/array/tests/test_random.py::test_RandomState_only_funcs
|
||||
# TODO
|
||||
dask/array/tests/test_reductions.py::test_mean_func_does_not_warn
|
||||
dask/tests/test_config.py::test__get_paths
|
||||
dask/array/tests/test_linalg.py::test_solve_assume_a
|
||||
"dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>0-float-5-1-True]"
|
||||
"dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>1-float-5-1-True]"
|
||||
# require sqlalchemy<2.0
|
||||
dask/dataframe/io/tests/test_sql.py
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# fails with sqlalchemy-2.0, even though we don't use it x_x
|
||||
sed -i -e '/RemovedIn20Warning/d' pyproject.toml || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest -p no:flaky -m "not network"
|
||||
}
|
@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Task scheduling and blocked algorithms for parallel processing"
|
||||
HOMEPAGE="
|
||||
https://www.dask.org/
|
||||
https://github.com/dask/dask/
|
||||
https://pypi.org/project/dask/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/dask/dask/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/click-8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/cloudpickle-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/fsspec-2021.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/importlib-metadata-4.13.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-1.21[${PYTHON_USEDEP}]
|
||||
>=dev-python/pandas-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-20.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/partd-1.2.0[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/toolz-0.10.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/toolz[${PYTHON_USEDEP}]
|
||||
>=dev-python/versioneer-0.28[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/moto[${PYTHON_USEDEP}]
|
||||
dev-python/numexpr[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
|
||||
dev-python/scipy[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# more tests relying on -Werror
|
||||
"dask/array/tests/test_overlap.py::test_map_overlap_no_depth[None]"
|
||||
dask/array/tests/test_random.py::test_RandomState_only_funcs
|
||||
# TODO
|
||||
dask/array/tests/test_reductions.py::test_mean_func_does_not_warn
|
||||
dask/tests/test_config.py::test__get_paths
|
||||
dask/array/tests/test_linalg.py::test_solve_assume_a
|
||||
"dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>0-float-5-1-True]"
|
||||
"dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>1-float-5-1-True]"
|
||||
dask/array/tests/test_image.py::test_preprocess
|
||||
# require sqlalchemy<2.0
|
||||
dask/dataframe/io/tests/test_sql.py
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# fails with sqlalchemy-2.0, even though we don't use it x_x
|
||||
sed -i -e '/RemovedIn20Warning/d' pyproject.toml || die
|
||||
sed -i -e 's:--cov-config=pyproject.toml::' pyproject.toml || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest -p no:flaky -m "not network"
|
||||
}
|
@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Task scheduling and blocked algorithms for parallel processing"
|
||||
HOMEPAGE="
|
||||
https://www.dask.org/
|
||||
https://github.com/dask/dask/
|
||||
https://pypi.org/project/dask/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/dask/dask/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/click-8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/cloudpickle-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/fsspec-2021.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/importlib-metadata-4.13.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-1.21[${PYTHON_USEDEP}]
|
||||
>=dev-python/pandas-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-20.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/partd-1.2.0[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/toolz-0.10.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/toolz[${PYTHON_USEDEP}]
|
||||
>=dev-python/versioneer-0.28[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/moto[${PYTHON_USEDEP}]
|
||||
dev-python/numexpr[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
|
||||
dev-python/scipy[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# more tests relying on -Werror
|
||||
"dask/array/tests/test_overlap.py::test_map_overlap_no_depth[None]"
|
||||
dask/array/tests/test_random.py::test_RandomState_only_funcs
|
||||
# TODO
|
||||
dask/array/tests/test_reductions.py::test_mean_func_does_not_warn
|
||||
dask/tests/test_config.py::test__get_paths
|
||||
dask/array/tests/test_linalg.py::test_solve_assume_a
|
||||
"dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>0-float-5-1-True]"
|
||||
"dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>1-float-5-1-True]"
|
||||
dask/array/tests/test_image.py::test_preprocess
|
||||
# require sqlalchemy<2.0
|
||||
dask/dataframe/io/tests/test_sql.py
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# fails with sqlalchemy-2.0, even though we don't use it x_x
|
||||
sed -i -e '/RemovedIn20Warning/d' pyproject.toml || die
|
||||
sed -i -e 's:--cov-config=pyproject.toml::' pyproject.toml || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest -p no:flaky -m "not network"
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST diff-match-patch-20200713.tar.gz 60711 BLAKE2B 9108557050d0aced61e8073e0bfa1969e780e4350dba86e3cb159760d180b09ff2502e8b0a664370e0586bb0ca280f29cfebb983cddf051f10204e3cd1026d8f SHA512 f161efed3d87dd0693c98ee81aedb3868787f040f8f9f31015f9f1de04d50046be75b2351a65a4c26ae1d194b983dbc1420799cf70e7c25737ee4eb3cc78a183
|
||||
DIST diff-match-patch-20230430.tar.gz 43324 BLAKE2B c13beb380d68cf96af41c124eb23f890c71664624de20780ea586f71b4c52a55ee06ac3427c61c233ebead309fcca02cb75f3447f17b7306c2728ebc5b06f6f8 SHA512 a62d15327de659999e3381215249fb088a9e40368008b91201de3db3d02f22892bbf6d2ac40dc4ea4986d24470dd396eaf69583fabbe9078a5cb1f97bae94000
|
||||
EBUILD diff-match-patch-20200713.ebuild 400 BLAKE2B f820250f4daf9469f7455e1c3afb7205a7bc00825902eb05590845b45f3186e88f9e278b8607edb15cba53fdafd6e4778ef65c0abf9d8efef04b4fb8a77aa07f SHA512 b0b5596798ef46246f7609613b912a14d4537380e2c7f60892736453755fd3ee2f3155192acda6e3c3b29e19a3a158a12974721a378f16dc5c8a04c85d7271b4
|
||||
EBUILD diff-match-patch-20230430.ebuild 495 BLAKE2B 1d13a2a6f603730074d253ee2d7135a999837cfd4c2cd89282048abb33043611a392b7ae555411e116edb5a860f8d46fc752baff6d01a95ca8b6924d215edf30 SHA512 2be9b69d88ba80824894c1b36f3550310da879b299c2213a58d5ac61b1cbcd09dd6ad78cb650bc0cbfa2fff2ad1ca50fff1c83ab2a02f6e3da230c092c764a45
|
||||
EBUILD diff-match-patch-20230430.ebuild 492 BLAKE2B 844d51b41afa03f429d787e9ceea8c5560a5c20669b636b2ccd294e04c0b19f71db6dd29aaedeaa083b382238647797c309f3a45d6bca9838d022cb103e110b1 SHA512 30c64ddcb7867c778ce7afe187d1da0f89af6454b10c839c93250ab19236ca2e9aa2ff707d74ca8455bad489284d335396315551adb87d32539609a8d197698b
|
||||
MISC metadata.xml 1265 BLAKE2B b9cee200ca7d1e918e77f065231d8860293ce280f6b66451609632d777d09f9b241119952805151120a361cc6f09eadac8c3cefe45cd66ae38f807dcff0641cd SHA512 0ccfcac32e5a2f4a3604cf2b97fae2e6a98fdf0b8a426c6c05c1f9818652a9ca4583e4bc4e7c6ba72d7c72b2fc397fbd3863e9f0a65da9f60c4373e4c087ad05
|
||||
|
@ -1,18 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYPI_NO_NORMALIZE=1
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Diff, match and patch algorithms for plain text"
|
||||
HOMEPAGE="https://pypi.org/project/diff-match-patch/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,5 +1,5 @@
|
||||
DIST flatdict-4.0.0.gh.tar.gz 11790 BLAKE2B be8234cc7e4378a2ab54e1676e947a664bde8c62c881ff9ba074e36f21d07bc726311f39acc2c1531ca689b68e398467222b616b2334cd44edc9972345ffde68 SHA512 e1203fb772594ee4b19fb137dbef0c1319ffacda28ffc53532707a03e5c1446d5449114588ef832fa46162a3d710579ed7405943ced65e08fd16bd956ef17ca4
|
||||
DIST flatdict-4.0.1.gh.tar.gz 11923 BLAKE2B 102ebc6220d75219b91ed7494485fa7d1447801d8276fd5e305f838f6b339b72c44151c751a53c32a5ea5b1d4876d9312af229bb8972401a2f86d6488d3f8b4f SHA512 925ad8a53a4848875ff5c0df2c006ea09ff3795861cd0b8d7c26d22511d46d4ad28dee28b3e9e8f896b45c8a1b2c51cc24bce099c38c0b4d2f49174baab4de23
|
||||
EBUILD flatdict-4.0.0.ebuild 503 BLAKE2B d0d7937acc3f718ff76946676beeed8fdecba5f22dc43492249e36b3bdbc64151e33177bca187aed4de61dca15b2a5fa7b9d37bec436d9bba5ab6095be360e11 SHA512 439808beb82181f934b74d030c551050b4af832f1f9a804a669d7005410b7d47819bfa244dc25f9104a1b7843f18db91bc8898d3e790090fd1de39e521b8c90c
|
||||
EBUILD flatdict-4.0.1.ebuild 503 BLAKE2B d0d7937acc3f718ff76946676beeed8fdecba5f22dc43492249e36b3bdbc64151e33177bca187aed4de61dca15b2a5fa7b9d37bec436d9bba5ab6095be360e11 SHA512 439808beb82181f934b74d030c551050b4af832f1f9a804a669d7005410b7d47819bfa244dc25f9104a1b7843f18db91bc8898d3e790090fd1de39e521b8c90c
|
||||
EBUILD flatdict-4.0.1.ebuild 504 BLAKE2B 3be87ae3500d7183ebaa5dee1dd6d5a6756351ec5f9155f32cc9b0f697a3b60410f7eb85b2641c1089d270bc2769e020a1ee71f5330fea29dcd4f4e21086a93c SHA512 a5ea16c96ce3040397a043dc82d8e34886a8dccb924b347d1e6c8ab1b348e17d5aac278e445b328935cdcc3133daee5ce6a3a75c344e6d1c33b539ae11ee0cb9
|
||||
MISC metadata.xml 388 BLAKE2B 53feccfcd5053da7ea732522d64a0a4c3071a7e1e1a9244f58e4ba98dba2acf0ac74aaef255c198d41c9af2cb300e023fac51a51ce116fed75ef44d288cf99a8 SHA512 2ed57cd7c5071b9047c31e4c9a5c6311ec5ae03c398ca29fe7b0ae78069da1e46f2c0fff57a35a9decf5a09041aced5a4145604392d79f268699c0cc8286fcd6
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST jinja2_pluralize-0.3.0.tar.gz 12638 BLAKE2B bb7399d287cf0d1bfed5398c0ad7e6994dfe1d8e942d82190570d0b40d8bec4939d497cb2d9d4415c913f3f3f9c11b017035941755219effa8d92a6ef188dac9 SHA512 8830c01ff82befa353302cadc305147a950038fdf3808632f22dfce9a564a6ba7967781f579a2d94fecb1b5bb01f80d2a53ff082332b94c6e6e3f5f4106e7313
|
||||
EBUILD jinja2_pluralize-0.3.0-r1.ebuild 522 BLAKE2B 50b2d467c6d501b39733f63a3f65f6bd8b01dc68ce2ae4bd7054d1467f00adf752cbbefcd12e1fc2d79ae7ce2b0fe5743331a8ebc83b9391ec68043aae71abed SHA512 89edd64db2877ce8cb4fe21e1a6e1363d95c167b75d9f12510efd700ae329974e572cba7074b3acffb61215814166689ced7ea6259c7c507515b91a049190fad
|
||||
EBUILD jinja2_pluralize-0.3.0-r1.ebuild 523 BLAKE2B 8997575c698082ea790e618277e5efb691bd191ebe37879db4c73a624302eac2cec75ddcd2cfdd1e4296cedb21cd06e2eed4ba6308740036491e7684376eea24 SHA512 99c8e18046b279eb47eb928a78a6d832d7c63d0f9400a48962dddae49082814e2e7124caf4b07b7fb823c33a60f03a0aa7b454e0312b4a5c9cb865274e8061c7
|
||||
MISC metadata.xml 495 BLAKE2B 92432500add47e3e65573cf3d6ce69f97ed5765c16190fb102d77829e34cec938c8e587b39fcc95dee157fa8b8048eae0708147ad79431eb9bc3aa0214b926c0 SHA512 7bd616c66dcd43150b63203ff1b069b216eb721222103df46ddb459ecf521c342820c4dde2d386d2b0621d4c17e64c7c0b8edb9509b87cc032010ced34752252
|
||||
|
@ -1,3 +1,5 @@
|
||||
DIST libtmux-0.21.0.gh.tar.gz 267484 BLAKE2B 36d7af1bd90ff5a9639587d79f49643eec1e218d3b1839f5febdd9b6b402886e577b15c920cf458ecb14b4e6d532955b6d71ecf932060e6f8ba32193d6bb0162 SHA512 27000581396d79665e34b67a9e59bf639ca0fbd855ada9648750750e41e732cdcde15a05c6548993f08a8637783ddb478de24b75d5c18a198541c36b4b08b9cc
|
||||
DIST libtmux-0.22.1.gh.tar.gz 266173 BLAKE2B 743d43fcebfb0058c9ff13f0fb9ad811403f85bf80dd68dbeead86fe079b4176db15c9bf0a8dd48fae67cb9fa968633595a51e6fcf6091bff54df911d2dd17bf SHA512 f056ecbf793cd90bb60d50252c78eb67a8312eb3eda92d68ff69ed85270f23c9d4489789438fb9d228600320a2afb64a29a70c00a415604b65079167381c46d6
|
||||
EBUILD libtmux-0.21.0.ebuild 1224 BLAKE2B 0c19dc33639ef451cfe4659aab6b3b1e38d96cb6899f6dbb85aa655a99010be3174ad43c7c7522d3c2d8e597e789048ae8feddc03836d4ab60fd9c5333c9b665 SHA512 9c9e4c7aa82223e54b12bfdd3c088954221f5794723d4766988654d99e3a349eb1928c664cd590021f1a30fc3a854e0811e8f993ffe431394c0fee3839a54b19
|
||||
EBUILD libtmux-0.22.1.ebuild 1226 BLAKE2B 33869818384b647487e2b595316882f800a75a819ae93e1744273347f1b020cb96d03d83546ecb48b76f1c4627335db6d84b46e6aad92eced8a8cc2bd3121cba SHA512 ff6dd7967eb642106ef4a5ec353d405b814df2c7d3a90d31b085bb3789155cfe0b92704268c8b3d5a82dde6dbcf700d71182d5b3f63ba7ae346d9f76d3ba769e
|
||||
MISC metadata.xml 403 BLAKE2B 68af7251349c8999bbdbfb7b55ca4632f8752468d7e478fd985097af86d00afe93b231667a25e3c997a3bc86b708d4e6d6ef5c35a783871cdc83519fc1db1ab1 SHA512 2a88df695e94f1da966bb72f7e90d00f2e343e40fe1924837f8c087dfc9a9a84fe0b2909a98f2f41ba72f6ba01796888a80cbac3f1bf9f05984a06385037d977
|
||||
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
PYTHON_COMPAT=( python3_{9..11} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python API for tmux"
|
||||
HOMEPAGE="
|
||||
https://libtmux.git-pull.com/
|
||||
https://github.com/tmux-python/libtmux/
|
||||
https://pypi.org/project/libtmux/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/tmux-python/libtmux/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=app-misc/tmux-3.0a
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
dev-python/twine[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
libtmux/pane.py::libtmux.pane.Pane.send_keys
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
local issues="https://github.com/tmux-python/libtmux/issues/"
|
||||
sed -r -i "s|:issue:\`([[:digit:]]+)\`|\`issue \1 ${issues}\1\`|" CHANGES || die
|
||||
rm requirements/doc.txt || die
|
||||
|
||||
# increase timeouts for tests
|
||||
sed -e 's/0.01/0.1/' -i tests/test_test.py || die
|
||||
|
||||
sed -e '/addopts/s:--doctest-docutils-modules::' \
|
||||
-e '/README\.md/d' \
|
||||
-i setup.cfg || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST pylast-5.1.0.gh.tar.gz 40178 BLAKE2B f290afa72d71cb2f88793aaa31aa059a603375e91b310c3ca9180ed5626c589f3d91ae1961db15e256b01bd019b8e59dd48be45ff96683707c05ee9170dfed84 SHA512 64c71f5365638f3bdb435ac2d7405bd1e7a3ebe95fee97469c64bee63ad9850d45781756ebd59942c70780830fbb0519874908d2894e227acadedb5120c3b9ab
|
||||
EBUILD pylast-5.1.0.ebuild 770 BLAKE2B f781cd314910a3496dc7680c00a6d54cd1067c66ebcbdd74027dc1795f7353419c2d236570de5a909ac4f31acbd39054e603117dfc2fcdf28fc2392e442ea98c SHA512 69a2aae7d03654728a8014f8e9b8fe4d78724a7809b78b0b42fcc65f59e94fc74cd85b18b42abbf7ef2ace5b9b8c431aa5b07c6fe6143f605220fcc2dd3b6279
|
||||
EBUILD pylast-5.1.0.ebuild 771 BLAKE2B 69ccf9aa7ebcdc57e167274ab552c53b2930f80e0783412bfb0b497fe0326f9ba93965c59a72f03e7a2500936122291d1d70497836795f2c0a20bb380bdb5875 SHA512 b95563f1bafcff740281ae2a7c498af8a1acfe0c2a28b7806ec253400ce0a001d6389f4875466c229163aaeb7c890723b4e08e834a4168cb2728cc688e9f57b6
|
||||
MISC metadata.xml 907 BLAKE2B a4a6aee5b2e805d27d001b7c51dfb2a26b935c38380e85027059b02e75057fc02f9ad311fd21326f6f16e7528a15c0577aae31f695f8a74ac42d274c10e7ca17 SHA512 1d0b7327a4e9a24940cff7a27b64bf5a27d5e2a1391d31a99d3473fccd54e534722ba826a64bcfc5f0da7a505241e617d23aa1f7490218f1d39af4cd3aa29357
|
||||
|
@ -1,5 +1,3 @@
|
||||
DIST pyspnego-0.8.0.tar.gz 222900 BLAKE2B aa526c6506f680008ded0a86e938629ccc9ca89454d7987017903e9e5fe26204346bd4eefae3a35c641309391a4784c23e1a3e51d8a03f5ab517516e1a3a4965 SHA512 d9d6356cf9d78fde6669606df7b56f0004957ed58f94cd3965d63827df702ffc10299296153f8c089853f3b22a684e08129d607b4eaedfd332b8b82652119e89
|
||||
DIST pyspnego-0.9.0.tar.gz 233612 BLAKE2B 62047b84c5bcc5085e75abe167c6909f0a34a403c182f9bb03994e8e78768c4f1859e68b0e25d27271c6f686565c68d090a8825c0136a18e3443f734bee2f4db SHA512 4fa03d54ee47441a7255fb8b93b4616937ce96c76de4d8255ff48e60fff0112d6cd802458e151d4cf92f3710f7c415ea5499c460fb2f291155b3a1820ba37623
|
||||
EBUILD pyspnego-0.8.0.ebuild 913 BLAKE2B 19edde334cd2f81121d23e933f5a806b95beadfc3b5ff1516a93632527536821026294f9cd6cace37231fad83a444d2d23c00d6f0f684308275da2cc18ffc30f SHA512 e29834a2e97e2fdb4ac0c54817a632ac5fe6d0b74d5c07ca980fd982f6beef1649e9f0d8d5a7d84e25a4a16a7050284f7ec47af270412a8b9b42e9407c8ac56b
|
||||
EBUILD pyspnego-0.9.0.ebuild 917 BLAKE2B 18123ad603638f00f9cc2238b73368a4b3877999e98ea7ec0822e589e3f6c6b3841b2702e892affa337b10f88b24dd8455f3c70ac60419a7dc3419b43b8f67b6 SHA512 dbeab118664219364f95d2e97958731ffeb0428088a7ec0a58870514b42374aab277bf62befaa899aa171b661f8c64e40bc71b1d0534b2bb968f0283880bec57
|
||||
EBUILD pyspnego-0.9.0.ebuild 914 BLAKE2B f23a5faeae4b1c5d6103b1160c59c115d83660a69c1af73326a557b453c43942b3a89711a5c55636c3d1ba8cd0bff8ffa435925510ddfd23502763675089a0ec SHA512 32e6f6e5a43a16c981fc3d2a129619a424ce35b52819a50abbc838a04b5be440834adc5d3663400b3c9018d7adff13b87c51d250e71443510f680d13844ad045
|
||||
MISC metadata.xml 445 BLAKE2B 2d30af32987aa7118331cb4c199b44069f6a6efc62d73eab62a31b29308848b7f7e56e026327af6c2197ee31c05fbe1885524bba7b6a84cdc0d97cc58c5fb43b SHA512 c7bbe6f161ce61409f6865f998fb4c8bd77c39011f5bbd148379912e31805773a41451163517cb7ebef99a57d6abe8f13dcdc568408ce182c0def6adf35afc9c
|
||||
|
@ -1,39 +0,0 @@
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit distutils-r1 optfeature pypi
|
||||
|
||||
DESCRIPTION="Library to handle SPNEGO and CredSSP authentication"
|
||||
HOMEPAGE="
|
||||
https://github.com/jborean93/pyspnego/
|
||||
https://pypi.org/project/pyspnego/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ~riscv x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/gssapi[${PYTHON_USEDEP}]
|
||||
>=dev-python/krb5-0.3.0[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "Kerberos authentication" "dev-python/gssapi >=dev-python/krb5-0.3.0"
|
||||
optfeature "YAML output support" "dev-python/ruamel-yaml"
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST python-mpd2-3.0.5.gh.tar.gz 67224 BLAKE2B a0c78e3a2624247a7ed4228725dcc09457804636b01b09006bcd61800deefac8887fc9f76b9d7bb21c973e2dd9558e934f3864b2f8f5c041a94633a29f9a781e SHA512 521345b905113eaa56e6ec983e4d968d77dca30f839ab52a00e146f311269828ed383bce460ba1daf61b7f98c63ae3b7a3cbcb55cf917b1c5a5a11cf62b6a7d5
|
||||
DIST python-mpd2-3.1.0.gh.tar.gz 69162 BLAKE2B fb9b13f3e73b654d7e2a6ee84907f84ebf354d8f56ee47f58046a28aef1d43b5ddd52bf51f42a3e56dd6d8036010abc74d5537cfe8cf4f976b0a758506879dfe SHA512 9d8dd774540d9e09804fd293ce362401b2253f8021c1581c0764bac0b61d2e4b5f50bb752e5d774459194a717354f28ad5d96d48f29ef0f54011969ec91ff106
|
||||
EBUILD python-mpd2-3.0.5.ebuild 1001 BLAKE2B eabd6c995cbaaf9c8a2baa0d73058d20794485a7a2e4240dddb7578774ca3c42cd285c89adea58a3f94460b67eb15e6f15d2ddecc6650b85a34b012654473208 SHA512 ffdf2e017255fe428c66711556b9425e6e0deb2f05195c257e05757bd3ce09676a9c994068bdf146c7da965ec91547ec7de10854cb14ef545b2806c05bcbb03a
|
||||
EBUILD python-mpd2-3.1.0.ebuild 1005 BLAKE2B 578f6bc5ff508b83ca0db9da36c6030654e5c82f61932274a857f76a8d8ad0efcbe19d12ad286ebc2e122909660b64e9ec0dfaffdf99333383a1e786129e11d4 SHA512 e69b4c8a3ec610fa4a3c2adedb9123f3a1aa54508021b9266eb90ca973d45b2d75f8a8776be6d4c3c2e1326e85257e3adee88facc6d94b48e7e9d774e9ee9c21
|
||||
EBUILD python-mpd2-3.1.0.ebuild 1001 BLAKE2B ff01db283c27ec537b143bc7aa65c23291a4211d84cf65b2a7f43662a5cdcb51a811678b1724a9990b1c712fd27ab228c040fc6b8324eb939c3013f9e9ea61bd SHA512 f8da087d57e613b3d9c007385c004c428f8593f8af9d358f756e947fbbb5b05ff1081f3300a63200eff3b81d6ef8d7af14e53346aeb697e3b73973cc23a237a9
|
||||
MISC metadata.xml 464 BLAKE2B d64863a0d0de7bdbb309ea89cf3758d7347ccfb29fd810e3cc99735b6cb096b1dc21857905f04f689865690c170bcc141b2ecc7ac0954f5db748fae52e8754ba SHA512 a37f69491be26d10e30ffedf86582ee8f0cccec30278f2edf24b9018357609ff2b65a68b3e778aa5cd956f16ecb75e490be3305ea1d8e2ded3d1a3d187f644ae
|
||||
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=python-mpd2-${PV}
|
||||
DESCRIPTION="Python MPD client library"
|
||||
HOMEPAGE="
|
||||
https://github.com/Mic92/python-mpd2/
|
||||
https://pypi.org/project/python-mpd2/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/Mic92/python-mpd2/archive/v${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
SLOT="0"
|
||||
IUSE="examples +twisted"
|
||||
|
||||
RDEPEND="
|
||||
twisted? ( dev-python/twisted[${PYTHON_USEDEP}] )
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/twisted[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( README.rst doc/{changes.rst,commands_header.txt} doc/topics/. )
|
||||
|
||||
distutils_enable_sphinx doc --no-autodoc
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
epytest mpd/tests.py
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
use examples && dodoc -r examples/.
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST pyudev-0.24.0.tar.gz 85887 BLAKE2B 82f23a1bbcd8ce5dd9e6f0551d967e7209067541185410668944734a5f0e17a907d6143cee81decb868d64cf8a0fe642dba7dc600f5ae3f03d9487f882d0aef3 SHA512 c711053a58cd857aff9e1df116ff11cfc17426d9f5a092810403150bec36239213a87b428bc31ec862b75b64a027f2d21081e15f76d914b67a9ddf39b0b73379
|
||||
DIST pyudev-0.24.1.tar.gz 85963 BLAKE2B 86c6d04691c99671735915564f58b4ef892e45925047487500bc7005343db7145941dde270f4ce9279881bd9bbf203965082d54b34b396febff52f387a1c26ac SHA512 10e32d9a74884000fbf8b86bee60530f6e7b936b990e7ae3b76099ace71834602de404721101c1076ef57365622a9a8f4819d57f58508ced09a21b7d50326886
|
||||
EBUILD pyudev-0.24.0.ebuild 1330 BLAKE2B 3e5a9d474b12f171350d7a811dbab69aa10a82f72cf40fb5a48817acff512592cf986f64f5f75d244d0da286527ed66dca19c06c98b5edc80694858ac2e1d061 SHA512 cd4a7fbbe6ad16e9eaa7bedeb755483a676f4843dc27b4ce6265a7f343fdca4e4b41f917b37289aa9a524299b2b29909510b41284125fcbebc22c3f406593574
|
||||
EBUILD pyudev-0.24.1.ebuild 1335 BLAKE2B 62fd6f20fb7670697ceef80c9fcb2a9beecd85d472e684c7dc4946137b322c02833ae5fd70346f24145f40833cabeb188b548f5c4622f92a82a9a34d6ba7549f SHA512 def0a4186857ffdc22bbc6c1843e3f4418276a820e0419d72aec98e8a06ea9294003de38b718e01a429e00052434f380eb021a7c686fff38869fdf2b1cc624a0
|
||||
EBUILD pyudev-0.24.1.ebuild 1331 BLAKE2B 3c6fef77a16f825abf44766024fd3a058d66500dd58b1362ff78001d7d955b565a99d17fcc6318f5f3b7564c6133cc78b0caeb44ded0c19a7deb9331d9ec2455 SHA512 12984ca338ba00a34e9c88bd3a0394c57e0baf7ec1588e5d9644956573be820a29cac3b6da04ebaea2620f47d0c54ce8676ef15c40ad3633b2b289b8fc83c43d
|
||||
MISC metadata.xml 705 BLAKE2B 5668637e59e1d434d0a72d0856e7ed614a2f5a3371e3fa4e841f4d516228f8b8a5567bc6a91cb07c8ee1f9c14db76ce238adac5bdab987a810adc2aed994b5a7 SHA512 a73f8225942c597d02ed08d3dc03724858f33cc07a2d9fcde64fe20f5c4263d1b7510e26e6365af120b72e7c8ebb075b7606dde493fe6464db2a585a23ca4b6a
|
||||
|
@ -1,10 +1,3 @@
|
||||
DIST rq-1.13.0.gh.tar.gz 616679 BLAKE2B 026914ab01f769797e1f7fabc944b5ccdeb1ce1957c7acc72d067e0bdd113ebb30f0060ea5adbceaac5e69b40e176c09a0b1f216cffb02132772e72151b79986 SHA512 6c3b4bb868cae6ffd07718b3f517350eba2effc1b3ae70ef601984cc525ecfb3f82f8569a2b0f333c5f248d3befbe3d4953f5058f8e9cb2f08ce6dadae963902
|
||||
DIST rq-1.14.1.gh.tar.gz 628713 BLAKE2B fbd0904faa64ea3207636f765e36042ed8ca2f0b3b57c634c3f9a6254cab811725719bb3c3974f9e19f173e4422355119f550c09a7176e1a4fca26cf26bb6e5d SHA512 f75fe944c041fb8dfe9607b480dbf62d72f8715934e014b4c666f19c73123e7062ab0e17190f572b2cdad6a916dbf2190637255af5c1db51b41765d448ad2120
|
||||
DIST rq-1.14.gh.tar.gz 627836 BLAKE2B 4127d6c183826ee84eb290145098b545938cdeca2daf836c08ae49a07265cebfc4eb0dbdd92c640605ce630e37a13184010dd8a6a2a2face5369c00c22fc286c SHA512 5e74a2b57b673ef9333dd1ec3f7f3cecb9c9b2d48d93617dd46de833a6edce213b2488822d77eea9fde42f9949fa5e935be4d8f95f43b29e6c8f0f46593d5ce5
|
||||
DIST rq-1.15.gh.tar.gz 633276 BLAKE2B 885b4ef343924b8f4a88c6c3e93bbed1b62022e72217922e874b8f6be36c3656110037f862bfe27f134d57c41d1b741e5fa23e6ab48fbd787ff08bf628a5e207 SHA512 b1c9614b376b74795436333cff6a5bb62795e73d95376e8e18b2472fda3eb720608d495c57e3c2c1b2c237b7fc409602828bea631c1b8905d7df71c74e6c705c
|
||||
EBUILD rq-1.13.0.ebuild 1401 BLAKE2B 4fa72ab225622213cf46207cd8ced06faf4be6e67bfaa24f4a6107de3cf90a8a804c74d9b31cdcacd16cb3d1bdc0add6ebf5e39fd83a4ef2c0d0a7d3560b0281 SHA512 b719e2538d10d7b71c1d91132965d839ae688a396f3535db065c9c2ffaf7dc5e0725272acd86adcddbb3e803583ea8b3ef8e21a4b56c47d72785cbd2237e345d
|
||||
EBUILD rq-1.14.1.ebuild 1447 BLAKE2B b139b20c73be2e56b82f20cfa30dcf166eb23d02fdb95226eac7ff79ed23b56705f148629dae7dbb628152b346db6d2175b7ebd05a966262e57dc5da00207c01 SHA512 7e781a8cc32f3fff0260d6dc4b12e9f2e3b88e09fd5fdf62e4f6697c055347265aaa25fc212bcdae4ab054c473ffa8d8603ad7c57f5f90096384d019f0d76dc8
|
||||
EBUILD rq-1.14.ebuild 1447 BLAKE2B e07a3b74e72ce85b03c73fb549940d3f8252a4014b86bd400b7487a975ccac42d3b8ec442dade3ef5792ae332e223fcd93b2c88598c17259378d05c4d81c09f8 SHA512 03dfcf71b23e6688098ff22f4051350312e0ff8961d1547ad2b8d81d28f32777b872243230952a2b4a64ef920f20cf8c704f82ce5cc254d1ff9dc4f4a4c2aba3
|
||||
EBUILD rq-1.15-r1.ebuild 1441 BLAKE2B 7abf8e40a520fd49e1f90198a212e242ddf83ebf6c43ae806e0516cbbe3fbabfb1b279b0698195793033ad1629b43702902a30ca8d83b31265d80f8b9e6a7e97 SHA512 e1921bff061bea32d5facaa128140530f9d21117f03aae0d9df7f29193a2d897f40328c80eaf80ed4685b19363935b040c544bead2be5d3c107a885d1ee11d97
|
||||
EBUILD rq-1.15.ebuild 1447 BLAKE2B dc02a1685f96ef33bdc088032b033fa3b7fd712bf1a891703d3491d9716c23273acbba88dcd2360aec0a8d42262870dad08b5bcd15a5074e6e2816fe4a621889 SHA512 cd79cb058fe8980923e0d5062f3f40039c59f008accdffafd7908d25dc2628b5bc9e476b9d3f6874ca5a0ba0e52dac58a75ba2a4bfa306245b6e6cf637e4641f
|
||||
EBUILD rq-1.15-r1.ebuild 1437 BLAKE2B 1731a10a646cf45745f8d972b34286b25bdb2a291100b9d1d2482e07d7342cfdbfd5113f5edf88e7980781a6f149c13af36ff2b7f2e91fd989e9d3e43d2dc6ba SHA512 11292bf9a234ef65e48af9583ab3dd62ed1743158d34e58d594091264d4804d5fc10a3911cfec5e27ed569afd4e5c8aabaaace4e1a58cd6c762e5fca075d2d7f
|
||||
MISC metadata.xml 453 BLAKE2B 6a46d43b524fded1ad4749fb9669ea07f8b3e23940d0bf2a4db5d92564316b01fdfbe220771e30b1a110ef72c613ad683cdcb7940682ea32198a5b6f027e4db3 SHA512 104ef96c34b55a9fda377c1304ff85781219fdbccef1a83d1bef30cb2fbd0ef816cfe82715af8937f452499135f7ed65c65a29c34919a09b6144ada367c26af5
|
||||
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="simple, lightweight library for creating and processing background jobs"
|
||||
HOMEPAGE="
|
||||
https://python-rq.org/
|
||||
https://github.com/rq/rq/
|
||||
https://pypi.org/project/rq/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/rq/rq/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/click-5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/redis-3.5.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-db/redis
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/sentry-sdk[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_test() {
|
||||
local redis_pid="${T}"/redis.pid
|
||||
local redis_port=6379
|
||||
local redis_test_config="daemonize yes
|
||||
pidfile ${redis_pid}
|
||||
port ${redis_port}
|
||||
bind 127.0.0.1
|
||||
"
|
||||
|
||||
# Spawn Redis itself for testing purposes
|
||||
# NOTE: On sam@'s machine, spawning Redis can hang in the sandbox.
|
||||
# I'm not restricting tests yet because this doesn't happen for anyone else AFAICT.
|
||||
einfo "Spawning Redis"
|
||||
einfo "NOTE: Port ${redis_port} must be free"
|
||||
/usr/sbin/redis-server - <<< "${redis_test_config}" || die
|
||||
|
||||
# Run the actual tests
|
||||
distutils-r1_src_test
|
||||
|
||||
# Clean up afterwards
|
||||
kill "$(<"${redis_pid}")" || die
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Simple, lightweight library for creating and processing background jobs"
|
||||
HOMEPAGE="
|
||||
https://python-rq.org/
|
||||
https://github.com/rq/rq/
|
||||
https://pypi.org/project/rq/
|
||||
"
|
||||
# Tests missing from sdist, as of 1.14.1
|
||||
SRC_URI="
|
||||
https://github.com/rq/rq/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/click-5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/redis-3.5.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-db/redis
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/sentry-sdk[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_test() {
|
||||
local redis_pid="${T}"/redis.pid
|
||||
local redis_port=6379
|
||||
local redis_test_config="daemonize yes
|
||||
pidfile ${redis_pid}
|
||||
port ${redis_port}
|
||||
bind 127.0.0.1
|
||||
"
|
||||
|
||||
# Spawn Redis itself for testing purposes
|
||||
# NOTE: On sam@'s machine, spawning Redis can hang in the sandbox.
|
||||
# I'm not restricting tests yet because this doesn't happen for anyone else AFAICT.
|
||||
einfo "Spawning Redis"
|
||||
einfo "NOTE: Port ${redis_port} must be free"
|
||||
/usr/sbin/redis-server - <<< "${redis_test_config}" || die
|
||||
|
||||
# Run the actual tests
|
||||
distutils-r1_src_test
|
||||
|
||||
# Clean up afterwards
|
||||
kill "$(<"${redis_pid}")" || die
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Simple, lightweight library for creating and processing background jobs"
|
||||
HOMEPAGE="
|
||||
https://python-rq.org/
|
||||
https://github.com/rq/rq/
|
||||
https://pypi.org/project/rq/
|
||||
"
|
||||
# Tests missing from sdist, as of 1.13.0
|
||||
SRC_URI="
|
||||
https://github.com/rq/rq/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/click-5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/redis-3.5.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-db/redis
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/sentry-sdk[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_test() {
|
||||
local redis_pid="${T}"/redis.pid
|
||||
local redis_port=6379
|
||||
local redis_test_config="daemonize yes
|
||||
pidfile ${redis_pid}
|
||||
port ${redis_port}
|
||||
bind 127.0.0.1
|
||||
"
|
||||
|
||||
# Spawn Redis itself for testing purposes
|
||||
# NOTE: On sam@'s machine, spawning Redis can hang in the sandbox.
|
||||
# I'm not restricting tests yet because this doesn't happen for anyone else AFAICT.
|
||||
einfo "Spawning Redis"
|
||||
einfo "NOTE: Port ${redis_port} must be free"
|
||||
/usr/sbin/redis-server - <<< "${redis_test_config}" || die
|
||||
|
||||
# Run the actual tests
|
||||
distutils-r1_src_test
|
||||
|
||||
# Clean up afterwards
|
||||
kill "$(<"${redis_pid}")" || die
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Simple, lightweight library for creating and processing background jobs"
|
||||
HOMEPAGE="
|
||||
https://python-rq.org/
|
||||
https://github.com/rq/rq/
|
||||
https://pypi.org/project/rq/
|
||||
"
|
||||
# Tests missing from sdist, as of 1.14.1
|
||||
SRC_URI="
|
||||
https://github.com/rq/rq/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/click-5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/redis-4.0.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-db/redis
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/sentry-sdk[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_test() {
|
||||
local redis_pid="${T}"/redis.pid
|
||||
local redis_port=6379
|
||||
local redis_test_config="daemonize yes
|
||||
pidfile ${redis_pid}
|
||||
port ${redis_port}
|
||||
bind 127.0.0.1
|
||||
"
|
||||
|
||||
# Spawn Redis itself for testing purposes
|
||||
# NOTE: On sam@'s machine, spawning Redis can hang in the sandbox.
|
||||
# I'm not restricting tests yet because this doesn't happen for anyone else AFAICT.
|
||||
einfo "Spawning Redis"
|
||||
einfo "NOTE: Port ${redis_port} must be free"
|
||||
/usr/sbin/redis-server - <<< "${redis_test_config}" || die
|
||||
|
||||
# Run the actual tests
|
||||
distutils-r1_src_test
|
||||
|
||||
# Clean up afterwards
|
||||
kill "$(<"${redis_pid}")" || die
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST svg-path-6.2.gh.tar.gz 39478 BLAKE2B ef5a5c7aca3dc0e3f383f5e2810bad8960e32a55d00b6300e30c81fbe837f380d073bae60b891d371f8a9be3ca556ef11821d5b7c2fe5db519465b099d35e3f9 SHA512 7c9a67467e888f4961d54daf2706125c4ae21bb0cd1010f335eb072df78f12b1da99ddcf64a33a85a0e82a8b347f19e876161e3da8ebf43e5e7b45bbaf7d3325
|
||||
DIST svg-path-6.3.gh.tar.gz 51479 BLAKE2B 895069baa0c9577fe222c16a5763cccc6bb18ebcb62471faba0b2e9cd06793b2f8e07790ca8153feaa3ee5ca35b2b11ab7ec821dc3ad98e510f6ec76e00f058e SHA512 fd9dd9e1e603be5e212e3eb247c9f3778203f5285397a4cdde4c038c3f31f7bc2b8904491c208256996e2fbd39b4e5f7ea58d964bd5d22bc09c57e4bc2c70317
|
||||
EBUILD svg-path-6.2.ebuild 603 BLAKE2B 59408a9799ec51a2b1b8e89a71acb912745e51b561764f1be6dcedf1d0853789921a6ddf4456a6f4cf428039decac051f5070e0bb5e4663acbc057f72272d586 SHA512 a8b1d1ce72b911f06218b150f2d732eeca3976d42f37b079c6dc9ef827dd6d50526232a00bb0baf0dd50c6aa202057525aba2592d6daad6607a32a17658d66c2
|
||||
EBUILD svg-path-6.3.ebuild 636 BLAKE2B 5389a59f412a71d0f92daa912af22a77ec15573401fd3f87a40a38a238f6577daadc3836f6f5a1e35eeed832327eec2a4624bd9c4d90859c39fec9dfbb08bf0d SHA512 6d606aa970ade1904895d847a9999a80c24be5b42e4a1d5fb041cb666343f864ae463e599c13b30ac68da1365fcd4431455e66f79b656bd094318fb14f8c62bf
|
||||
EBUILD svg-path-6.3.ebuild 635 BLAKE2B d92c7c1189ddb3eba7ff67c7854b8800d6b384921f6735819d2a08d4dafd15dfa17b19c58821def699a0dcefbc53b5b2d7c4d0da44d8aad743c9256e985bb72d SHA512 5cc25427b3c80e4bfd9a80a8219af62541d05a6564d0fdefb8ae64a211bd78d21f6f34456f67b3bc022bfa76e4cb53839a6a23765c37e3d7ae6895889edad807
|
||||
MISC metadata.xml 605 BLAKE2B 7e4f5fadbcb069ee85389cbf3a93dfc75db9f2c791656f3820fc38e0eb1722959eb8a448395697fd1b87cb6e442b075629fc3df881f0df8dba5715e36cbe217e SHA512 cbd774db6a6e9d1a95b5dbd4884df0de34d24734cd538479f89379be0dae92517171a05bcb014284f93772d48db4f02b0a1aadbb7f9bb4f6a6866e4a8bb910ec
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue