parent
717754b2d8
commit
224c35be69
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29405 BLAKE2B 9b33a180e5482482ac8f8e7b5760a406cbebe8de417e573aee0c85fcaea8daadede0559a03b6c4625621c3b5c348b622a6bf5152c8be115394c929a15497d020 SHA512 c8c6e38f5718958376dd12e06a9b27efc23296d1d49ef181e6a8f37106ec0593a680b18477d8ae18e7d9391f4bc85cd7a2b9b7d4f93f5a2aed259872813653ab
|
||||
TIMESTAMP 2020-10-04T19:08:37Z
|
||||
MANIFEST Manifest.files.gz 29439 BLAKE2B 8aed800f2cb5674f0daf6d8bf3f24f6c7405c89fcbd1c8d9e2112736d528d4aee0e01782934c01391b7c828df16ff23348378b0ce49ba2453a51b979c69279d1 SHA512 629ef80ce12c5538d3f5350cd690d6d44e724a3f1633d214d3e859427358ca77fc92b938b3d7644590efcd5eb1a88d5abbdb2a42b0e3b349c3050e29b7cf6661
|
||||
TIMESTAMP 2020-10-05T12:38:38Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAl96HbVfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAl97E85fFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klBQQA/+KGGu+Qbhp+2JqwRNsCK98VQhewx9X5rGF+tsy+6jcDIFDhXfa8nmIfay
|
||||
VPiPOkxa/k85prKZ1h9DB/BqYSO8xkAb3yQxr1zLLKFROmVBUtNq3FDbxp+Bk+rx
|
||||
PzYHGLS8XYk0/B4oyv6duTHyfsU+d/BxZ+CfGaOpC/b7+6KWX0hEEeW6pgw0An2k
|
||||
8+lQMfr6Y8SdIVRX0Rah73xXPshXsgnkwymag7dgIcDScEO6mB4zEYwgiLkL2iBo
|
||||
8MMt/98k9bGIKXF6aAuB9XC0oI7fwayFk49xZW8TAQIveBjkqMem9OUULudqP/he
|
||||
7UGKl9kiQ5OJrFwskBzx/QWZM3gE+/IyI8V1Nn9YERIC2ryPkm5wLG7RIccZYgps
|
||||
7BiUHypW9km6o9VKwyEDSDA7C2ypCvRAjgapJfzk71eBHkja8MkAmQ3JHWlxQACG
|
||||
v0tT7zu8w4eu173EwnhW5oGV0Jk0SggUqRTxWhNxZSmnv/+ZBV/RvYkpZPvX2hMk
|
||||
5awqKVdKbs0jUp9VgAZGPNw4kEtBiy+9B3/0E8qggyzm1j0hjqg5bSCgJEd3hZ6o
|
||||
VrTLFTQ8MrBl+/0HT00fM5lfHR5Y5DT51DhMsD/G4fQum2Pnx4k1zyjgcsbTDUyE
|
||||
HQOqduV2+E5wSRQI0yU5BR115fZceU/ZhCSGVZgFzgCnp8tknsw=
|
||||
=z0Yn
|
||||
klBARw//bqojsBN8LZ3HPKc9SXirGTmxiJSDSvwxCG/ncp7OWt5NTQIPFLdH2ukC
|
||||
5+tdh/UBbhvRl3zbMvuPABGE7pcLNh3YQ7GyW7/CZMfhhTr5moGDNZ98x89FFl6i
|
||||
Qxm5f8A6YNYH/JfUR66eazQuaWF0096vj5nbdt1AkpSnMvgJ2H11NRjozyxjn73v
|
||||
VGtoHGwbgsKo8Ix0CfqYH5oZzJpkkEDHc9Z6prGmWVrMmZinQKzC6aMSgeQxGC6w
|
||||
bn2Q4yNmpn0eG0ESG7A38UDCJ/1umz9lvEYrajdiFgUE+Ie94TXo/3GW9WXvuYVf
|
||||
u4jOEmcBSFEu5fOrJzGtz7h5GmN6X8lehymvW8myHPfneo/6QFcKiFx/sqWUvcVC
|
||||
dVvXPqmuM6+VG/RE9Zz8Kp6nEy1s9B+Xj+bH+Mj2dfd98B7me+E4guE6rglNqbpu
|
||||
y/jadsf4nvqCICcLO035e/r3DtwrPmjBJdDvqz1eVPYKwfHZ8/1fuCxC8dyvlga1
|
||||
8a2LAKj5DID32KfrE+zMPRjvhbSSQqjUeQKJm+6Mz5yfLXJf5jrcQkA5h1p69LR9
|
||||
JFMY7K2CLmyge4G3lV4/lYFeMHdJno3HVtaIXNqzlGLP/GF/PRU5XDR6Nldd0DYl
|
||||
JJiauV++7yT6exCB775R9vKgZ6pGvBI2KhJy0pZYA2qlY8YjCD0=
|
||||
=Xx4s
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST kontrast-1.0.2.tar.xz 35300 BLAKE2B dbcf66706d707d2e277ab8a551533495c4005556421321b0a2a03fc046c193a931c00ed9a82160f51b44cf081550c86c8933e849158f5f1e63dd0c85c4506b96 SHA512 637b2fb65e42b208b26349e6d971827d616f647db53b5d2b5e5c7264388e723912fecb130138693060c9ec877e8a6d4dd1478f68942b6b10db024e8a4d66173c
|
||||
EBUILD kontrast-1.0.2.ebuild 829 BLAKE2B 945ea22764b73816ab09800df88d0f50fb01fa888d4bce99bd54447e0f9a46d19afaedf4fbcafbd6651539a52247e9c0c347f0ffb3a5268fe701d01f065a99bf SHA512 b377ea48744b48232e1162eb42285f246a55388631885968c8375e598278e50afd050330999aa579d1457370f7e44dd32355e586836ec548758c76869cd304be
|
||||
EBUILD kontrast-1.0.2.ebuild 824 BLAKE2B c6498f42e749f7cfd3a1a9b6f87c231537e425982dda1b488cbaf81d8ed6cf64735fb3cbbde394e4f8c6f363a8a9bbcbfae3ad5d59f05a97c232e29607eaad4e SHA512 a8ce69288ce47edbf149bde55077c4fb9e9e8828b82fcea89dd88d588cb1430de50381df8215e7d92dd1d3a652248253fe99fd2e973292ed23d8d857466c09b7
|
||||
MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3
|
||||
|
Binary file not shown.
@ -1,3 +1,6 @@
|
||||
AUX rear-2.6-Makefile.patch 879 BLAKE2B 60db156e4ac420f6d370b65c4a32b503f0ad958f1f2d3e698fe24248ebfeb94ccada049f580b6099385ad39ce57d06a3d4fbf30fa4372d85b7df57281de8f15c SHA512 8d1e3329b768b153124ebbebd0d70ecac19fababaad92d7789474709f785f74adaea3665d8f1889c344e03f58552616a16b71f541a8077c7b41adcbd9fa54c75
|
||||
DIST rear-2.4.tar.gz 611731 BLAKE2B f7cb6955302e0be6178393a678f050729b827f822df91d28245655d414892f225e25125f7e3bfad080e139ddc9c728121894b4ebde48c4dff2a8071fb4a5d46e SHA512 8a20c0ffd913b1b4c27f6125c1ca31404daaceccb2bfff7932f1ea402806657252afc3f6719c75dcab2de18b7975f83544dac92f43a742654f90494454d7c088
|
||||
DIST rear-2.6.tar.gz 750866 BLAKE2B de803951c040bb85d4659fc81ffb9264b2771a45675aca4eb0a6318201802475014c2b760415ac61ab734286f5e1e84b0c858df166b9be356384a243a7badb78 SHA512 0b6deac8f1b4adc3bcfcd19e82b5e5719df1c1c2347e3dde9bb47b6086856ebf5d08e485b876633190bb6f92a0e1c567bb65a30554205a32eec4b929e5815a6c
|
||||
EBUILD rear-2.4.ebuild 848 BLAKE2B cb6d62e0984c11bbde7f61cea72f16b10119c98047341100b2c6e8dcdb25a02551f5f8683df2b4efc65727ba9777b057f388e28dd2a6df95bde3cc37606a960d SHA512 78a8fd39ea5df4f65362a33c5d18dc16e52cea47b0aeaaf10ada27eb0ed01679b0254c55bba318ff1464f9ca55c3dd606b99a4cb71c37956eb961e64dba099b7
|
||||
MISC metadata.xml 765 BLAKE2B e50aae371c5b339a75e4b234c2202eb10513d37e29b2de3b4364b644f54019b4674100ac2906ed94b9625df35611206bdb9e6f3e252c5fa9669468762c9d9f82 SHA512 e3c84e1ac8cb0520150777a34b6dd5d4143f566900f42f7ef9b19f1af6629ef77701feed2d632205a446cc1972c2956c0de1a2a1c8c53b9979004cb18abd5830
|
||||
EBUILD rear-2.6.ebuild 1386 BLAKE2B 51b2391f3c437446394a15436f32670c9b12cf2c4bb6e99d8a1bca71a04e8e719f1403ca4da95823d92d6e299cfb557344403525e21fa4f72517bf990fd3a816 SHA512 96030e5afdf28b946353d1232549c2e34ee8a1841b1e5ea782c7f3a16018c12e50df8ea2c0883e60d41a7561cf9b4cace8473449a07faaa1671da8f6fda53375
|
||||
MISC metadata.xml 1014 BLAKE2B 8216e23c54712cf7b79858ef34b46a4f232aae0f9f3ccec5626059c07a0070445cc2db019badfb1129365d1d47de8b02d11107796f7e86d4889d39cc4e2b7a9c SHA512 b3b62cb4b708bf7fe291d5245eba04d53afca274e0e20f48f9291a7c76d64abcda07176bb9679b95b25e3246683157e5369f16535bc7b37f7a338f1b938e139d
|
||||
|
@ -0,0 +1,34 @@
|
||||
--- rear-2.6/Makefile.orig 2020-09-09 20:04:39.357666685 +0200
|
||||
+++ rear-2.6/Makefile 2020-09-09 20:06:12.537313922 +0200
|
||||
@@ -84,7 +84,7 @@
|
||||
clean:
|
||||
rm -Rf dist build
|
||||
rm -f build-stamp
|
||||
- make -C doc clean
|
||||
+ $(MAKE) -C doc clean
|
||||
|
||||
### You can call 'make validate' directly from your .git/hooks/pre-commit script
|
||||
validate:
|
||||
@@ -107,11 +107,11 @@
|
||||
|
||||
man:
|
||||
@echo -e "\033[1m== Prepare manual ==\033[0;0m"
|
||||
- make -C doc man
|
||||
+ $(MAKE) -C doc man
|
||||
|
||||
doc:
|
||||
@echo -e "\033[1m== Prepare documentation ==\033[0;0m"
|
||||
- make -C doc docs
|
||||
+ $(MAKE) -C doc docs
|
||||
|
||||
install-config:
|
||||
@echo -e "\033[1m== Installing configuration ==\033[0;0m"
|
||||
@@ -144,7 +144,7 @@
|
||||
|
||||
install-doc:
|
||||
@echo -e "\033[1m== Installing documentation ==\033[0;0m"
|
||||
- make -C doc install
|
||||
+ $(MAKE) -C doc install
|
||||
sed -i -e 's,/etc,$(sysconfdir),' \
|
||||
-e 's,/usr/sbin,$(sbindir),' \
|
||||
-e 's,/usr/share,$(datadir),' \
|
@ -0,0 +1,60 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit optfeature udev
|
||||
|
||||
DESCRIPTION="Relax-and-Recover is a setup-and-forget bare metal disaster recovery solution"
|
||||
HOMEPAGE="http://relax-and-recover.org/ https://github.com/rear/rear/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="udev"
|
||||
|
||||
RDEPEND="
|
||||
app-shells/bash
|
||||
net-dialup/mingetty
|
||||
net-fs/nfs-utils
|
||||
sys-apps/gawk
|
||||
sys-apps/iproute2
|
||||
sys-apps/lsb-release
|
||||
sys-apps/sed
|
||||
sys-apps/util-linux
|
||||
sys-block/parted
|
||||
sys-boot/syslinux
|
||||
virtual/cdrtools
|
||||
udev? ( virtual/udev )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-Makefile.patch"
|
||||
)
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if use udev ; then
|
||||
einfo "Deploy udev USB rule and udev will autostart ReaR workflows in case a USB"
|
||||
einfo "drive with the label 'REAR_000' is connected, which in turn is the"
|
||||
einfo "default label when running the \`rear format\` command."
|
||||
udev_dorules etc/udev/rules.d/62-${PN}-usb.rules
|
||||
fi
|
||||
|
||||
keepdir /etc/rear
|
||||
keepdir /var/lib/rear
|
||||
keepdir /var/log/rear
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use udev ; then
|
||||
udev_reload
|
||||
fi
|
||||
|
||||
optfeature "if you want to save backups on smb/cifs servers" net-fs/cifs-utils
|
||||
optfeature "if you want to encrypt your backups" dev-libs/openssl dev-libs/libressl
|
||||
}
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST eselect-repository-7.tar.gz 6768 BLAKE2B f648b880ab188b5beb21161dd011d8cea0bc9dd124d524d747a1867a37f334667363be9c0ad9f04275aa1534b904a519d7551c25ea547ae2acff625382c35dbd SHA512 87569158dce3acfdd81a469387fe1a7a7c268cae2e15cfdb12d8377984be5feb674c9b385f0171d27dbe8c2066ae98b2c9a74214340e85380cba173ba26d6f0f
|
||||
DIST eselect-repository-8.tar.gz 6774 BLAKE2B d22c2befc744e21b7619a490e9c41f1052c4077135ba5247ea9558f15f7dc5c06642dd934c41ad8cb3bedb40398876ea9d508276bde6f214fe06d5f80b19911b SHA512 b1fd13e3bfa323dea7fec53a33865352545a070df472c9db0b2901945a795833eb8a2b7b264005d94fe6e92dce57414a7e995157d28c8d26048bedcbf42adf96
|
||||
EBUILD eselect-repository-7.ebuild 989 BLAKE2B f36d97d72eac56bf47369477b618bcd9d0b9e2a65b3ceba0dc72ffcb4ced58f9f02eca7b900c7495cb58e961328657b1fcb6620228ac60091d02bc7eff80f01d SHA512 780e12566c8b1454330a229f63665ff45bf28d04f4fda62392c2d5a7ad77b89c9beda0f2513032cf9b62fa0e564c350f801b6a0572d4484d806e4274f61ff624
|
||||
EBUILD eselect-repository-8.ebuild 993 BLAKE2B 9756d93308ccbc15958460218cbd8d11f301826cf0b729765e2cebef79a3dc2dff25de05c4093b42ccabfee092832ad011d30d983f3e2433a689bf9a6626ae31 SHA512 667d0473b210a6459c50db305e32b562938e51dec09e3a1f2517d4f9ee0ce239d9fab6f2ae82c0904025ef50b7616f585dd51b437fbb47845d8bff92c9d20f6d
|
||||
EBUILD eselect-repository-8.ebuild 997 BLAKE2B 28755b2346ceb4955ae94fa4a43db157d80f03a461bef94ce0ec358c459e5dc8f7754b59609c891d9d53a9f7134645a6414df246e240c0c00af03dd8ed3045a2 SHA512 cbfb3b7c093b0f08f71a63a5f81933217a528277d2c622ca5f61587378537726cc5d90709333fda01f1d715ef20605fde5d2a7056554ead08376cdfaa6ba17ac
|
||||
MISC metadata.xml 361 BLAKE2B 65f6d76855e7205041fd10b416774d373f2cbf3ef3c13ccbad5069edb5f2d980c67cd1f188471df59ce784ff5b8a100c984644dadacaa4ace8d42c22993fc594 SHA512 40082f5d7899074e331edbe92d13784a3ccff5e04f60db71297ded20b2f1cca88e70b1f4fd6cc94e76048b7f3a718b586ced406452d816333e969e64ac5a3c8e
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST pax-utils-1.2.6.tar.xz 680696 BLAKE2B b271e19ed5ec1024d7c6e5723c12464c6ab07646dfbfd4738bfe0250629205051642421425d7c7c5f540b1ac3d100c13d1beca398d9766f7f477830ab128eef2 SHA512 59fe16c5573414aa2952a99c5b85c16cf10dbbee76943f263d31d5b1aa8818a9b00fa78c8b6dadbe02216de54fc32b26d80303a17e2d854de6bb9dd8b431f617
|
||||
EBUILD pax-utils-1.2.6.ebuild 1882 BLAKE2B 9fd22705cc7ca3b334cb02fcf068b01a30bdec5c8cfb6b1de58f98f8391551ce1708e12ee26a2137155329c951dbe0d42134aee5e6931e826d80615912db02a5 SHA512 3b2ff865d5f5db6762a107e2dc88dcfe4d3e2f5105c517d3265434fd3d710fa94511b7e50860fcdecfb1cb98dbdecd0a8ba534b954c005044669a6f3e3fed9dd
|
||||
EBUILD pax-utils-1.2.6.ebuild 1884 BLAKE2B 69b9255e150bc934fed0adf443a5e4454e116184ef794fd5bdcf2ed1c5f057fdca1172aed2907e8af478c92a1df62dbe2af1adc5bebd2e014770a49301727876 SHA512 e3872bea7ca453169fd3756d121f4ea97652d162b0ed258de46e7cef66114a7cb102008a17456a654f3967e6875e4baa214de6a02afe7ab0a4b44a3123e873eb
|
||||
MISC metadata.xml 795 BLAKE2B 410a2dbab6104e5da8b29d92f288ac82619bea027e1e452428c9bb993d8b34475a2ce6d7d0ed8c40244f0ac31b619cc7a221c3545b46b8029284adbcbd45d9e5 SHA512 97e8fafd52f62a3db3d28a61f55895ecf667592516be68977599dd82d10c2107eb325218ccfc102d51cf8ce453c3f64e8ab4b82b25a5298bcf3ff0e33cdf40f3
|
||||
|
Binary file not shown.
@ -1,8 +1,8 @@
|
||||
DIST portage-utils-0.87.tar.xz 1772956 BLAKE2B b1487d89303b524ffa9e6030feba181fcad73a6f38febf29f63b1f7bcd7a5080ddb1f907ca217040d064427f2060bb3885a61c30663594428be475a5bf7253f0 SHA512 a29f2d1fc85aea1c2b4c8b16fca0e9b559a980951f79cb10d7fd836d99ec65a904f2cbc54a949150ce490ba5d705b0aa5aa39f56365968b3dd591cb3d7c5eb21
|
||||
DIST portage-utils-0.88.tar.xz 1776100 BLAKE2B 5165c99f163a39e2d8e9d503a43982999e70ff647af16acaae84279d17c327e78c2722fa9f332c570e8bfed7647ebb7f96281c3ed2c42948234fb23192e73ca5 SHA512 f5bddd170b66753bf3abd870add6f893e31ae971cc15f3b34366fbbd6d69848aa8aa301bbf3e4185f152ce110e890178828f867e64d8ede74c17e819c2961562
|
||||
DIST portage-utils-0.89.tar.xz 1775088 BLAKE2B 6218cd3a5a435622366550857753529b38a8c2c9dbc2c9d72d3ce8517679fb782caded843807cebd606294a5ecb6dd110311e8da95d54626126b091ee902ab1d SHA512 c285901f1200f0ee81a4cd12840f5b4938fa525ce3611458287d6f5439c78b9ecf5ec0dc40d759fe5e6a848d4fd13b6d9ac38222ebf2c4453a60f9fdb842a55c
|
||||
DIST portage-utils-0.90.tar.xz 1776636 BLAKE2B bbacc05aa97c77705ae4fbdb5efde5f1d49a99ac8ed259e026c9a997f43a86551b3a10a397e0c5f1da161d2c0d88afe88e22870705ca39d911c4a98ad13f4928 SHA512 2077061dd7dfd444d4ad38faf5a87aa44392d7747f71d7283b5e2775ce3d714773cd642ea085aea3dd34a715f2c446d42fd64ba42fa99e716e8d843aae3d9682
|
||||
EBUILD portage-utils-0.87.ebuild 2171 BLAKE2B 5561831e035a2139060704c67366bb4b68a4a737fa405b22203696716bc8383177f740f4594de2d08be6622b702da68cbb18bffe047bac792db574c6fa3a5d57 SHA512 a73d4d44e24f616ee965f5663ce60df0287bd35d250470389889a5fa373471d2dc37c3eec1f1df7d9d2e6efe0d59ead2b683bce240a001e8b07ee809ff8c2629
|
||||
EBUILD portage-utils-0.88.ebuild 2179 BLAKE2B ecbd90f21ef26d89e423e198bd0e8e275aa63a8eabe515a0236c18370a755c18319c1b21c22b07a41eadf338a430bdeb13e753db0830b298853ed72b48aec6fd SHA512 401ce43ba8704b8d2936307e5250cf7335ad555fe4d8e9766ac7577a01540c1018252dc77c145913bb494891fae5f6860f33f80a17d58ab0b5bcd42e8c1652cf
|
||||
EBUILD portage-utils-0.89.ebuild 1806 BLAKE2B aa1b8f6e780d3939433ef354cc9bd57f131bb40668ce150f84ecfef4a46bcff7dbfb3a4a2e453a3d671498152a6cc9b75f180a09841aba5fdeb754d96712ef95 SHA512 2ddc921350fc44bedae040a9521d90745d768c1292ca50fc4eb486c31a50963c129d16b6dc149183d47793629e11a2b4b35043e7a2115021880881dc4b4f166f
|
||||
EBUILD portage-utils-0.90.ebuild 1806 BLAKE2B aa1b8f6e780d3939433ef354cc9bd57f131bb40668ce150f84ecfef4a46bcff7dbfb3a4a2e453a3d671498152a6cc9b75f180a09841aba5fdeb754d96712ef95 SHA512 2ddc921350fc44bedae040a9521d90745d768c1292ca50fc4eb486c31a50963c129d16b6dc149183d47793629e11a2b4b35043e7a2115021880881dc4b4f166f
|
||||
EBUILD portage-utils-9999.ebuild 1806 BLAKE2B aa1b8f6e780d3939433ef354cc9bd57f131bb40668ce150f84ecfef4a46bcff7dbfb3a4a2e453a3d671498152a6cc9b75f180a09841aba5fdeb754d96712ef95 SHA512 2ddc921350fc44bedae040a9521d90745d768c1292ca50fc4eb486c31a50963c129d16b6dc149183d47793629e11a2b4b35043e7a2115021880881dc4b4f166f
|
||||
MISC metadata.xml 573 BLAKE2B 7c24e5d74a38a20b0c79c228ca131ee5073cbf0fdccfc2b42221521ae684566b4bf7474743c0a9cd1273b59eb94e2eef63b1db70f0ffed7d688073bb3679e007 SHA512 85f32bcd860ab711ade03cdb4a241722efbba47396b736e302fa2282e363bc8e445daf9316996b1cedb420d2cb102fd416962f05e15a57c51b514d776ac7cd84
|
||||
|
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST esptool-2.8.tar.gz 5399875 BLAKE2B c2c27dc44cec1921f2d800347682bb198be76f7a122fd6a0c9964fb189350980557aa85bd6cb8fb2d63c8c7ccdd18e1860b65ca85c8777145ec1da07da886be1 SHA512 14528197e760779f3bf50e2a44d477979675dd42451fa405e2ae87502158b21f999fb94561980c9eb0634d2d1fd3729779b78266403de858ed1d32e8d29604cc
|
||||
EBUILD esptool-2.8-r1.ebuild 1148 BLAKE2B 1ffe134f67498ebf26389522948edb65a2e8e06ebc63f796c48a7517fe31605ed3fa2bdde1300b1cc666ee3d27f0d95cae2fa43af96eddacbfa53bf9461c27cd SHA512 58bdaf97160f5a6a3c58c2a26108d44da8d3d4e72bc6fc16367a1721ad65279805bc9bc7640ef544ade7016fff1d00fcc1d56068ca4f0c21177c658699259d00
|
||||
EBUILD esptool-2.8.ebuild 932 BLAKE2B 7d44a50eb5afacb3789d7a77e643c0ceca943897c4deb9b023cb5b39e9cd8547db866e9bc76ad80f2f6605611b25fe74ab59ffbe5605eccf6d21a6ee3d9e66b5 SHA512 d009ce38349452e01a062b3c042422c950e65bb6c0dab35979d9efd8428a552e250857527bae6a992e862578972c130fbcdc5641c493b3c25eb36c30cdcafec4
|
||||
MISC metadata.xml 247 BLAKE2B de14ccb6beade685c72b668396bd67f8e1be50bc4d143a5aff8d27c077a5bd91664c90c1273573966b7dccaea71b16d6d7e6dd8b2c5ed6f4afbd1a9ba3353475 SHA512 cce6a10f270c88b3639c39f5caaa891598409a573eaab14f0362781950746afb36cbea3a0384542a89e4fe8e287ca74cc62c2ca4f47de9fc39fffcfa4513e693
|
||||
MISC metadata.xml 473 BLAKE2B 58b09a7777e3c2c04d7932bcfb631a8cbd0322cc81cc35a0871fdc8843f0d3d376b42bb2d7cacd5378f1d7e0f497f0989be1381ee9e8dd3513a899a9ba268199 SHA512 6029394a2639f610b705a820bdc92eab6849087b6964aac46e1aa9a2bd897f06e45919cb32441115081c3ce26097e6a083d9826c43bb7da86b2859855e7f9d67
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8,9} ) # apps work with 3_9 but test depend is not fulfilled
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Utility to communicate with the ROM bootloader in Espressif ESP8266 and ESP32"
|
||||
HOMEPAGE="https://github.com/espressif/esptool"
|
||||
SRC_URI="https://github.com/espressif/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/ecdsa[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/pyaes[${PYTHON_MULTI_USEDEP}]
|
||||
>=dev-python/pyserial-3.0[${PYTHON_MULTI_USEDEP}]
|
||||
')
|
||||
"
|
||||
BDEPEND="
|
||||
test? ( $(python_gen_cond_dep 'dev-python/pyelftools[${PYTHON_MULTI_USEDEP}]') )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
rm -rf pyaes/ ecdsa/ || die "unable to remove bundled modules"
|
||||
default
|
||||
}
|
||||
|
||||
python_test() {
|
||||
${EPYTHON} test/test_imagegen.py || die "imagegen test failed with ${EPYTHON}"
|
||||
${EPYTHON} test/test_espsecure.py || die "espsecure test failed with ${EPYTHON}"
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST libbase58-0.1.4.tar.gz 6718 BLAKE2B d192499920a11f95037a46eb02b19ea5cbedefb14541c22a7c72568a69f4ccc0ed9223883fffd3337f12b718f3e39f11888c95a87b1fec481829989bd73dc741 SHA512 9b36fd7308a1a5486d77cb9baeeac49669a2c823998ff0885fee0757d6fca374f796b743e69af087e20a58b95556faf6c48106e034c09879937d96dae5fc7ac9
|
||||
EBUILD libbase58-0.1.4-r1.ebuild 1228 BLAKE2B b87b434c19c80c7c0ccdd7c6ea9e5c46686c34e0fcbc6da833aa6342558f3e69267d824c782ad72a0e97c14fde818eb6676ecca31ce6e2e04ad9543794e44a70 SHA512 52c279345472dd68c14ddb5ff0b26e7586bf1c3109e3e54a1c1d1c3343162f26d5e3c9faa92289516125d2450fa458d03037ed749d67250375f15443aec2ab49
|
||||
EBUILD libbase58-0.1.4.ebuild 559 BLAKE2B 9194cf1bf7f8f6e5b065f5043efaabfee32e6de8f7d743c45189e9149224b677ef6e310649d1c5b17fd53d715882035514426d5b417ae786d8840b4bd91acab2 SHA512 9d7718bf1cb20eb8208adff9bb65e44ef32ca0804ce403a8868c4ad47b333ca50498d84a758bc0f4c06070a2120ed0896b30106911e9cd8c7d8dcd3e511916f0
|
||||
MISC metadata.xml 546 BLAKE2B 82f8c4af155cefd55772b9bb93f62ca3ac7bebe9ce51519066ee9439293933490d279a6f0da794d1b39fc7eb1a8bf04ccd911685a11f262549957fcc2bdca476 SHA512 2944ee72c2a86666eba6ad64046c1d607b816ab8f2a0c1f3cc38805ebd4c95f9169afc4438a523298ac0a0038c2d9ea702571fb407fb7bf87d8e8fcb3b2ea052
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools multilib-minimal
|
||||
|
||||
DESCRIPTION="C implementation of Bitcoin's base58 encoding"
|
||||
HOMEPAGE="https://github.com/luke-jr/libbase58"
|
||||
LICENSE="MIT"
|
||||
|
||||
SRC_URI="https://github.com/luke-jr/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SLOT="0/0"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
|
||||
IUSE="test tools"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# NOTE: If not testing, we don't need non-native libgcrypt
|
||||
RDEPEND="tools? ( dev-libs/libgcrypt )"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-libs/libgcrypt[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
eautoreconf
|
||||
|
||||
# NOTE: Needed because test suite uses srcdir instead of builddir to set PATH and for
|
||||
# multilib support.
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconf=(
|
||||
--disable-static
|
||||
LIBGCRYPT_CONFIG="${EPREFIX}/usr/bin/${CHOST}-libgcrypt-config"
|
||||
)
|
||||
if multilib_is_native_abi && use tools; then
|
||||
myeconf+=( --enable-tool )
|
||||
elif use test; then
|
||||
myeconf+=( --enable-tool --bindir='/TRASH' )
|
||||
else
|
||||
myeconf+=( --disable-tool )
|
||||
fi
|
||||
econf "${myeconf[@]}"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
if use test; then
|
||||
rm -r "${ED}/TRASH" || die
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST Mouse-v2.4.10.tar.gz 222745 BLAKE2B 3d0f5d3c6f9183f67db24ec9859bd945080bf5f9f9aa370dfb6803a6d32e7e01e589540d24bdc0a0fe338a08d9f89845bd8ef060d381717ec709877de066f2c5 SHA512 57d797bed24ccea66307d95395bb7d5dd860c0bc41e25a7701cf5a16fdf28776dc7633a6b8bbb1bcf6684b930385da71bf2d44f777a211988a500e30bdf8e9e5
|
||||
EBUILD Mouse-2.4.10-r1.ebuild 1057 BLAKE2B 873b232efc466402835c2d18169d36d402ed09c7e9b9163e5515991330782bba318980b72cd07792d8739ddbb8b2684f9a1025225bbafa43e662504eba751fa1 SHA512 fb662b82425b6849854a97a4ad0a627ac871b37957d88d2c45ec31506f7cabf32b149d272605d6efc0c074d699d92b80ef922f91362f525f9e2c45f3fe93988d
|
||||
EBUILD Mouse-2.4.10.ebuild 786 BLAKE2B c9212c9c6f97ed0b1419b74f31f7810b22aed1d5ba6c37cdef9be5934d78ac3411ce3f6bb84d21f826b65a9f5aba386a8cc7e5eb3373528d892c4e1c0f698c55 SHA512 aec56e3b39fab0cbf59844d8c8380a2bdecb2904e8b26e83dbc314a41f541d276b00f52a207d2e7e1f9a448c70319e4067ffb78675113ab484f36f4a0acf7a59
|
||||
MISC metadata.xml 2262 BLAKE2B 0916b57428ea820a1ca71f1487de36dfa3441b86241b9d372c30f32014af2901b7a79cdb1a9b3ff16cbd0a98818b7316c7555277f9bbda8075a5f6aa20c0cbbd SHA512 3221d09e315f504d05902d6d1417902c6d1cb8bddc517c2a541191f40ce7891f93dee31fa8b6da4a871960ba7bba4a2e3ed281dea90c8b847b28c164ab97a48f
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=GFUJI
|
||||
DIST_VERSION=v2.4.10
|
||||
DIST_EXAMPLES=("example/*" "benchmarks")
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Moose minus the antlers"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/perl-Scalar-List-Utils-1.140.0
|
||||
>=virtual/perl-XSLoader-0.20.0
|
||||
"
|
||||
DEPEND="dev-perl/Module-Build"
|
||||
BDEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-ParseXS-3.220.0
|
||||
>=virtual/perl-Devel-PPPort-3.220.0
|
||||
>=dev-perl/Module-Build-0.400.500
|
||||
dev-perl/Module-Build-XSUtil
|
||||
test? (
|
||||
dev-perl/Test-Exception
|
||||
dev-perl/Test-Fatal
|
||||
dev-perl/Test-LeakTrace
|
||||
>=virtual/perl-Test-Simple-0.880.0
|
||||
dev-perl/Test-Output
|
||||
dev-perl/Test-Requires
|
||||
dev-perl/Try-Tiny
|
||||
)
|
||||
"
|
||||
src_configure() {
|
||||
unset LD
|
||||
[[ -n "${CCLD}" ]] && export LD="${CCLD}"
|
||||
# we have to do this outside src_compile
|
||||
# as the stupid thing recompiles in src_install
|
||||
myconf=(
|
||||
--config "optimize=${CFLAGS}"
|
||||
)
|
||||
perl-module_src_configure
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST X11-XCB-0.17.tar.gz 90833 BLAKE2B 7de56a99abb27373f0473e4d98c177d3db4f4811bdee358e79a85db26345e59f3dfa0998e10678fce1585ddbf1f58796f75d2adc198ec6d23ae521720b3d93ae SHA512 8a5457afdb3b32fd6d425a27dee1a6afbbded222cf71a9d7201ed2c0db0b0b7c803ae3e69a897c510b9b07b79e880efe0cf062ea025d2d3ff7ee16d364c568bc
|
||||
DIST X11-XCB-0.18.tar.gz 90478 BLAKE2B f5f3c74c1afdcee75bfab29733180b7d76aeb1be7a5fcdffc9acc1a15f9b842b12e88d826f5ce182b4e3ad5d36e9b44a0169341fae5ac265270462efbad0e60a SHA512 eeecd8fbf080a6ca2f28b8fe4b64c97339f27b27c9c70d1a8e7c0f56af193243295aa1fc65039d24c81396126befc27ca114ca4cd1641139a788c46fe600f3ba
|
||||
EBUILD X11-XCB-0.170.0-r1.ebuild 969 BLAKE2B 0b41dd8101b0890c389fac469d2810a5c9d99c62e08cdcbff2e3bf0e1550091e67b514b9cbbe5e8fc6deac89f84ae87a8f17a2d7c7bcc8905be7356b771afaee SHA512 e096b5ed126476b90e45b4215bdcfb4cc8342bc713ecd6a792e34d9749d5d7f98074bf283af5c253d138e692e27b216bdc3fbe2653292bed260b29180f6e6945
|
||||
EBUILD X11-XCB-0.180.0.ebuild 1103 BLAKE2B 3299ce5e0ff67b2eb585ae572d6d0cdfa11a0c554ffb2272bbef3b73219cc0ec0fa4cb65015be972f8087cc34283bf921f6bd4d6e8f3d01ab4260338c23bd127 SHA512 5432fba419afcae155c420c721620c704bea86f5183a66c1ef342d90b7f3c7d0ff6f7ddfdca48e5f5e93a9d6c8806478b1142883bb9f5c053732885ffac57a6f
|
||||
MISC metadata.xml 1271 BLAKE2B 0ee20f9f998f19334c078ffdb26e9ec0cb8d7cb14ef8dfa9d7cb0aded10f89655048af8ab91d11079249b73d84e532d590202af181645df1df71b79b56d098fe SHA512 279d8c3522207df5f1fb7ab6188e8f8848bd18c25e127d1f59765ddb5a6b0fcb89e949ccb703513c592c781396f893befe7a46f9083e4c94640c3cd112da29c2
|
||||
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=MSTPLBG
|
||||
DIST_VERSION=0.18
|
||||
inherit perl-module virtualx
|
||||
|
||||
DESCRIPTION="Perl bindings for libxcb"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/Data-Dump
|
||||
dev-perl/Mouse
|
||||
dev-perl/MouseX-NativeTraits
|
||||
dev-perl/Try-Tiny
|
||||
dev-perl/XML-Descent
|
||||
dev-perl/XML-Simple
|
||||
>=virtual/perl-XSLoader-0.20.0
|
||||
>=x11-libs/libxcb-1.2
|
||||
x11-libs/xcb-util
|
||||
x11-libs/xcb-util-wm
|
||||
"
|
||||
DEPEND="
|
||||
>=x11-libs/libxcb-1.2
|
||||
x11-libs/xcb-util
|
||||
x11-libs/xcb-util-wm
|
||||
x11-base/xcb-proto
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
x11-base/xcb-proto
|
||||
>=virtual/perl-Devel-PPPort-3.190.0
|
||||
dev-perl/ExtUtils-Depends
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.590.0
|
||||
>=virtual/perl-ExtUtils-ParseXS-3.180.0
|
||||
dev-perl/ExtUtils-PkgConfig
|
||||
dev-perl/XS-Object-Magic
|
||||
test? (
|
||||
dev-perl/Test-Deep
|
||||
dev-perl/Test-Exception
|
||||
virtual/perl-Test-Simple
|
||||
)
|
||||
"
|
||||
src_compile() {
|
||||
mymake=(
|
||||
"OPTIMIZE=${CFLAGS}"
|
||||
)
|
||||
MAKEOPTS="-j1" perl-module_src_compile
|
||||
}
|
||||
src_test() {
|
||||
virtx perl-module_src_test
|
||||
}
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
AUX aiohttp-cors-0.7.0-py3_7.patch 991 BLAKE2B e2a08dab701bd31e4a9008c8f89ae97508fb6b99b89db69a05b731849e09c6f04e8b148d82d38f2093e00bb9bee03e45f230cfc8eff4b71ca7797a95524732e2 SHA512 efe7c488d9f30da7eebbe355d86c603657bddc75c88f5cd1bb4b0e76b17f26f5827cc2f42ab8766767a4ad16c08fa636a4f61e50a8c478e7f32eb2567e26427c
|
||||
AUX aiohttp-cors-0.7.0-tests.patch 2422 BLAKE2B 4660be793987dd0cd5c945703aa4d6d4b499ba0ab1c305b80e26bac9cc87d811131f6ab179e402821740f193bbfc86a384b58e35aaa453fdfd5d4db3bcc44b23 SHA512 b3fa463b87a112529443f516fe1c37ffda092e8a0133a6d37f407519e32842f65773c87e939082591edb969ee243170be3a4828896ec5ffc1150c3f43aedd9d5
|
||||
DIST aiohttp-cors-0.7.0.tar.gz 39728 BLAKE2B 747499856272f551cf8e2e0911ff7cbb2c7cb8a1f3159327dd8f0d40cabbbd9713a1a9e30ef9c99f3f9642567c99025e049db837c89f907d6698a27005ac2632 SHA512 72e0b365b952c08a02c1123d7672cfea01063e2ff01743a71e10f804d22178edc0f1c6b7f87b7ed484ca7c24e89a32de90d0d279f2f5c060427319182f9bdd3b
|
||||
EBUILD aiohttp-cors-0.7.0-r1.ebuild 963 BLAKE2B 8d4048a18c07da623ca314449dfcb8840274269cd547685d620686623e0d438bbb646f1fe40418573c4913c1d5e436503107b8d5ce56ea4d9747691b6c6a5a7a SHA512 ad763d456cce896a7ac04cd89f344132df8ebc4211430521c6a66d9c80446f41c965b8b3b0a2c6784c496ca6ff453a89ee65aae5ea6a9d78dfa093f223fbf519
|
||||
EBUILD aiohttp-cors-0.7.0-r1.ebuild 969 BLAKE2B d4f10803b20942448246314c2f79a901de59e78e57095d622f64fa9011d662d0c0e0437aabf038b9231d8fa94591ac441fc9c5eecc5737120690104e9c166a0b SHA512 db477dfd00e58213a59668fbac6d91df028ee526d6d43269af95744a01014fb5b575f230d1cdcf60d1855024de2222780d458dac360d4376547c95b3e9fcb350
|
||||
MISC metadata.xml 453 BLAKE2B 425da23ceef20765f00fd1f15b34bf99166f66dc7d6cdc0ee74a7d6439ed912ebf79c365daf9cb50a918802706aa8782d88cee3520b1e37bf3e6505579521263 SHA512 690dfd58364f19eb58ae3348b9b2a8d64fdf4324dd26fb63cf563762f4f8368437fbae1afeeffeb0ccaeac100d793008e28b66309139e27418ef5cd70daf0d8c
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST aiohttp-3.6.2.tar.gz 1076923 BLAKE2B 14327a0bc5b5fffdf436a4c3525e4c25d80100aa464ed652316f7724c2bea6de4ace6c27e8a2a8cf9d895673ed63ed52e8c958ad611636e1e524a4e40efa4735 SHA512 49bd3089158c05ff6312420190ccd7fed95efb4a18b8aff7497d5507c71c692080d6949801edabdcd95379ca8e6614398408118d72ff1e782399e059e2cfc1a8
|
||||
EBUILD aiohttp-3.6.2.ebuild 6767 BLAKE2B 0de8d4b42fd6887d14d653a53f625445b4a82bbda1013c0cf307181b62df189662f7184295e71e0e39a37bfa31e5ae3c7ab44af46f232567a9d56c5be71cdf45 SHA512 e4873b0859efece0f0fefc5d1e5ea197f13264f8a2c9990d4882f9fe2fa3484f76366b47912e979c9abbf1ef555154ba098d9fb5a22639e7b1951c939b6a854d
|
||||
EBUILD aiohttp-3.6.2.ebuild 6773 BLAKE2B 342d5d105acc45b74248d3ca7cf8a177c587df21d663b3a09e208110024ee11a4f4fcd5170133167763aa8a2a159302703bc44cc26b8a092fd291dc58a553dea SHA512 c3a1c6013f96f6530aa3b71b9dde0b841e4458ed4fe1e2b8e39ad8e5b588b2d0104ef5d6a1ca3170c98641ded6cbcbe4f0511b9c4c3e136a2e59418122179747
|
||||
MISC metadata.xml 489 BLAKE2B beb80da34848dfe7b81ed65d75923480644ecf42e2c5ce04a7f66f3e729651fdc6035054482aff966ec9f03cfbb812d3be0afd783af69e37f1002182e4885473 SHA512 d8c9e2edb8a57a3b6b02bb5314aef77dc266af6e80fd0300eb0652c59790232017d0062f5b7361b059c382d1c904f0f46cd0e672d1963e9595f3d4dc7514f182
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST async-timeout-3.0.1.tar.gz 9724 BLAKE2B f18ae75969b7048469fe22949f25ea25da3fdbf08b98a16b5d5ffe823060a75e6de9ed764727e08d4344c79426e9c89013d49522f20ed62e6fbe912b5c7a8787 SHA512 fd30842671a79edfd52c7350e7fb2120533a6d97b44975f7b071ce2cbde43443bd5bbe1f2ad0ad3ab2156e1987b9e58e0c149b0ecfea8674eb0cb78eee79c986
|
||||
EBUILD async_timeout-3.0.1.ebuild 1010 BLAKE2B 7bd01071579885750bd7ad8da1cf2ffb9197bd2800f907fd1196fa6c5e0114b6f9859227063034e508a0917afa62f76a23d73695f5ac43bbe7096c81afe40ccc SHA512 45c92992ebd0772e02ab511eace30644049fd1d481e837aeffd09685741fb502006f7c9ec7cec2eb998030c1fbb0126e526d49c6b1a3f7ff50224bf2ce9bd6cf
|
||||
EBUILD async_timeout-3.0.1.ebuild 1016 BLAKE2B 1c27655ce984f1a673a9b74b8b673d15f5ef26fe48d60398a89b8467bcf44f11f03ff5a7299c4f0ba793388862e2e4b732f6a1542e281b107f3c7d43fa57b5ea SHA512 dd6173ffeae7a4dc22efc74e623e3638c2f2fc8551aeea1e70d62e01b3d90cc79cd995327265e5eb6dbbf8a272e94edf85fbfdb7977d36e0de472bc3d99606da
|
||||
MISC metadata.xml 435 BLAKE2B a3bf9896730a3f697c6a41257e9f3c168154760ffba1cc5d5660a1442a3b5f5f8032d48ae0b069a412e3ef2e792376e29d3a0867a46576bf8b412acca0798388 SHA512 a7a43ad3fabf98be2d846d8a4bea1ff2a867f934e27d9f88b1c76daaf4d4195f8ffc6039f283313dd009566c732bcb0ab8a847e0b6424afdce902539530637dd
|
||||
|
@ -1,4 +1,4 @@
|
||||
AUX black-20.8_beta1-setuptools_scm.patch 467 BLAKE2B 4dd16dde09bdb9c9b8480eff2542f11cbe712919dec6678193fae1dd2d58c646c76ecc4831a6bcbb54ed5a7f3692f61953bbb8856e8dcf6b64918ccbf32fe69c SHA512 47df09f60aae9ebbddfdf513d9b6caa30aaf60d65cd21027e965b0544085d63312dcbdc54906a0d1ef0edfaaf00f3cc753a7af3c113f4001ef4b48ca53e04c6d
|
||||
DIST black-20.8b1.tar.gz 1092546 BLAKE2B 5a0a755222617d8d551b627c91670ecc32a9330cc1197900a9d21b071d0d99ddd32e09786becfc577407ab402f6da3d8683a59a9deaea1f6b4f07b9e1e4ecbed SHA512 53d6f6a6f47027e5bdfd3909471c993480034c8aa8ae395792565b8d79fb4e3a44299ea529652c0ccabf4309d645db9179bf54efc06fee20517f479e91cec838
|
||||
EBUILD black-20.8_beta1.ebuild 2202 BLAKE2B 5f8b27dca69aa094f5a0e1e61e7b18005905f0eddccd06e4e05f9e0150291210cb688a60748e87a8d7a088a44509152b3c65892aa71e9cc88218653ed0727fcc SHA512 65a3c5275addbcf968f3e8a17602a4b63b2ea77f216410d6eb2a3558582f7311b22fd204ddd7ad282eec5d0fdc252748f3433865e3be7caf80d11fa59b730043
|
||||
EBUILD black-20.8_beta1.ebuild 2208 BLAKE2B f62389dee8fa25920919c0193575772cc368941e350b9931ecc2835913abd1f2abb15ae4ee4faf55e0383ce7b78ff7f7d41bbb640b4ede7358f58ebcfb857ea6 SHA512 ed789a187def1d15039ffa503220098eca0095d7d0ac7bb4bcae46071613268b770ea97d7606284d980f69aa4869bd36639f01044614791c3626b55a98bb03d3
|
||||
MISC metadata.xml 255 BLAKE2B 2bb3830b8cec850703f7912f4c22f5b0abeabeed0715222bc56141779d02160773cfd0f85417c553c1cd8f2738bfeb78c56dffb8e648e572019319657646d1ba SHA512 522158915afe67937f81ba572a918a2de8ca1f8591e097da56799c97870d7c44756c1acd8224d63bd3375c2b9ebc0e1ce50816899117948a48065a27804883bf
|
||||
|
@ -1,6 +1,8 @@
|
||||
AUX 1.4.0-tests.patch 782 BLAKE2B 255832295218f4119fa152246606f67a24bcb7e71fa31ec54e164d1d5b154c98559fe7081cda4d2a6eb85599e4ff73294d6bcf8f0fbda79bb58ad8e70927e43b SHA512 09c3fee689dde053f0fe10e7f97919b6a5990744bd50960434460f5266968c5ff6ef47f5a198ddef681755394a054d4a5d4cdc7c78eff9c8ffd1d07b516c5b61
|
||||
DIST fqdn-1.2.0.tar.gz 12275 BLAKE2B 0bc862863ee3b196ea08a1f4f50f98dca88e8b81f37d2cb97bd3fd74ef9844157ea7a9f38707047fad17b95fb95c2f0e7ace8ad2c2310171cba6ff43471ae63d SHA512 ddfcfd82860d597075fd2d989d4bb1cd8c1dc79b711da432732bf786032e78b9356e04851a491c5299b336dcde173a66ddae0e23aea59b67c758d997554b494e
|
||||
DIST fqdn-1.4.0.tar.gz 12962 BLAKE2B 76b7bd7f2ebfd77b2bba04f7e07cdab42f0ff6c7ad5967f52e4c108fc3c3345c88a220b9f0330d998dc5abc53909d5768b1b52e08e48bc1e16009fa39f3afa16 SHA512 e2a67e97bc832526e234bbf19600af2e7eda8f7ede13ba33ec8c736888d19693727eded4b895efd4c88ab2e232db768d42761f44a479e615e13da8ddbf6d03a3
|
||||
DIST fqdn-1.5.0.tar.gz 14630 BLAKE2B 021b4e53c42830a5523964961cde9857bea9eb700cd2030331b05006ec4a8b7e05a9f2330748b0d84531526e17d81ade73fb04e65db381417f2d7f618138f09a SHA512 3940955df50bcd0bbd5cae82f148e9a8ef64b6db84dc867fbfbfbdd661fcc42208a7506f931209347f9115722c00e330fc03c5bdd459cb4a98d0df59af48c492
|
||||
EBUILD fqdn-1.2.0.ebuild 625 BLAKE2B 3f3ff8c5a36dd5fdb0ed8cceb030432d2da6215fb132c4a887d84b9bd89175bdca6ccb68e06ee42408757d1730ddf78d29198e6d59087ba38a7dcbf6032b3334 SHA512 fa46d2d375ef21a13f25f6c66d25676f2ee2b689710e1d5270c966e1d853336dd9c7ebbcf1ff27f876697cf1aedf49e8b9731c60a3d645d5b209316e7ef98e69
|
||||
EBUILD fqdn-1.4.0.ebuild 590 BLAKE2B 3b03928434d87df6d037a249f3bb70fa6c76138645f9ee451f7e615901fcd0dc73a9d2fc25ba8379af0f64bb885b501c83ebaedb718aca9a3b16490ca3ab4da2 SHA512 ca0efe80191eb429379302eea156a6b1fda6407fbf4027b57873513e84b37e93f365ce97ae559f3e2c618238ee8747d1fa2abf7829216f86b0872e97e2a5bf02
|
||||
EBUILD fqdn-1.5.0.ebuild 549 BLAKE2B b0415d64bdd4f8e6d0d4ee8e730a0b61a7e83a9fc9e497430b3309686e36828ca359cb964920b9e6c82a1d0338d63aa8bb5c74f9212b2cb97fe4a96e5ea3b9d2 SHA512 31bde258d6ea380b75596a8029d0b02d627c43087067f8c90f908c6880db339f36cb227b27f551173d5bc5c11159ec5f5061d9cdf4fecabf0a776020894e06c8
|
||||
MISC metadata.xml 651 BLAKE2B 52e04a7e3de79067b3ef936ecc8bd0a2ad9db6157901992e45b4c96fd84cffe68a836fdfabd3e6b8350e53fbc88af9fc5534d0754ecaaa7f2df8e4c7af146951 SHA512 1f938747b18ee81777209bc80b6ffd66fb680f980feba5e7fd2fa13c2e96727be27be004a4e69b244629e00da851b2ad384691816ebf49cc81e73e9ca000f1bc
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 2018-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="RFC-compliant FQDN validation and manipulation for Python"
|
||||
HOMEPAGE="https://github.com/guyhughes/fqdn"
|
||||
SRC_URI="https://github.com/guyhughes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
|
||||
RDEPEND="dev-python/cached-property[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs
|
@ -1,3 +1,3 @@
|
||||
DIST idna-ssl-1.1.0.gh.tar.gz 5267 BLAKE2B 07912379da74e4711f291a54bd0878e08d8820005b055f9b978a684b8263a801a7fb9ccbbf395aa226e009b3ebfe4a7cca11861502a9b859446279b111911209 SHA512 01e58e9f32f7e02ef203edbd76e199916ea0b16d01a929ca2fb272d83988483c17e9c36e131f47bfba7f7b657bef9e2be222f81800716a5b87d5847c27cce34d
|
||||
EBUILD idna-ssl-1.1.0.ebuild 863 BLAKE2B ece4f9cc4f90fa70e375476c83ddcbc2e7eb020e77046d6b5a5f1b64cabbc39bea854dba6677e5633657b0a9255084bd906840dc4d46673f6cc5ca72f584f467 SHA512 89feaa7ea05739dd031cfca57f2373b24cbeaa49f700744dcdaba8652dea3eccf0bd7fa4ca15f984d2d142b0bb95b9af326f8127e90c6f1b456fff27f021a088
|
||||
EBUILD idna-ssl-1.1.0.ebuild 869 BLAKE2B 0d4f56f18ddf5cd34060ac32b2ba3f1ea46ee5aff6a16dceb55f9210917d08914277966c0d4911ba9bbf1ef2e57f8ced57af0f0024a347b7762a87c49f437eea SHA512 7e232d172d58ed3d05546b179518c82e64707c3e4361c8aa1f6aa5c1eeec22801f91294e1c07124657a2c6b4d75e9b501270ef45f29eab54b8685da85b57252a
|
||||
MISC metadata.xml 368 BLAKE2B b2f78fb9dea9edf6f2b2a7fb72412302b014e8b1b536653ae12fcd2bc8fa94bb253ff780aedcfd32fcddfcc2030b363e12440dfa4efef1a886e99b8b0acd8dba SHA512 531bbcdb7ec492aa4c38f4352cb0a93c618c60d9f8920ff476f6f8b7991744ccba2188a9e441e696a02d1c4ef4ea9af3afeb2c81a0d046e700796ee45b7f3888
|
||||
|
@ -1,3 +1,5 @@
|
||||
DIST lmdb-0.92.tar.gz 155720 BLAKE2B fa991dba144e636d395e264c70de61bf6e1391bed589b8e67075eb604ad3cde7bc1593f596f884e13ef4c744efddac93467eb0e9d7e79d445a71e21e1f5541f7 SHA512 5177abe0c441fb9067ad84de0cafda960113042404507eaf36194efe614fbc9fda37668b9d8a07d4a7f674b0c1a267194ddfb241834a3b1db0d8026f53841cf2
|
||||
DIST lmdb-1.0.0.tar.gz 876673 BLAKE2B 33fdf7dd344e42412b756f7c6d42c291f94bb2410366802b22b8045c8ae5ff4f73f41cdc655e750f0ccb9f547f70b190bb9b584d7858edd07c1fb274bff684eb SHA512 3a4dba711ce5a3795a7f916cf04d5c7e9d4b5df30161dcbd02b53bcec73b96450865fb2bd8fe4a9ca2b5060531d03cefd9ea19aa09f139f93c3d03b2516f5632
|
||||
EBUILD lmdb-0.92.ebuild 569 BLAKE2B 67b60c349456abd4d8ba7f78013d2fc8fcb38ff1992128c1c9d4c1ae680d0b2f68850f0cc3a82ef8d946926bd803d47394b17a041553e67e76bf9c7274bea1c6 SHA512 d292090a491df1bcd155186b1a2eb93eeec51f556bf83a5c909af8c8ab43b956e5e8e5d64a5a8e99199238d32ee7421ec016864f60e3d3a1721e384b2cea22a3
|
||||
MISC metadata.xml 369 BLAKE2B 753c2fcd809cb0b69b60f4581421e3d2abb40158dcf3931a70c2c2adaeaf22f5558707a6dc39ec2b9d8724d9fa3bbc370cf790a8bb550d00d59e10cda643ac88 SHA512 4b2ad4e50acca757e8a1ff4e659ae99c8c42788ba6cc1e1d503cb371cb897443e6fbe3b7c2f7f8ca0b6409da9e7a7961a644aaf615d306da8172687caddff3bd
|
||||
EBUILD lmdb-1.0.0.ebuild 751 BLAKE2B ddaaa2fad5c87a1e4cf45160782c798361c4f1b4accc29691c00d02962899cebbbbb5715f4ab314d8fa97c2c07fae751da53bb136a43d4ab25b7cc86b6231376 SHA512 3fb3ac91b33b8d6591575aef9aecb4b5c0d371c9953c45a7a887b4d1b611128466a39eca6160a11abaf041d5c1211f02d95bcb5368d826f5fff2c1bdc075e646
|
||||
MISC metadata.xml 419 BLAKE2B 7bb3bd08439249e8bcb7f64d91a707245dd2c32eefed576a4389019217c304173754628f1fdd82f147e6f7a077e2abcb6062dcbaf76d0547c8d710c8d16d0a64 SHA512 700345b4a50d602e35c983fadf73eee5da01b7d9dc4a647966277aeb7fe1fb26f583c681acf1718060dff14b195df7fa4689bad2451c475d1883b66e223ad29d
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
# TODO: add PyPy3 when it is supported
|
||||
# https://github.com/jnwatson/py-lmdb/issues/260
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python bindings for the Lightning Database"
|
||||
HOMEPAGE="https://github.com/jnwatson/py-lmdb/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="OPENLDAP"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="dev-db/lmdb:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
distutils_enable_sphinx docs
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_compile() {
|
||||
LMDB_FORCE_SYSTEM=1 distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
pytest tests -vv || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST pyelftools-0.26.tar.gz 792390 BLAKE2B 523e6f64205273e8362db92900aebdc05849c5a55d48f75aeae4aa0c58d6dde35ba73c660a5993b211b210fba634360befbdfa90077a140d708c71091918e306 SHA512 dd166f56654592f6a0d7a91bc41c01b9300de6d2f08b204a61ac48eb3f4b3224f89271c5fe66adc41d71a5e2bed8ddfa4ad495098df917623f7aa90c2caffeca
|
||||
EBUILD pyelftools-0.26.ebuild 935 BLAKE2B b81988c3108d6522e4537c9da2e5d952e6ee2895ea1c10518da45c86aaf398a34146495adac696ca72f1b0ff9930d17bcf0c932454750f547df3916e22e18a15 SHA512 91c387234c22803395dfe2005473c2220c334dabf6a138bddd89a512c35e98daa6b7d5e1b9e389eb1486aff92ac075bfb584de5fe7d875c6676f0ed646cb295d
|
||||
EBUILD pyelftools-0.26.ebuild 937 BLAKE2B d8404070c6ab741da801f2ad52ec00f9db8563aff3aa5301cfc0e4d1c8d6599dcda28dd80a85b9dd72cfe01a10e109bb22a462ce2a07c11119874d24b00b6aff SHA512 71e4111e57aaea769115a6ccfc5df3e01d88947c1be4a192880e360897fbc23ab9aa1933031d730f1e5ccf68d7cc0a9e58b8a1f04c4d42136fa70dcb296da187
|
||||
MISC metadata.xml 394 BLAKE2B c89bcd4af21dcb7e2136ac81fdd480baa7749aee4ec4760a95192daed4b1db944e30ad84338a147cfbf56e36b7b8bcb3d7130c3261b7a34a24c6b1ef7539a9cd SHA512 7a09765be5f629bffc63e9a0ce39b84d3671a10d6a5223bc0f4d96ec3305579e7f872c708e744bc90e5d6a43d9c6a948fc4f66da3398b1c160325829ff714e6b
|
||||
|
@ -1,5 +1,6 @@
|
||||
AUX pypy-7.3.2-ppc64-segfault.patch 3077 BLAKE2B 88085062fb0db4641f995a560386fb3adca7ef9d54225ad42a9a52c0bb976a816366c1f94e1a17616b49213635ebb9305e090e7e1dcb9f8c05cf5dcb9a08e6f1 SHA512 c07698452b0c88959a08ecc3730980dc1899f39b43d71b62b455ed0c8fb863717f0d8555c7f96d2c465c790fecfedb0c06afc5bb8b5b6255ee04c66a7ac1c377
|
||||
DIST pypy2.7-v7.3.1-src.tar.bz2 21053306 BLAKE2B 071d59b7978c98e9ed9243d9a64d93d21b524351cb9a45e0f7d48828f919c84585a1164e7c38739fdd8828ab4b1eedade96dff7d64d0d9cbfe00c74d88d532bb SHA512 1bec44fa0fc4b1186e25f69303f9e332df32184be990d86fba41c40152664a93bd65eabf4dded133371271402cea9b150b60c13bce89d1004b276f0908c0b8f1
|
||||
DIST pypy2.7-v7.3.2-src.tar.bz2 21142873 BLAKE2B e6bcd2dc28ef740962d053753ccd172e3895fc83fe23a319c003248e0986f9805839daddd13a0f480f1e9ee813979742699cb0bc8c42b6b05c193fedf67aea4f SHA512 b40d93d615a27e3a035007307a8ab2b49ff90f3047af914b268a80feb8219d372eca14c04a8b0dea91efb992653457b7c6d088c784de32c414cc48879f2d15fc
|
||||
EBUILD pypy-exe-7.3.1.ebuild 3891 BLAKE2B 1121625d5422a1d52114e58fd7f1632f175fc1623b2b931c3fb528acb1f18fdfc1a0859218330fe3e7c20bc539ff2819ea21cac2cb41328a4d295e7f5e9f684a SHA512 6bff225e427ae47b014a20ae7ab3893e55a893d5ce0670dc0474b4e6626113f5cbeef893e8585d42c8be78a64a051addbbbff1eb90b2266284d6064e73feeb2f
|
||||
EBUILD pypy-exe-7.3.2.ebuild 4074 BLAKE2B 2e5f26deca32905d708882f50edca4ec1af675c61a4284f6a6cd174ca7d7dd09b9b2693b67afedaf30fca54db7640c083d88a69ae6f1e75b30f5d4ed0f575a4f SHA512 bb74c3250fc5d9d9d393923925a317b2c155c209f54c97f7f353a5860c778e3a0b999f4f58cbb89cd94204440c91f4cc70ffa96f99fc61e986cbe9e49898d994
|
||||
EBUILD pypy-exe-7.3.2.ebuild 4134 BLAKE2B 41a510875ed28bda552ddd80609ffe31c2d5eea78416af1dedade3616cca89f472c96968013b4855a7a2f5367530ca35a773cbb25cdaa7b6fb60d4de2ee01ae4 SHA512 addda776a9aabdcc9dcfabd2b59ee1d6b7c1938824abed3e69e912d09325669fc61959edf74c4ba15c1704e7e7282c7de386dcedc4265ba62868dbf01a7c1b99
|
||||
MISC metadata.xml 497 BLAKE2B 02040ea95327971e16090c00e5771bc684710e90000ca07b366226fedbae8973a1f4bdd9d37506446a2fe3caea4fdf83ca186d2706747adccd14ea24a19486b3 SHA512 816621f5288b822fc1c7b360ac6f1e5f7b464a60c9b6e58fc464860bb8a4f44be932fe6562625006925ddda2b5cc14feeaef587303642d894494ddea6472cd2a
|
||||
|
@ -0,0 +1,64 @@
|
||||
From 913e0dae8ac7ce8219a5f31126fee8a794cc314c Mon Sep 17 00:00:00 2001
|
||||
From: Armin Rigo <arigo@tunes.org>
|
||||
Date: Sat, 26 Sep 2020 09:26:24 +0200
|
||||
Subject: [PATCH] oops, fix for test_gc_indexed_box_plus_large_offset
|
||||
|
||||
---
|
||||
rpython/jit/backend/ppc/opassembler.py | 16 +++++++++++-----
|
||||
rpython/jit/backend/ppc/regalloc.py | 4 ++--
|
||||
2 files changed, 13 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/rpython/jit/backend/ppc/opassembler.py b/rpython/jit/backend/ppc/opassembler.py
|
||||
index b79b18e530..4bbfbba93a 100644
|
||||
--- a/rpython/jit/backend/ppc/opassembler.py
|
||||
+++ b/rpython/jit/backend/ppc/opassembler.py
|
||||
@@ -755,13 +755,19 @@ class FieldOpAssembler(object):
|
||||
def _apply_offset(self, index_loc, ofs_loc):
|
||||
# If offset != 0 then we have to add it here. Note that
|
||||
# mc.addi() would not be valid with operand r0.
|
||||
- assert ofs_loc.is_imm() # must be an immediate...
|
||||
- assert _check_imm_arg(ofs_loc.getint()) # ...that fits 16 bits
|
||||
assert index_loc.is_core_reg()
|
||||
assert index_loc is not r.SCRATCH2
|
||||
- # (simplified version of _apply_scale())
|
||||
- if ofs_loc.value > 0:
|
||||
- self.mc.addi(r.SCRATCH2.value, index_loc.value, ofs_loc.value)
|
||||
+ if ofs_loc.is_imm():
|
||||
+ # if it is an immediate, it must fit into 16 bits
|
||||
+ assert _check_imm_arg(ofs_loc.getint())
|
||||
+ # (simplified version of _apply_scale())
|
||||
+ if ofs_loc.value != 0:
|
||||
+ self.mc.addi(r.SCRATCH2.value, index_loc.value, ofs_loc.value)
|
||||
+ index_loc = r.SCRATCH2
|
||||
+ else:
|
||||
+ # larger immediates are loaded into a register in regalloc.py
|
||||
+ assert ofs_loc.is_core_reg()
|
||||
+ self.mc.add(r.SCRATCH2.value, index_loc.value, ofs_loc.value)
|
||||
index_loc = r.SCRATCH2
|
||||
return index_loc
|
||||
|
||||
diff --git a/rpython/jit/backend/ppc/regalloc.py b/rpython/jit/backend/ppc/regalloc.py
|
||||
index f3ee1129e4..827953cf12 100644
|
||||
--- a/rpython/jit/backend/ppc/regalloc.py
|
||||
+++ b/rpython/jit/backend/ppc/regalloc.py
|
||||
@@ -771,7 +771,7 @@ class Regalloc(BaseRegalloc, VectorRegalloc):
|
||||
value_loc = self.ensure_reg(op.getarg(2))
|
||||
assert op.getarg(3).getint() == 1 # scale
|
||||
ofs_loc = self.ensure_reg_or_16bit_imm(op.getarg(4))
|
||||
- assert ofs_loc.is_imm() # the arg(4) should always be a small constant
|
||||
+ # the arg(4) is often a small constant, but it may be too large
|
||||
size_loc = self.ensure_reg_or_any_imm(op.getarg(5))
|
||||
return [base_loc, index_loc, value_loc, ofs_loc, size_loc]
|
||||
|
||||
@@ -780,7 +780,7 @@ class Regalloc(BaseRegalloc, VectorRegalloc):
|
||||
index_loc = self.ensure_reg(op.getarg(1))
|
||||
assert op.getarg(2).getint() == 1 # scale
|
||||
ofs_loc = self.ensure_reg_or_16bit_imm(op.getarg(3))
|
||||
- assert ofs_loc.is_imm() # the arg(3) should always be a small constant
|
||||
+ # the arg(3) is often a small constant, but it may be too large
|
||||
self.free_op_vars()
|
||||
res_loc = self.force_allocate_reg(op)
|
||||
size_box = op.getarg(4)
|
||||
--
|
||||
GitLab
|
||||
|
@ -1,10 +1,10 @@
|
||||
DIST pypy3-exe-7.3.1-1.amd64.xpak 11657579 BLAKE2B 1a037b447c7a73ac37bd7c33f4009442dabaf082a844744093dbb0f835b71abad48a6bfb28ebed0b02bb8a86f59f11b351768f152fd5db8b31ee010b14ffde79 SHA512 ee03ac675e6967d306136e79cbbb1554c44a32a21a0756b09dd7c1af84a9b3cb7e69a0094431bf6427271cf2fb1840e62935f53580e8d3eedef54d9bef2994e2
|
||||
DIST pypy3-exe-7.3.1-1.x86.xpak 8983621 BLAKE2B 00ea3210e040dd72f169eb2f162f032eb3ddadefd5f114cb4fdb052b40640235f866fc26f577eb22ff64025d2b4234a194529cbac6350aeffa17bb662e98c5b0 SHA512 caa6e4e08c61e3101aa7e971b2aeae04b41c57206327baefeee4a077d09b5bef28ca3518e6823bdf9907ccd4a8ee2b843369ffd87ef0bcb95a66f21ddd87c61e
|
||||
DIST pypy3-exe-7.3.2-1.amd64.xpak 11747236 BLAKE2B 5421ad051d2af6f88875591c99e801eab3991aa4a6936c0661f7fe131b13ec5cf9a261774f4ce6cae6202a9b0087265a457e2bdefe50110ce12c71e56885992a SHA512 6cdf308a12d2dffc44335b06e8e6212e559f329f0045fdfb8e3b5fe127d62b8881eaf8231a3b7f9ad7f628ac059a1e68a9bb2b43d677e59cfc81ea202ebf0898
|
||||
DIST pypy3-exe-7.3.2-1.x86.xpak 9043236 BLAKE2B 0c07e5bba6d44444c227e63dea02c390254b809a2c14a4b9faefa080e32a86849c354971eb4f1d13331e00e2af7e79d108a6f69fed1cdec0faf70ed8320b6c64 SHA512 8040abb95b2bd4144a456f429fad39492672b6f225951f93d138609a7265bdadff9d2ea0b4cf7b481cd9a16fa1017bdcce0f7a3afda27ab60c094cc2a0ba2a92
|
||||
DIST pypy3-exe-7.3.2_p37-1.amd64.xpak 11873959 BLAKE2B e9fcb007b18d5880955bca5828285d8eb6b258f41ade7f53c2aa77c0bd65bb4884501dd093a6d19e694315cc20423ad05eaffcf78f62815b783a311220989805 SHA512 59fea7fe0670fed68c1748c9a763c754261b05f25f0ce251088908f79b73b9d468aa2777b0c5cda394474db04e0e754999b49677051ba00a94f4dfe6fca7e4a5
|
||||
DIST pypy3-exe-7.3.2_p37-1.x86.xpak 9127420 BLAKE2B 23c7382980339ec4bb476acf99e587e7ff6128cc421bdd1758c6b922ec0cc1fb98c4895d28788d1184f3b6fb00e1954e517f58d33c3c10470c8d8c236fd43024 SHA512 f6680fca7a39b27117ea6aa680fc0fe78cec836413777860ff1adda21934ca6d0330364c7e3d97e9ab9f92fb3160e021cbfd016de89af6009526865164433f0e
|
||||
DIST pypy3-exe-7.3.2-r1-1.amd64.xpak 11745754 BLAKE2B 16b6b078609b6c6fb9f87c8d6fe477ec29d9e3c51d68996b782cf2e908f46759a42b32dfd8e64a32bfe2488849ce57255cc9a299231f4f6f2dd52a5c11e30367 SHA512 6e4d73b11cd67ad50d01e0db1a800567f723752abaa20bae7e950f3c2cecafd6e2065bd47e69e2b8d96b9ecbb396ed46a21a315d685a0e712bee17aa549a15e9
|
||||
DIST pypy3-exe-7.3.2-r1-1.x86.xpak 9030835 BLAKE2B 8fe13acd6bb93a60ed3f4268c1c53e7bb0101c7f68a58ddda4f7cec8fc5d4b3df463de2fbb585adbfb04349a96807a6c34246ceab76e001bfedabaddba90750b SHA512 ab463d5df575b1b8a01fa129f96b1317de37d2a0de83d124d411be63add0a241700a918885ed7128221cadfbb0d3b0d49d32d57ec25c59ec45e26e5bb1c4c0c0
|
||||
DIST pypy3-exe-7.3.2_p37-r1-1.amd64.xpak 11864985 BLAKE2B 69fe7b080ec4fe6cf3d0e06c0d7c00c17627259d57ff02a1dc0629374f92f425889a3e40b075f48687af47e97b2504252369bd106011961337fe1708d6e35561 SHA512 673de3083be18d9f62e9586eb0daae3e1a041f245ffb17fabb0b88ee6262cdd3ffd7dc723e6b72eb42057d0bbffbcc82a5c2864e585c5a1b184983445269500e
|
||||
DIST pypy3-exe-7.3.2_p37-r1-1.x86.xpak 9126391 BLAKE2B e8b68a1ce9ada6cf9a27dfcac78564d8a3020575ce9d1db7460c8aec8097abb6624bbce594d84556525253de8c620cb8acaf7e381af48d71b97bfdcfc5759a05 SHA512 29172e3d99775af10507167cd84f120677bfa752747b8d11f5434b16aea7eac9aa06bc820949cac132a2bd6e3c69df4da8a8a6bbba9cf4fe01db6cf1b0f725c6
|
||||
EBUILD pypy3-exe-bin-7.3.1_p1.ebuild 1093 BLAKE2B 7f26dae3be0bd6aa84dbf76aa8f6bbefffbbaf71701dc5f032ae62d36022214fcfcf977512aeef1e5de96f174922fc1ef94f416eebeb42aedc379eda371f0f3b SHA512 fad45a0aaa788da299e62bb367391795a9300a1acec31b202c90edc35d4223cfa4ebe734f58615d1741f221f798da3b977ddc2e248b3a139852cb4caa2ba235c
|
||||
EBUILD pypy3-exe-bin-7.3.2.ebuild 1088 BLAKE2B fa81b28f520227698b80f0219a9e4a02134d151ebfeffa940661f7c8f25cb76d18c89a303919673f7f46631f96e62d9314d03611535143f963fdd4304c21b678 SHA512 176008be08c86b6c5dc7412409e9e16b4702af20b95d80c8149272f54ba4b63a4301a2c75ef74045aebc67d0200b518f551a5d7478051c4a0c40ceaa43e41f15
|
||||
EBUILD pypy3-exe-bin-7.3.2_p37.ebuild 1117 BLAKE2B bf745cabe2c1ed81a366fd5095c9a273877fa1e58f2978dc52d1ab2323d96345ead7ddf35acd3e6d86a3dc0eb6a7f81f468f9b19f3cc264120a9d75ceabf2ddd SHA512 ec5f2c73118651b2f7465a05c0fb59ad4459199a864830622ec08fb83487ea965ba7ed9215e146bf7f93c3f74a45d8b9986a2885059dfbee52113d0d66d43a4d
|
||||
EBUILD pypy3-exe-bin-7.3.2-r1.ebuild 1091 BLAKE2B fb941e5aeecdb46c84d7ee5ad7432affa896e2aaba6d673080c598a74d5f37b22e3bc53332bc0aa0d4d68eb09fcc73417badadaf25bd4d9def82e314497ece35 SHA512 4ab20126c65a0669003d9f8957d34123405bb9752dbcd2a27d28a8765759b62cc9c9ab33ff479e7048e6e48d7cd530058ef3b640396bb3ecae93ba5da2d8ff56
|
||||
EBUILD pypy3-exe-bin-7.3.2_p37-r1.ebuild 1120 BLAKE2B ac61c77f569ee62c875df290b724fef626a78cb8d4f256ece004292ceaa806655ab4ef5fc2ecb13f0b4fea2bfbecce48c5a87c4d2246aab96d55cb170821d9e9 SHA512 0e7e41ecac34706a61c2c9412884beccc8bd4cc47d206972beb5bece65d59845eaf151964e637ff76abf8edde0395edb65ffc18339f4d47d7772a9dc80129398
|
||||
MISC metadata.xml 240 BLAKE2B 41e6a4d9da33dab2decc5ff419924f382a8f64d27a81fdb97576db8c6cf125be95911747946ec8be1b453f56617fef1084f5947f84b50a8db419d46df2ae8a0f SHA512 9c23321eaa853f851bf00195ea64ac2ba093e516f9b57855ee5aa58fbb1988130c9f0c17c2a9ce9fae4ee033e0a28a70c868e0f5acdfa1dd316ab533c5279d59
|
||||
|
@ -1,7 +1,9 @@
|
||||
AUX pypy3-7.3.2-ppc64-segfault.patch 3077 BLAKE2B 88085062fb0db4641f995a560386fb3adca7ef9d54225ad42a9a52c0bb976a816366c1f94e1a17616b49213635ebb9305e090e7e1dcb9f8c05cf5dcb9a08e6f1 SHA512 c07698452b0c88959a08ecc3730980dc1899f39b43d71b62b455ed0c8fb863717f0d8555c7f96d2c465c790fecfedb0c06afc5bb8b5b6255ee04c66a7ac1c377
|
||||
AUX pypy3-7.3.2-sethostname-bytes.patch 2400 BLAKE2B 62efad01272c9d3575e4eb9994a66acf087ae3ed078f227f0f27dee0d903be10bf8e77a07eb756c698a8622041d3bc103006a682d5dfe42364e0cd8f0f1734d9 SHA512 b0d30dce8eaf9072257632eeab0ccf84dd9f444b21a52beb9a18cdd03b70955dceb81268a929e0660646e699ed1e6d8b0b17b48d2680a57981399c42f39f03a0
|
||||
DIST pypy3.6-v7.3.1-src.tar.bz2 22712809 BLAKE2B 4250b3fe98c611b9635319c106b80e88ab469eab5f883babb738e175e7b7adc22c85f8ef3fdce1cdc127b521beef8d6c7862e188d8c8889c39f90136d6bbe374 SHA512 f8e32aae7f01225e0e4d6763eaac40fc02dffc3d0b6a30f22d422147f9be4f3290ea78160a912ffae311dea3d503eb31a7a4f3999d3b541fbccd93d1cef4ca56
|
||||
DIST pypy3.6-v7.3.2-src.tar.bz2 22736022 BLAKE2B e2338ac3f7af06b987c43e93eab9ff14d46262143472b0393b30b011fff67d33add45d8198cee7109354e09c52a2540938abeef364b0cf12f2891ca9c7aac2a4 SHA512 ed861a57d6edf1548c061d10295313a05d0ac54fe68a8755211ff76fa2dc78d7b1479c6152dc5d0d1cdce4e247c240c1a2edf59ec8a53d0004ec7713514c9c35
|
||||
DIST pypy3.7-v7.3.2-src.tar.bz2 25060911 BLAKE2B 35ecfee4c64e13539827c65a61e0cd359de4046f77553629cdf63479327c6ad86afd1443caa7a911a6271f496f0f3caf1b919ce91de717d0a71d008927b7f77b SHA512 563a9cf63e818b95aeb14c25b55bb5fb0bf8283f0b9f2bdd9a8833989beb651681f53f52368fb9db2c75fb60be0456eec87d48b557740b57847c4104003cb288
|
||||
EBUILD pypy3-exe-7.3.1.ebuild 3458 BLAKE2B 70d5be9e72cdd482d6f2107143cd79ddc024d50ef242b7fdf467d91c9a2d3c1130510750c54bfa869220fb248aba7fb46c9ce7b50dd0cbc69d55c23c98a3b60a SHA512 2b986efb595c46e284e96cfba530fdb7f16a6d931f015b98ab1254ecb142064ca562e9cfa797d6b28dd942b74640ba5d7436afbc360c42582f45d1e105a2c7e3
|
||||
EBUILD pypy3-exe-7.3.2.ebuild 3641 BLAKE2B 745f107bc0f5efe5e3a4ce67de747d3230111262787aca7e893edd181a1416f2a3c2ce9885d4e08e0d81d6606b74b41c919cc10d6a8cb7407fbf78f793554270 SHA512 9674383075e1861344854147e405fb9d31de7abda958095118be14af725f9ecb846881f49080e8fbbf2ae3ce4ca05ba7512c351ddf8338f0d9b2fbef93d5b234
|
||||
EBUILD pypy3-exe-7.3.2_p37.ebuild 3680 BLAKE2B 37640296820c961bfb69fd153faafaa03693758be90ec58c5b5bcb586fd12d4af9033e5a39a3bcb671c24f1e51781b793a97769494fdf482c2fb17dd8883513f SHA512 bdb87e56c6577494a6044157b8f065676cd331be132117155a9d2f1838719afb0af84b5f0344e84b16ed7f1e27326de78550da8af642e0de66be150b484fd8fc
|
||||
EBUILD pypy3-exe-7.3.2-r1.ebuild 3753 BLAKE2B 8f8509589f3c21378786ad7b15e18b310a3b7d19cd2e5c8534169d72b76ad844543185a5fa06810441eb44d989fb3d2c2a0934279acce9774ba4be01dcf52511 SHA512 5c5e6c7af37dbdf4ec865bae69b7f9f982663bba8bdef77a8bf8a88e5b915a314dfd2b32d25cef61e55321e2950f6ed75da170cfd7c3558c1690e5abe1d6b7e5
|
||||
EBUILD pypy3-exe-7.3.2_p37-r1.ebuild 3792 BLAKE2B 000a9bcc94aca80c657798185066f9752d571d61e8a4765b80cdab909ab19a04f7229e082ffd63918a1efef5259ba671f34536ca1ba63de3b8f6a471cd59b76f SHA512 0b2dadc820da3b1f1069dc9783dfc25f25f2e5c091dcfae275b15fe5a43f531c6cd674711b8eeb2895b27a3173659d7b98679ea447d803a41cb602ad740c6f4d
|
||||
MISC metadata.xml 497 BLAKE2B 02040ea95327971e16090c00e5771bc684710e90000ca07b366226fedbae8973a1f4bdd9d37506446a2fe3caea4fdf83ca186d2706747adccd14ea24a19486b3 SHA512 816621f5288b822fc1c7b360ac6f1e5f7b464a60c9b6e58fc464860bb8a4f44be932fe6562625006925ddda2b5cc14feeaef587303642d894494ddea6472cd2a
|
||||
|
@ -0,0 +1,64 @@
|
||||
From 913e0dae8ac7ce8219a5f31126fee8a794cc314c Mon Sep 17 00:00:00 2001
|
||||
From: Armin Rigo <arigo@tunes.org>
|
||||
Date: Sat, 26 Sep 2020 09:26:24 +0200
|
||||
Subject: [PATCH] oops, fix for test_gc_indexed_box_plus_large_offset
|
||||
|
||||
---
|
||||
rpython/jit/backend/ppc/opassembler.py | 16 +++++++++++-----
|
||||
rpython/jit/backend/ppc/regalloc.py | 4 ++--
|
||||
2 files changed, 13 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/rpython/jit/backend/ppc/opassembler.py b/rpython/jit/backend/ppc/opassembler.py
|
||||
index b79b18e530..4bbfbba93a 100644
|
||||
--- a/rpython/jit/backend/ppc/opassembler.py
|
||||
+++ b/rpython/jit/backend/ppc/opassembler.py
|
||||
@@ -755,13 +755,19 @@ class FieldOpAssembler(object):
|
||||
def _apply_offset(self, index_loc, ofs_loc):
|
||||
# If offset != 0 then we have to add it here. Note that
|
||||
# mc.addi() would not be valid with operand r0.
|
||||
- assert ofs_loc.is_imm() # must be an immediate...
|
||||
- assert _check_imm_arg(ofs_loc.getint()) # ...that fits 16 bits
|
||||
assert index_loc.is_core_reg()
|
||||
assert index_loc is not r.SCRATCH2
|
||||
- # (simplified version of _apply_scale())
|
||||
- if ofs_loc.value > 0:
|
||||
- self.mc.addi(r.SCRATCH2.value, index_loc.value, ofs_loc.value)
|
||||
+ if ofs_loc.is_imm():
|
||||
+ # if it is an immediate, it must fit into 16 bits
|
||||
+ assert _check_imm_arg(ofs_loc.getint())
|
||||
+ # (simplified version of _apply_scale())
|
||||
+ if ofs_loc.value != 0:
|
||||
+ self.mc.addi(r.SCRATCH2.value, index_loc.value, ofs_loc.value)
|
||||
+ index_loc = r.SCRATCH2
|
||||
+ else:
|
||||
+ # larger immediates are loaded into a register in regalloc.py
|
||||
+ assert ofs_loc.is_core_reg()
|
||||
+ self.mc.add(r.SCRATCH2.value, index_loc.value, ofs_loc.value)
|
||||
index_loc = r.SCRATCH2
|
||||
return index_loc
|
||||
|
||||
diff --git a/rpython/jit/backend/ppc/regalloc.py b/rpython/jit/backend/ppc/regalloc.py
|
||||
index f3ee1129e4..827953cf12 100644
|
||||
--- a/rpython/jit/backend/ppc/regalloc.py
|
||||
+++ b/rpython/jit/backend/ppc/regalloc.py
|
||||
@@ -771,7 +771,7 @@ class Regalloc(BaseRegalloc, VectorRegalloc):
|
||||
value_loc = self.ensure_reg(op.getarg(2))
|
||||
assert op.getarg(3).getint() == 1 # scale
|
||||
ofs_loc = self.ensure_reg_or_16bit_imm(op.getarg(4))
|
||||
- assert ofs_loc.is_imm() # the arg(4) should always be a small constant
|
||||
+ # the arg(4) is often a small constant, but it may be too large
|
||||
size_loc = self.ensure_reg_or_any_imm(op.getarg(5))
|
||||
return [base_loc, index_loc, value_loc, ofs_loc, size_loc]
|
||||
|
||||
@@ -780,7 +780,7 @@ class Regalloc(BaseRegalloc, VectorRegalloc):
|
||||
index_loc = self.ensure_reg(op.getarg(1))
|
||||
assert op.getarg(2).getint() == 1 # scale
|
||||
ofs_loc = self.ensure_reg_or_16bit_imm(op.getarg(3))
|
||||
- assert ofs_loc.is_imm() # the arg(3) should always be a small constant
|
||||
+ # the arg(3) is often a small constant, but it may be too large
|
||||
self.free_op_vars()
|
||||
res_loc = self.force_allocate_reg(op)
|
||||
size_box = op.getarg(4)
|
||||
--
|
||||
GitLab
|
||||
|
@ -0,0 +1,61 @@
|
||||
From 5ee2925459372a8af805e952f433acd75e426325 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||
Date: Sun, 4 Oct 2020 15:46:23 +0200
|
||||
Subject: [PATCH] Fix sethostname() failure when passed bytes
|
||||
|
||||
My implementation of sethostname() was broken and failed when passed
|
||||
bytes on Python 3. Update the implementation to match CPython -- that
|
||||
is, use bytes if provided, or fsencode() when str is provided.
|
||||
|
||||
--HG--
|
||||
branch : py3.6
|
||||
---
|
||||
pypy/module/_socket/interp_func.py | 8 +++++++-
|
||||
pypy/module/_socket/test/test_sock_app.py | 12 ++++++++++++
|
||||
2 files changed, 19 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pypy/module/_socket/interp_func.py b/pypy/module/_socket/interp_func.py
|
||||
index bdc4f1293f..1727e51d51 100644
|
||||
--- a/pypy/module/_socket/interp_func.py
|
||||
+++ b/pypy/module/_socket/interp_func.py
|
||||
@@ -392,7 +392,13 @@ if hasattr(rsocket, 'sethostname'):
|
||||
|
||||
Set the host name.
|
||||
"""
|
||||
- hostname = space.text_w(w_hostname)
|
||||
+ if space.isinstance_w(w_hostname, space.w_bytes):
|
||||
+ hostname = space.bytes_w(w_hostname)
|
||||
+ elif space.isinstance_w(w_hostname, space.w_unicode):
|
||||
+ hostname = space.fsencode_w(w_hostname)
|
||||
+ else:
|
||||
+ raise oefmt(space.w_TypeError,
|
||||
+ "sethostname() argument 1 must be str or bytes")
|
||||
try:
|
||||
res = rsocket.sethostname(hostname)
|
||||
except SocketError as e:
|
||||
diff --git a/pypy/module/_socket/test/test_sock_app.py b/pypy/module/_socket/test/test_sock_app.py
|
||||
index fe3efec8e3..355fb8a2a9 100644
|
||||
--- a/pypy/module/_socket/test/test_sock_app.py
|
||||
+++ b/pypy/module/_socket/test/test_sock_app.py
|
||||
@@ -210,6 +210,18 @@ def test_getaddrinfo(space, w_socket):
|
||||
assert space.unwrap(w_l) == True
|
||||
|
||||
|
||||
+def test_sethostname(space, w_socket):
|
||||
+ space.raises_w(space.w_OSError, space.appexec,
|
||||
+ [w_socket],
|
||||
+ "(_socket): _socket.sethostname(_socket.gethostname())")
|
||||
+
|
||||
+
|
||||
+def test_sethostname_bytes(space, w_socket):
|
||||
+ space.raises_w(space.w_OSError, space.appexec,
|
||||
+ [w_socket],
|
||||
+ "(_socket): _socket.sethostname(_socket.gethostname().encode())")
|
||||
+
|
||||
+
|
||||
def test_unknown_addr_as_object(space, ):
|
||||
from pypy.module._socket.interp_socket import addr_as_object
|
||||
c_addr = lltype.malloc(rsocket._c.sockaddr, flavor='raw', track_allocation=False)
|
||||
--
|
||||
GitLab
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST pytest-aiohttp-0.3.0.tar.gz 6884 BLAKE2B 02b50fcd14192d23a4b257c2b7cb235966eff52b1c0ac87a4c61a20bc0babdb22eb999938c63e267a797d52ce57c9fb471232db3d0bc6566168a2d73f6404cd4 SHA512 4164166465dc40ff78a86304d1bcd4db9fb3f7dad3188f8ebe2ff151ed51eb0bf9c1b7a608d94cfe3339ee3b6efd4d5abbaa0691388460d5ac95635afa14984c
|
||||
EBUILD pytest-aiohttp-0.3.0-r1.ebuild 536 BLAKE2B 6061066396169246ad2b391716a4214cf291d6d19e442e2b5d3185236a557fedcd7e92dbd1f9a2e3750e15c9fe15d1dd6f1ff922c90539e6cdc62a436e7c2add SHA512 8c73b5f1f40b8f550880f668dcaadfde6964dd5984e2ba26d151492920c773dea92508d4016743a987cd60f0d6d37d241e150b59d95afeab45639667b8a1adbb
|
||||
EBUILD pytest-aiohttp-0.3.0-r1.ebuild 542 BLAKE2B 4a593f1dee94b37cf27c9bf45163af840d1d67a0ffbb545332ade786499e80684b22ff6a697d223b3d1d193c51e7b1bea5d8840836709de158fd48b55228c7db SHA512 77eb86f2bc6f5b0351e7dbb2039782baf4ee999880ce4b09f84bf7862bd1fa9432a6e2bac126435dd904dc1db4df3912136f0468ccd171f4a095c359c9918732
|
||||
MISC metadata.xml 382 BLAKE2B 24ac18217bfebed19f5049bbaca9955da1a0eebe08b8fd3f8f870db50369ceec3e68f4fae68604a399084122a3e3ae460481f855e4a4a3c419e494103d452c56 SHA512 73da71aee91bfb48dc637ef0e4d47a4693ba602f8cb15d0056cc0a14f4bb74d11cad7edcee8a1e892eaf2c3cf1d85735c9f5745ea0ae8d5026a7776c0550cf3f
|
||||
|
@ -1,3 +1,5 @@
|
||||
DIST reno-2.11.3.tar.gz 73296 BLAKE2B a09c79c12945396425f2d3a45259e15e1fe8909df107de90884a51c87a5f4ac9f425907c1f9f401417d979e8762f80f188d2e783a7ff36541c107a9497a12746 SHA512 8d5bfe30c7a886d295d77b3d38e7fde09a8febacfacbf984f919bd5c813d81999870684f7da5b3e77a95436c912ea8e275b68548622462218356e23ad084140c
|
||||
DIST reno-3.2.0.tar.gz 77316 BLAKE2B 43fe83a5f4c3e812daa3d2456f6c3b0bc7ba661193187f05527108e7b182dd078ec7a26b39e2939d51efc231e60f3d503479a4729b391faf764fa1e5d941c967 SHA512 b0399e5472afa4c883af563949cf4083571ee6dfcc05babb9845fa44fb9cfa2d0a1be6f315915597c22e86e0504102cb4f90aee59273ccbaceb15e93ed078b65
|
||||
EBUILD reno-2.11.3.ebuild 652 BLAKE2B 6e60f1d5b65887b505086ed5368d25f196b7bdbbaee0c958269bb713036856dcbfe08a624228ac40995b3b39fd722d224e020ebb4d74d45645067b2a572cf5af SHA512 98fcc650b583f2fd36c09bb8f8bec6c01be9f8984ebd1ece7f51cc2f89d98fe1e31772751f216ff3d722f228f4f6b8db401957f84a0d836d66519b01745296af
|
||||
EBUILD reno-3.2.0.ebuild 1012 BLAKE2B 4aebc1392f9781d176355d98e3c64fffdc07090a1f7d8dd6950e1117ca577720fadc720cad51e1c72bcfd999ad246ab869caa1f83f911a211d2e35952704e8c2 SHA512 40211ac8d8b09fcabd37d07f981b481e1f9dc44f2e447d6033d8183f15faf96985c03c31e19bee12e3abac40d47c6c059405192554ff7f23fb112984b06078dc
|
||||
MISC metadata.xml 321 BLAKE2B 3b8c9d905cae94a3bc7282b1a0fe9ac0471c6cd319e0e6c29ba9159e7a4a0d95f3eefa370a85c0741576d215719be3859e491af4a76bb4e494b84dc176337387 SHA512 fa7cc33d444469e942598d32710f8fba3999cb738407d96243fb0c2efa0573b330e5dbe38685a5cc8a7c0848ad89611c5ac11d2d9d1a693f9a7674bc8dc0a4f5
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Release notes manager, storing release notes in a git repo and building docs"
|
||||
HOMEPAGE="https://pypi.org/project/reno/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-python/pbr[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/dulwich-0.15.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-20.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/pbr[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
# The doc needs to be built from a git repository
|
||||
distutils_enable_tests unittest
|
||||
|
||||
python_prepare_all() {
|
||||
# Some tests need to be run from a git repository
|
||||
rm reno/tests/test_{cache,semver}.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST sphinxcontrib-blockdiag-2.0.0.tar.gz 11903 BLAKE2B 9301fe05ff936836e8e648a507b7e2e5fd8cada58252fd46b274a4bb3e6b51b00b7696ceee712d12bd590c40c5ae1235e0b532ef55ffc2e78b2986cdae64a0f2 SHA512 305ad9b27bbb44480c69139cc0ae9cd8e47c6ad95da5b14a964c703a17e62ab9b342ff567e8312e403549a794f6381fe4c4d444ccb7a8e41410d1a3754ffb3f1
|
||||
EBUILD sphinxcontrib-blockdiag-2.0.0.ebuild 1205 BLAKE2B 257dd61b12cdb592df5644287738ecda043accffb4719014a692a2044c881ee3687d0da8b1bbf88e00fec933bf9df319ed5d8e6c39ae4308a3cc6b5faeabc28a SHA512 bb95a3c23189f14b607b8383241e1ef1f9da7978bbdce3d71608e9c1e0a2e13d5bc571c426b76404675c5c5a6edec1110ee94d07b1842cf1fb756241319052bf
|
||||
EBUILD sphinxcontrib-blockdiag-2.0.0.ebuild 1211 BLAKE2B 0790ba78195336441fa211fbe4c2464e500a33609e701281019abb1f147462e17dfad8870f2367873732935c3207d6d6d39f55ee65a50198ddf8a72a8a39bc76 SHA512 1f44779b119f639af8f76be091dcc22a6bf72af55ebf104bd5970225efd28ce5bd3a92715965f2869f6fe8f286ee981b04a6034b59376e2cdc2a2d47b40ff0ad
|
||||
MISC metadata.xml 416 BLAKE2B 4383283e64d8db0b5576f1defc62412b5c4f4003e5ac75a2755e79d3e2a53f6d7aff82741d6225d2c96f0e2d87df650d47110a31cc91362dee641a86c54b18da SHA512 10fc4ff78fce4beadf8f8b64cfcaf4b71f84c3f74d80bd7299055ef7c2a759bf8d8eaef841e464d72d3272d999fe20ebfbcd382f2025932eef474387e92be6e0
|
||||
|
@ -1,5 +1,7 @@
|
||||
DIST sphinxcontrib-spelling-5.1.2.tar.gz 22962 BLAKE2B c7b15289b4b6dce5e6c5fb529c4be2cd7c1f41d8bfc6ac86daf1a982f711bd2c426d9b3a615471538fe221197b64ccd907efd4620ea2440f6ec07b2a078d6bee SHA512 4a0398b7c79a035e12d9ae96100fcaa4df42aeae07a01a73f7d875ba04fbbeb3d7441c9debe77491876d78b0a3753677cff4cb3a575e3490364fe5780f5a70b2
|
||||
DIST sphinxcontrib-spelling-5.3.0.tar.gz 45665 BLAKE2B c44c8c2621aecd74734c6137e1344a763e99fb61b3ce882c8ea70364df17a7e2fac49acc8878753cab1b70df2cf084de5087bed77f8b1bffe311410ecec3504d SHA512 8f3c4718877e55b0ebcd3d8c0f078a6c06c27c2cdd3cc557fd2e0e990f0c8956179fd9a8b3135b280973e45c0c8657f71372746ef4b55319078db8f16c7e00e9
|
||||
DIST sphinxcontrib-spelling-5.4.0.tar.gz 46823 BLAKE2B 8303a97b87d953a37db4548d895559baf93969c11f8417aafeb67804ec537f9ea028bcbf6a56eb3290f13871a782dcde142b1927865a6f9eefd5a20dc53061b1 SHA512 7e0fe6289f9482982825a1204c926490a1e31dc85e25e6418ba47f5575430875e3df5f77202ad458044b810bc2a29f989e6bc6f0c9b4934af938716a4ab887f0
|
||||
EBUILD sphinxcontrib-spelling-5.1.2.ebuild 941 BLAKE2B d7a4baf4284165354c8689e49e1f9c35d856c2e8bc2d207db2a30b358daefa72a9b70ee7f37b19f0b184646e3f9d6f505e93c55bd7045f229f3c5752f1e3e99e SHA512 70cfa8fd9fd9c229b4b1e3f48016e28e4ca1a5355a47fab5cef9163b3560b76d6483407ddb264189a03c07e72a863658b5f5031fceca6dc74d746565276b5e93
|
||||
EBUILD sphinxcontrib-spelling-5.3.0.ebuild 1113 BLAKE2B 498f0d8948635500859c57e440540b69b58a2cc67d882391d64216a79c75632e924614d06bd4b61f4a13615f875d545004cf171111e633dde931c37f67d9dc92 SHA512 41a625b9d77ea8028431816d64b86a98f86a064b29ee46ecd1df44fdb2c3b78c4726eebcd7b71585014fbb4ad3498e70478fb7de35d477a2dfc0f0372aa25ca6
|
||||
MISC metadata.xml 390 BLAKE2B 8d41fe5d3b7602e6f29d13d8059ae1e942991659b4681c8d2a6e62fa32816690289c4183e28b2cc0abc14ea2078368f87cd1d82e71f1c4ed9fb684fb7d2e1449 SHA512 8407fc4fa34e474aa5f74fc1623004bcfa4f6ba451d56e62704366e8c21919e8617a54b5f7fec31318c4b7b34c4eb064c18c9d448c04d28430aa4e961ceb28af
|
||||
EBUILD sphinxcontrib-spelling-5.3.0.ebuild 1120 BLAKE2B fd891f4242e64cd52b7492513760e326af4ee401617fbf980ff433f6b03eaf031d1adef4cda1d5d55475789dd7eed2de536395e90cdbf552a8ebc2d4ee857aed SHA512 a1b57522cf62a4a5f52462654a30dbd5860b7b2642f2e6d0ced2d4ec0d8ef07c7e0693f4841d3e6a878b3bec14e429a1ba9e4217523d9480c4ee6934575ab747
|
||||
EBUILD sphinxcontrib-spelling-5.4.0.ebuild 1318 BLAKE2B 94d5b822ee8a7abc29cf8a61f2a758d602147960e8aa67eec41925ea8106423a024b55a63cda506dc5903b5e9bc453114232b793eaccf19c525e24d04b7e35fa SHA512 1089c1a310080fa7f15884a9cd7816f373149000ab5750547015637d29db8ecf8e29cf9d9354466a3eefe9d0a2555c425d0e68cde8081e094d2029744ac009c7
|
||||
MISC metadata.xml 450 BLAKE2B a64fc81ee1b159f6ad2d8fe754cfbb8be207a77d128d01cb7cc0d46b6ba4deea1e49e49654a6b0759699d4dbddcede66cb38457c0b476e4120eb3bd5d34cd37b SHA512 0decb41e64275e11d327f2025732865ac4469b7dffe45386b100f6813df5554e71097bd957f57331856d64c9c8c89ad371abfbb25e0db54f3bf7efe2c85ad1ec
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Sphinx spelling extension"
|
||||
HOMEPAGE="https://github.com/sphinx-contrib/spelling"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/importlib_metadata-1.7.0[${PYTHON_USEDEP}]
|
||||
' python3_{6,7})
|
||||
dev-python/pyenchant[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/pbr[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
app-dicts/myspell-en
|
||||
)
|
||||
"
|
||||
|
||||
# The doc can only be built from a git repository
|
||||
distutils_enable_tests pytest
|
||||
|
||||
# We don't want distutils_enable_tests to add the namespace
|
||||
# package to BDEPEND under "test?". Therefore we add it to RDEPEND
|
||||
# after running distutils_enable_tests.
|
||||
RDEPEND+="
|
||||
dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
# Needs to be run from a git repository
|
||||
sed -i 's/test_contributors/_&/' \
|
||||
sphinxcontrib/spelling/tests/test_filter.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
find "${ED}" -name '*.pth' -delete || die
|
||||
}
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST ostree-2019.5.tar.xz 1972452 BLAKE2B a8b015118855b8b0097f535ac074aeffc599c3f6f654967043e8e4de339d2a51e85ad1b4b3f3b22e18d39235e6ad9c1973334a2c4fc9b5c694f2ff40d68ae703 SHA512 27150802ed9af16e698ed163f6ad235f0f99a1410df52b4b1e266585fe665880c0b9490bf245b5593cb277007b7229d808be7403dd964c58aded6e567349c912
|
||||
DIST ostree-2020.6.tar.xz 2014456 BLAKE2B 97d84c6838993edfbabb598bce800332ab1c8b22c0431839f7129f2f57afdd71c1b8ea8b8d6c1dc2cbf8d7f6828d624394b5e8c533f7a98eb1b1c3aeedff92cf SHA512 1d8f8ccaa3e543a6f494d3be2a3651ad340846f0c314e003955260b7bd1d8c0421acf102ec2ca6580379c354bf4cfac0940e4e95b724b7aaf9dc8116085aa538
|
||||
EBUILD ostree-2019.5.ebuild 2220 BLAKE2B c56fbde79b750df4de06f3ed175ad15011070c9b36bacc7bad3d2efc676b485c3c72b5b138e69ef0bf1f43293ef23f71699d5b9609a94d1a8aef4a267c81a3ef SHA512 829b080ab7ec39f2de945ef3c0ae23bdba3b17b544e2556809e4a25537e454ff5eee26674068eab80e8c326688020d26ba43c01f2059fc4aaaee67538d929ded
|
||||
EBUILD ostree-2020.6.ebuild 2220 BLAKE2B c56fbde79b750df4de06f3ed175ad15011070c9b36bacc7bad3d2efc676b485c3c72b5b138e69ef0bf1f43293ef23f71699d5b9609a94d1a8aef4a267c81a3ef SHA512 829b080ab7ec39f2de945ef3c0ae23bdba3b17b544e2556809e4a25537e454ff5eee26674068eab80e8c326688020d26ba43c01f2059fc4aaaee67538d929ded
|
||||
MISC metadata.xml 1889 BLAKE2B 58b5a7ce03d273da942cc88468ccc1e8758c2f1e3004a0424567f56e5e6fb589f457e50a1edc759e77b9177aa9472441f68911c8cc5ed39c2c4d5b8b56839521 SHA512 697a3f44a7df7b1e7425afedece72693c77821a6c55a3d5bf735a724ccb1a6655dfabd4262b3136b7af0856eeaf8404adb0c203826f0f8422035c6d66ebb11d4
|
||||
|
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools systemd
|
||||
|
||||
DESCRIPTION="Operating system and container binary deployment and upgrades"
|
||||
HOMEPAGE="https://ostree.readthedocs.io/en/latest/"
|
||||
SRC_URI="https://github.com/ostreedev/ostree/releases/download/v${PV}/lib${P}.tar.xz -> ${P}.tar.xz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="archive curl doc dracut gnutls grub http2 httpd introspection libmount selinux ssl soup systemd zeroconf"
|
||||
RESTRICT="test"
|
||||
REQUIRED_USE="httpd? ( || ( curl soup ) )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
archive? ( app-arch/libarchive )
|
||||
app-crypt/gpgme
|
||||
app-arch/xz-utils
|
||||
curl? ( net-misc/curl )
|
||||
soup? ( net-libs/libsoup )
|
||||
dev-libs/libassuan
|
||||
dev-libs/libgpg-error
|
||||
dev-libs/glib:2
|
||||
dracut? ( sys-kernel/dracut )
|
||||
grub? ( sys-boot/grub:2= )
|
||||
introspection? ( dev-libs/gobject-introspection )
|
||||
ssl? (
|
||||
gnutls? ( net-libs/gnutls )
|
||||
!gnutls? ( dev-libs/openssl:0= ) )
|
||||
>=sys-fs/fuse-2.9.2:0
|
||||
sys-libs/zlib
|
||||
libmount? ( sys-apps/util-linux )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
systemd? ( sys-apps/systemd:0= )
|
||||
zeroconf? ( net-dns/avahi[dbus] )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
doc? ( dev-util/gtk-doc )"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
BDEPEND="
|
||||
dev-util/glib-utils
|
||||
sys-devel/flex
|
||||
sys-devel/bison
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/lib${P}"
|
||||
|
||||
src_prepare() {
|
||||
sed -Ee 's:(XSLT_STYLESHEET = ).*:\1/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl:' \
|
||||
-i Makefile.in Makefile-man.am || die
|
||||
|
||||
eautoreconf
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local econfargs=(
|
||||
--enable-man
|
||||
--enable-shared
|
||||
$(use_with archive libarchive)
|
||||
$(use_with curl)
|
||||
$(use_with dracut)
|
||||
$(use_enable doc gtk-doc)
|
||||
$(use_enable introspection)
|
||||
$(use_enable http2)
|
||||
$(use_enable httpd trivial-httpd-cmdline)
|
||||
$(use_with selinux )
|
||||
$(use_with soup)
|
||||
$(use_with libmount)
|
||||
$(use ssl && { use gnutls && echo --with-crypto=gnutls || echo --with-crypto=openssl; })
|
||||
$(use_with systemd libsystemd)
|
||||
$(use_with zeroconf avahi)
|
||||
)
|
||||
|
||||
unset ${!XDG_*} #657346 g-ir-scanner sandbox violation
|
||||
econf ${econfargs[*]}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
Binary file not shown.
@ -0,0 +1,510 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# @ECLASS: lua-single.eclass
|
||||
# @MAINTAINER:
|
||||
# William Hubbs <williamh@gentoo.org>
|
||||
# Marek Szuba <marecki@gentoo.org>
|
||||
# @AUTHOR:
|
||||
# Marek Szuba <marecki@gentoo.org>
|
||||
# Based on python-single-r1.eclass by Michał Górny <mgorny@gentoo.org> et al.
|
||||
# @SUPPORTED_EAPIS: 7
|
||||
# @BLURB: An eclass for Lua packages not installed for multiple implementations.
|
||||
# @DESCRIPTION:
|
||||
# An extension of lua.eclass suite for packages which don't support being
|
||||
# installed for multiple Lua implementations. This mostly includes software
|
||||
# embedding Lua.
|
||||
#
|
||||
# This eclass sets correct IUSE. It also provides LUA_DEPS
|
||||
# and LUA_REQUIRED_USE that need to be added to appropriate ebuild
|
||||
# metadata variables.
|
||||
#
|
||||
# The eclass exports LUA_SINGLE_USEDEP that is suitable for depending
|
||||
# on other packages using the eclass. Dependencies on packages using
|
||||
# lua.eclass should be created via lua_gen_cond_dep() function, using
|
||||
# LUA_USEDEP placeholder.
|
||||
#
|
||||
# Please note that packages support multiple Lua implementations
|
||||
# (using lua.eclass) cannot depend on packages not supporting
|
||||
# them (using this eclass).
|
||||
#
|
||||
# Note that since this eclass always inherits lua-utils as well, in ebuilds
|
||||
# using the former there is no need to explicitly inherit the latter in order
|
||||
# to use helper functions such as lua_get_CFLAGS.
|
||||
|
||||
case ${EAPI:-0} in
|
||||
0|1|2|3|4|5|6)
|
||||
die "Unsupported EAPI=${EAPI} (too old) for ${ECLASS}"
|
||||
;;
|
||||
7)
|
||||
;;
|
||||
*)
|
||||
die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ ! ${_LUA_SINGLE_R0} ]]; then
|
||||
|
||||
if [[ ${_LUA_R0} ]]; then
|
||||
die 'lua-single.eclass cannot be used with lua.eclass.'
|
||||
fi
|
||||
|
||||
inherit lua-utils
|
||||
|
||||
fi
|
||||
|
||||
EXPORT_FUNCTIONS pkg_setup
|
||||
|
||||
# @ECLASS-VARIABLE: LUA_COMPAT
|
||||
# @REQUIRED
|
||||
# @PRE_INHERIT
|
||||
# @DESCRIPTION:
|
||||
# This variable contains a list of Lua implementations the package
|
||||
# supports. It must be set before the `inherit' call. It has to be
|
||||
# an array.
|
||||
#
|
||||
# Example:
|
||||
# @CODE
|
||||
# LUA_COMPAT=( lua5-1 lua5-2 lua5-3 )
|
||||
# @CODE
|
||||
#
|
||||
# Please note that you can also use bash brace expansion if you like:
|
||||
# @CODE
|
||||
# LUA_COMPAT=( lua5-{1..3} )
|
||||
# @CODE
|
||||
|
||||
# @ECLASS-VARIABLE: LUA_COMPAT_OVERRIDE
|
||||
# @USER_VARIABLE
|
||||
# @DEFAULT_UNSET
|
||||
# @DESCRIPTION:
|
||||
# This variable can be used when working with ebuilds to override
|
||||
# the in-ebuild LUA_COMPAT. It is a string listing all
|
||||
# the implementations which package will be built for. It need be
|
||||
# specified in the calling environment, and not in ebuilds.
|
||||
#
|
||||
# It should be noted that in order to preserve metadata immutability,
|
||||
# LUA_COMPAT_OVERRIDE does not affect IUSE nor dependencies.
|
||||
# The state of LUA_TARGETS is ignored, and all the implementations
|
||||
# in LUA_COMPAT_OVERRIDE are built. Dependencies need to be satisfied
|
||||
# manually.
|
||||
#
|
||||
# Example:
|
||||
# @CODE
|
||||
# LUA_COMPAT_OVERRIDE='lua5-2' emerge -1v dev-lua/foo
|
||||
# @CODE
|
||||
|
||||
# @ECLASS-VARIABLE: LUA_REQ_USE
|
||||
# @DEFAULT_UNSET
|
||||
# @PRE_INHERIT
|
||||
# @DESCRIPTION:
|
||||
# The list of USE flags required to be enabled on the chosen Lua
|
||||
# implementations, formed as a USE-dependency string. It should be valid
|
||||
# for all implementations in LUA_COMPAT, so it may be necessary to
|
||||
# use USE defaults.
|
||||
# This must be set before calling `inherit'.
|
||||
#
|
||||
# Example:
|
||||
# @CODE
|
||||
# LUA_REQ_USE="deprecated"
|
||||
# @CODE
|
||||
#
|
||||
# It will cause the Lua dependencies to look like:
|
||||
# @CODE
|
||||
# lua_targets_luaX-Y? ( dev-lang/lua:X.Y[deprecated] )
|
||||
# @CODE
|
||||
|
||||
# @ECLASS-VARIABLE: LUA_DEPS
|
||||
# @OUTPUT_VARIABLE
|
||||
# @DESCRIPTION:
|
||||
# This is an eclass-generated Lua dependency string for all
|
||||
# implementations listed in LUA_COMPAT.
|
||||
#
|
||||
# Example use:
|
||||
# @CODE
|
||||
# RDEPEND="${LUA_DEPS}
|
||||
# dev-foo/mydep"
|
||||
# DEPEND="${RDEPEND}"
|
||||
# @CODE
|
||||
#
|
||||
# Example value:
|
||||
# @CODE
|
||||
# lua_targets_lua5-1? ( dev-lang/lua:5.1 )
|
||||
# lua_targets_lua5-2? ( dev-lang/lua:5.2 )
|
||||
# @CODE
|
||||
|
||||
# @ECLASS-VARIABLE: LUA_REQUIRED_USE
|
||||
# @OUTPUT_VARIABLE
|
||||
# @DESCRIPTION:
|
||||
# This is an eclass-generated required-use expression which ensures at
|
||||
# least one Lua implementation has been enabled.
|
||||
#
|
||||
# This expression should be utilized in an ebuild by including it in
|
||||
# REQUIRED_USE, optionally behind a use flag.
|
||||
#
|
||||
# Example use:
|
||||
# @CODE
|
||||
# REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
|
||||
# @CODE
|
||||
#
|
||||
# Example value:
|
||||
# @CODE
|
||||
# || ( lua_targets_lua5-1 lua_targets_lua5-2 )
|
||||
# @CODE
|
||||
|
||||
# @ECLASS-VARIABLE: LUA_SINGLE_USEDEP
|
||||
# @OUTPUT_VARIABLE
|
||||
# @DESCRIPTION:
|
||||
# This is an eclass-generated USE-dependency string which can be used
|
||||
# to depend on another lua-single package being built for the same
|
||||
# Lua implementations.
|
||||
#
|
||||
# If you need to depend on a multi-impl (lua.eclass) package, use
|
||||
# lua_gen_cond_dep with LUA_USEDEP placeholder instead.
|
||||
#
|
||||
# Example use:
|
||||
# @CODE
|
||||
# RDEPEND="dev-lua/foo[${LUA_SINGLE_USEDEP}]"
|
||||
# @CODE
|
||||
#
|
||||
# Example value:
|
||||
# @CODE
|
||||
# lua_single_target_lua5-1(-)?
|
||||
# @CODE
|
||||
|
||||
# @ECLASS-VARIABLE: LUA_USEDEP
|
||||
# @OUTPUT_VARIABLE
|
||||
# @DESCRIPTION:
|
||||
# This is an eclass-generated USE-dependency string which can be used to
|
||||
# depend on another Lua package being built for the same Lua
|
||||
# implementations.
|
||||
#
|
||||
# Example use:
|
||||
# @CODE
|
||||
# RDEPEND="dev-lua/foo[${LUA_USEDEP}]"
|
||||
# @CODE
|
||||
#
|
||||
# Example value:
|
||||
# @CODE
|
||||
# lua_targets_lua5-1(-)?,lua_targets_lua5-2(-)?
|
||||
# @CODE
|
||||
|
||||
# @FUNCTION: _lua_single_set_globals
|
||||
# @INTERNAL
|
||||
# @DESCRIPTION:
|
||||
# Sets all the global output variables provided by this eclass.
|
||||
# This function must be called once, in global scope.
|
||||
_lua_single_set_globals() {
|
||||
_lua_set_impls
|
||||
|
||||
local flags=( "${_LUA_SUPPORTED_IMPLS[@]/#/lua_single_target_}" )
|
||||
|
||||
if [[ ${#_LUA_SUPPORTED_IMPLS[@]} -eq 1 ]]; then
|
||||
# if only one implementation is supported, use IUSE defaults
|
||||
# to avoid requesting the user to enable it
|
||||
IUSE="+${flags[0]}"
|
||||
else
|
||||
IUSE="${flags[*]}"
|
||||
fi
|
||||
|
||||
local requse="^^ ( ${flags[*]} )"
|
||||
local single_flags="${flags[@]/%/(-)?}"
|
||||
local single_usedep=${single_flags// /,}
|
||||
|
||||
local deps= i PYTHON_PKG_DEP
|
||||
for i in "${_LUA_SUPPORTED_IMPLS[@]}"; do
|
||||
_lua_export "${i}" LUA_PKG_DEP
|
||||
deps+="lua_single_target_${i}? ( ${LUA_PKG_DEP} ) "
|
||||
done
|
||||
|
||||
if [[ ${LUA_DEPS+1} ]]; then
|
||||
if [[ ${LUA_DEPS} != "${deps}" ]]; then
|
||||
eerror "LUA_DEPS have changed between inherits (LUA_REQ_USE?)!"
|
||||
eerror "Before: ${LUA_DEPS}"
|
||||
eerror "Now : ${deps}"
|
||||
die "LUA_DEPS integrity check failed"
|
||||
fi
|
||||
|
||||
# these two are formality -- they depend on LUA_COMPAT only
|
||||
if [[ ${LUA_REQUIRED_USE} != ${requse} ]]; then
|
||||
eerror "LUA_REQUIRED_USE have changed between inherits!"
|
||||
eerror "Before: ${LUA_REQUIRED_USE}"
|
||||
eerror "Now : ${requse}"
|
||||
die "LUA_REQUIRED_USE integrity check failed"
|
||||
fi
|
||||
|
||||
if [[ ${LUA_SINGLE_USEDEP} != "${single_usedep}" ]]; then
|
||||
eerror "LUA_SINGLE_USEDEP have changed between inherits!"
|
||||
eerror "Before: ${LUA_SINGLE_USEDEP}"
|
||||
eerror "Now : ${single_usedep}"
|
||||
die "LUA_SINGLE_USEDEP integrity check failed"
|
||||
fi
|
||||
else
|
||||
LUA_DEPS=${deps}
|
||||
LUA_REQUIRED_USE=${requse}
|
||||
LUA_SINGLE_USEDEP=${single_usedep}
|
||||
LUA_USEDEP='%LUA_USEDEP-NEEDS-TO-BE-USED-IN-LUA_GEN_COND_DEP%'
|
||||
readonly LUA_DEPS LUA_REQUIRED_USE LUA_SINGLE_USEDEP LUA_USEDEP
|
||||
fi
|
||||
}
|
||||
|
||||
_lua_single_set_globals
|
||||
unset -f _lua_single_set_globals
|
||||
|
||||
if [[ ! ${_LUA_SINGLE_R0} ]]; then
|
||||
|
||||
# @FUNCTION: _lua_gen_usedep
|
||||
# @USAGE: [<pattern>...]
|
||||
# @INTERNAL
|
||||
# @DESCRIPTION:
|
||||
# Output a USE dependency string for Lua implementations which
|
||||
# are both in LUA_COMPAT and match any of the patterns passed
|
||||
# as parameters to the function.
|
||||
#
|
||||
# The patterns can be fnmatch-style patterns (matched via bash == operator
|
||||
# against LUA_COMPAT values). Remember to escape or quote the fnmatch
|
||||
# patterns to prevent accidental shell filename expansion.
|
||||
#
|
||||
# This is an internal function used to implement lua_gen_cond_dep.
|
||||
_lua_gen_usedep() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
local impl matches=()
|
||||
|
||||
_lua_verify_patterns "${@}"
|
||||
for impl in "${_LUA_SUPPORTED_IMPLS[@]}"; do
|
||||
if _lua_impl_matches "${impl}" "${@}"; then
|
||||
matches+=(
|
||||
"lua_single_target_${impl}(-)?"
|
||||
)
|
||||
fi
|
||||
done
|
||||
|
||||
[[ ${matches[@]} ]] || die "No supported implementations match lua_gen_usedep patterns: ${@}"
|
||||
|
||||
local out=${matches[@]}
|
||||
echo "${out// /,}"
|
||||
}
|
||||
|
||||
# @FUNCTION: _lua_impl_matches
|
||||
# @USAGE: <impl> [<pattern>...]
|
||||
# @INTERNAL
|
||||
# @DESCRIPTION:
|
||||
# Check whether the specified <impl> matches at least one
|
||||
# of the patterns following it. Return 0 if it does, 1 otherwise.
|
||||
# Matches if no patterns are provided.
|
||||
#
|
||||
# <impl> can be in LUA_COMPAT or ELUA form. The patterns can be
|
||||
# fnmatch-style patterns, e.g. 'lua5*', '..
|
||||
_lua_impl_matches() {
|
||||
[[ ${#} -ge 1 ]] || die "${FUNCNAME}: takes at least 1 parameter"
|
||||
[[ ${#} -eq 1 ]] && return 0
|
||||
|
||||
local impl=${1} pattern
|
||||
shift
|
||||
|
||||
for pattern; do
|
||||
# unify value style to allow lax matching
|
||||
if [[ ${impl/./-} == ${pattern/./-} ]]; then
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
|
||||
return 1
|
||||
}
|
||||
|
||||
# @FUNCTION: _lua_verify_patterns
|
||||
# @USAGE: <pattern>...
|
||||
# @INTERNAL
|
||||
# @DESCRIPTION:
|
||||
# Verify whether the patterns passed to the eclass function are correct
|
||||
# (i.e. can match any valid implementation). Dies on wrong pattern.
|
||||
_lua_verify_patterns() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
local impl pattern
|
||||
for pattern; do
|
||||
for impl in "${_LUA_ALL_IMPLS[@]}"; do
|
||||
[[ ${impl} == ${pattern/./-} ]] && continue 2
|
||||
done
|
||||
|
||||
die "Invalid implementation pattern: ${pattern}"
|
||||
done
|
||||
}
|
||||
|
||||
# @FUNCTION: lua_gen_cond_dep
|
||||
# @USAGE: <dependency> [<pattern>...]
|
||||
# @DESCRIPTION:
|
||||
# Output a list of <dependency>-ies made conditional to USE flags
|
||||
# of Lua implementations which are both in LUA_COMPAT and match
|
||||
# any of the patterns passed as the remaining parameters.
|
||||
#
|
||||
# The patterns can be fnmatch-style patterns (matched via bash == operator
|
||||
# against LUA_COMPAT values). Remember to escape or quote the fnmatch
|
||||
# patterns to prevent accidental shell filename expansion.
|
||||
#
|
||||
# In order to enforce USE constraints on the packages, verbatim
|
||||
# '${LUA_SINGLE_USEDEP}' and '${LUA_USEDEP}' (quoted!) may
|
||||
# be placed in the dependency specification. It will get expanded within
|
||||
# the function into a proper USE dependency string.
|
||||
#
|
||||
# Example:
|
||||
# @CODE
|
||||
# LUA_COMPAT=( lua5-{1..3} )
|
||||
# RDEPEND="$(lua_gen_cond_dep \
|
||||
# 'dev-lua/backported_core_module[${LUA_USEDEP}]' lua5-1 lua5-2 )"
|
||||
# @CODE
|
||||
#
|
||||
# It will cause the variable to look like:
|
||||
# @CODE
|
||||
# RDEPEND="lua_single_target_lua5-1? (
|
||||
# dev-lua/backported_core_module[lua_targets_lua5-1(-)?,...] )
|
||||
# lua_single_target_lua5-2? (
|
||||
# dev-lua/backported_core_module[lua_targets_lua5-2(-)?,...] )"
|
||||
# @CODE
|
||||
lua_gen_cond_dep() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
local impl matches=()
|
||||
|
||||
local dep=${1}
|
||||
shift
|
||||
|
||||
_lua_verify_patterns "${@}"
|
||||
for impl in "${_LUA_SUPPORTED_IMPLS[@]}"; do
|
||||
if _lua_impl_matches "${impl}" "${@}"; then
|
||||
# substitute ${LUA_SINGLE_USEDEP} if used
|
||||
# (since lua_gen_usedep() will not return
|
||||
# ${LUA_SINGLE_USEDEP}, the code is run at most once)
|
||||
if [[ ${dep} == *'${LUA_SINGLE_USEDEP}'* ]]; then
|
||||
local usedep=$(_lua_gen_usedep "${@}")
|
||||
dep=${dep//\$\{LUA_SINGLE_USEDEP\}/${usedep}}
|
||||
fi
|
||||
local multi_usedep="lua_targets_${impl}(-)"
|
||||
|
||||
local subdep=${dep//\$\{LUA_MULTI_USEDEP\}/${multi_usedep}}
|
||||
matches+=( "lua_single_target_${impl}? (
|
||||
${subdep//\$\{LUA_USEDEP\}/${multi_usedep}} )" )
|
||||
fi
|
||||
done
|
||||
|
||||
echo "${matches[@]}"
|
||||
}
|
||||
|
||||
# @FUNCTION: lua_gen_impl_dep
|
||||
# @USAGE: [<requested-use-flags> [<impl-pattern>...]]
|
||||
# @DESCRIPTION:
|
||||
# Output a dependency on Lua implementations with the specified USE
|
||||
# dependency string appended, or no USE dependency string if called
|
||||
# without the argument (or with empty argument). If any implementation
|
||||
# patterns are passed, the output dependencies will be generated only
|
||||
# for the implementations matching them.
|
||||
#
|
||||
# The patterns can be fnmatch-style patterns (matched via bash == operator
|
||||
# against LUA_COMPAT values). Remember to escape or quote the fnmatch
|
||||
# patterns to prevent accidental shell filename expansion.
|
||||
#
|
||||
# Use this function when you need to request different USE flags
|
||||
# on the Lua interpreter depending on package's USE flags. If you
|
||||
# only need a single set of interpreter USE flags, just set
|
||||
# LUA_REQ_USE and use ${LUA_DEPS} globally.
|
||||
#
|
||||
# Example:
|
||||
# @CODE
|
||||
# LUA_COMPAT=( lua5-{1..3} )
|
||||
# RDEPEND="foo? ( $(lua_gen_impl_dep 'deprecated(+)' lua5-3 ) )"
|
||||
# @CODE
|
||||
#
|
||||
# It will cause the variable to look like:
|
||||
# @CODE
|
||||
# RDEPEND="foo? (
|
||||
# lua_single_target_lua5-3? ( dev-lang/lua:5.3[deprecated(+)] )
|
||||
# )"
|
||||
# @CODE
|
||||
lua_gen_impl_dep() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
local impl
|
||||
local matches=()
|
||||
|
||||
local LUA_REQ_USE=${1}
|
||||
shift
|
||||
|
||||
_lua_verify_patterns "${@}"
|
||||
for impl in "${_LUA_SUPPORTED_IMPLS[@]}"; do
|
||||
if _lua_impl_matches "${impl}" "${@}"; then
|
||||
local LUA_PKG_DEP
|
||||
_lua_export "${impl}" LUA_PKG_DEP
|
||||
matches+=( "lua_single_target_${impl}? ( ${LUA_PKG_DEP} )" )
|
||||
fi
|
||||
done
|
||||
|
||||
echo "${matches[@]}"
|
||||
}
|
||||
|
||||
# @FUNCTION: lua_setup
|
||||
# @DESCRIPTION:
|
||||
# Determine what the selected Lua implementation is and set
|
||||
# the Lua build environment up for it.
|
||||
lua_setup() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
unset ELUA
|
||||
|
||||
# support developer override
|
||||
if [[ ${LUA_COMPAT_OVERRIDE} ]]; then
|
||||
local impls=( ${LUA_COMPAT_OVERRIDE} )
|
||||
[[ ${#impls[@]} -eq 1 ]] || die "LUA_COMPAT_OVERRIDE must name exactly one implementation for lua-single"
|
||||
|
||||
ewarn "WARNING: LUA_COMPAT_OVERRIDE in effect. The following Lua"
|
||||
ewarn "implementation will be used:"
|
||||
ewarn
|
||||
ewarn " ${LUA_COMPAT_OVERRIDE}"
|
||||
ewarn
|
||||
ewarn "Dependencies won't be satisfied, and LUA_SINGLE_TARGET flags will be ignored."
|
||||
|
||||
_lua_export "${impls[0]}" ELUA LUA
|
||||
_lua_wrapper_setup
|
||||
einfo "Using ${ELUA} to build"
|
||||
return
|
||||
fi
|
||||
|
||||
local impl
|
||||
for impl in "${_LUA_SUPPORTED_IMPLS[@]}"; do
|
||||
if use "lua_single_target_${impl}"; then
|
||||
if [[ ${ELUA} ]]; then
|
||||
eerror "Your LUA_SINGLE_TARGET setting lists more than a single Lua"
|
||||
eerror "implementation. Please set it to just one value. If you need"
|
||||
eerror "to override the value for a single package, please use package.env"
|
||||
eerror "or an equivalent solution (man 5 portage)."
|
||||
echo
|
||||
die "More than one implementation in LUA_SINGLE_TARGET."
|
||||
fi
|
||||
|
||||
_lua_export "${impl}" ELUA LUA
|
||||
_lua_wrapper_setup
|
||||
einfo "Using ${ELUA} to build"
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ ! ${ELUA} ]]; then
|
||||
eerror "No Lua implementation selected for the build. Please set"
|
||||
eerror "the LUA_SINGLE_TARGET variable in your make.conf to one"
|
||||
eerror "of the following values:"
|
||||
eerror
|
||||
eerror "${_LUA_SUPPORTED_IMPLS[@]}"
|
||||
echo
|
||||
die "No supported Lua implementation in LUA_SINGLE_TARGET."
|
||||
fi
|
||||
}
|
||||
|
||||
# @FUNCTION: lua-single_pkg_setup
|
||||
# @DESCRIPTION:
|
||||
# Runs lua_setup.
|
||||
lua-single_pkg_setup() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
[[ ${MERGE_TYPE} != binary ]] && lua_setup
|
||||
}
|
||||
|
||||
_LUA_SINGLE_R0=1
|
||||
fi
|
@ -0,0 +1,373 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# @ECLASS: lua-utils.eclass
|
||||
# @MAINTAINER:
|
||||
# William Hubbs <williamh@gentoo.org>
|
||||
# Marek Szuba <marecki@gentoo.org>
|
||||
# @AUTHOR:
|
||||
# Marek Szuba <marecki@gentoo.org>
|
||||
# Based on python-utils-r1.eclass by Michał Górny <mgorny@gentoo.org> et al.
|
||||
# @SUPPORTED_EAPIS: 7
|
||||
# @BLURB: Utility functions for packages with Lua parts
|
||||
# @DESCRIPTION:
|
||||
# A utility eclass providing functions to query Lua implementations,
|
||||
# install Lua modules and scripts.
|
||||
#
|
||||
# Please note that for the time being this eclass does NOT support luajit.
|
||||
#
|
||||
# This eclass neither sets any metadata variables nor exports any phase
|
||||
# functions. It can be inherited safely.
|
||||
|
||||
case ${EAPI:-0} in
|
||||
0|1|2|3|4|5|6)
|
||||
die "Unsupported EAPI=${EAPI} (too old) for ${ECLASS}"
|
||||
;;
|
||||
7)
|
||||
;;
|
||||
*)
|
||||
die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ ! ${_LUA_UTILS_R0} ]]; then
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
# @ECLASS-VARIABLE: _LUA_ALL_IMPLS
|
||||
# @INTERNAL
|
||||
# @DESCRIPTION:
|
||||
# All supported Lua implementations, most preferred last
|
||||
_LUA_ALL_IMPLS=(
|
||||
lua5-1
|
||||
lua5-2
|
||||
lua5-3
|
||||
lua5-4
|
||||
)
|
||||
readonly _LUA_ALL_IMPLS
|
||||
|
||||
# @FUNCTION: _lua_set_impls
|
||||
# @INTERNAL
|
||||
# @DESCRIPTION:
|
||||
# Check LUA_COMPAT for well-formedness and validity, then set
|
||||
# two global variables:
|
||||
#
|
||||
# - _LUA_SUPPORTED_IMPLS containing valid implementations supported
|
||||
# by the ebuild (LUA_COMPAT minus dead implementations),
|
||||
#
|
||||
# - and _LUA_UNSUPPORTED_IMPLS containing valid implementations that
|
||||
# are not supported by the ebuild.
|
||||
#
|
||||
# Implementations in both variables are ordered using the pre-defined
|
||||
# eclass implementation ordering.
|
||||
#
|
||||
# This function must only be called once.
|
||||
_lua_set_impls() {
|
||||
local i
|
||||
|
||||
if ! declare -p LUA_COMPAT &>/dev/null; then
|
||||
die 'LUA_COMPAT not declared.'
|
||||
fi
|
||||
if [[ $(declare -p LUA_COMPAT) != "declare -a"* ]]; then
|
||||
die 'LUA_COMPAT must be an array.'
|
||||
fi
|
||||
|
||||
local supp=() unsupp=()
|
||||
|
||||
for i in "${_LUA_ALL_IMPLS[@]}"; do
|
||||
if has "${i}" "${LUA_COMPAT[@]}"; then
|
||||
supp+=( "${i}" )
|
||||
else
|
||||
unsupp+=( "${i}" )
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ ! ${supp[@]} ]]; then
|
||||
die "No supported implementation in LUA_COMPAT."
|
||||
fi
|
||||
|
||||
if [[ ${_LUA_SUPPORTED_IMPLS[@]} ]]; then
|
||||
# set once already, verify integrity
|
||||
if [[ ${_LUA_SUPPORTED_IMPLS[@]} != ${supp[@]} ]]; then
|
||||
eerror "Supported impls (LUA_COMPAT) changed between inherits!"
|
||||
eerror "Before: ${_LUA_SUPPORTED_IMPLS[*]}"
|
||||
eerror "Now : ${supp[*]}"
|
||||
die "_LUA_SUPPORTED_IMPLS integrity check failed"
|
||||
fi
|
||||
if [[ ${_LUA_UNSUPPORTED_IMPLS[@]} != ${unsupp[@]} ]]; then
|
||||
eerror "Unsupported impls changed between inherits!"
|
||||
eerror "Before: ${_LUA_UNSUPPORTED_IMPLS[*]}"
|
||||
eerror "Now : ${unsupp[*]}"
|
||||
die "_LUA_UNSUPPORTED_IMPLS integrity check failed"
|
||||
fi
|
||||
else
|
||||
_LUA_SUPPORTED_IMPLS=( "${supp[@]}" )
|
||||
_LUA_UNSUPPORTED_IMPLS=( "${unsupp[@]}" )
|
||||
readonly _LUA_SUPPORTED_IMPLS _LUA_UNSUPPORTED_IMPLS
|
||||
fi
|
||||
}
|
||||
|
||||
# @FUNCTION: _lua_wrapper_setup
|
||||
# @USAGE: [<path> [<impl>]]
|
||||
# @INTERNAL
|
||||
# @DESCRIPTION:
|
||||
# Create proper Lua executables and pkg-config wrappers
|
||||
# (if available) in the directory named by <path>. Set up PATH
|
||||
# and PKG_CONFIG_PATH appropriately. <path> defaults to ${T}/${ELUA}.
|
||||
#
|
||||
# The wrappers will be created for implementation named by <impl>,
|
||||
# or for one named by ${ELUA} if no <impl> passed.
|
||||
#
|
||||
# If the named directory contains a lua symlink already, it will
|
||||
# be assumed to contain proper wrappers already and only environment
|
||||
# setup will be done. If wrapper update is requested, the directory
|
||||
# shall be removed first.
|
||||
_lua_wrapper_setup() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
local workdir=${1:-${T}/${ELUA}}
|
||||
local impl=${2:-${ELUA}}
|
||||
|
||||
[[ ${workdir} ]] || die "${FUNCNAME}: no workdir specified."
|
||||
[[ ${impl} ]] || die "${FUNCNAME}: no impl nor ELUA specified."
|
||||
|
||||
if [[ ! -x ${workdir}/bin/lua ]]; then
|
||||
mkdir -p "${workdir}"/{bin,pkgconfig} || die
|
||||
|
||||
# Clean up, in case we were supposed to do a cheap update
|
||||
rm -f "${workdir}"/bin/lua{,c} || die
|
||||
rm -f "${workdir}"/pkgconfig/lua.pc || die
|
||||
|
||||
local ELUA LUA
|
||||
_lua_export "${impl}" ELUA LUA
|
||||
|
||||
# Lua interpreter and compiler
|
||||
ln -s "${EPREFIX}"/usr/bin/${ELUA} "${workdir}"/bin/lua || die
|
||||
ln -s "${EPREFIX}"/usr/bin/${ELUA/a/ac} "${workdir}"/bin/luac || die
|
||||
|
||||
# pkg-config
|
||||
ln -s "${EPREFIX}"/usr/$(get_libdir)/pkgconfig/${ELUA}.pc \
|
||||
"${workdir}"/pkgconfig/lua.pc || die
|
||||
fi
|
||||
|
||||
# Now, set the environment.
|
||||
# But note that ${workdir} may be shared with something else,
|
||||
# and thus already on top of PATH.
|
||||
if [[ ${PATH##:*} != ${workdir}/bin ]]; then
|
||||
PATH=${workdir}/bin${PATH:+:${PATH}}
|
||||
fi
|
||||
if [[ ${PKG_CONFIG_PATH##:*} != ${workdir}/pkgconfig ]]; then
|
||||
PKG_CONFIG_PATH=${workdir}/pkgconfig${PKG_CONFIG_PATH:+:${PKG_CONFIG_PATH}}
|
||||
fi
|
||||
export PATH PKG_CONFIG_PATH
|
||||
}
|
||||
|
||||
# @ECLASS-VARIABLE: ELUA
|
||||
# @DEFAULT_UNSET
|
||||
# @DESCRIPTION:
|
||||
# The executable name of the current Lua interpreter. This variable is set
|
||||
# automatically in functions called by lua_foreach_impl().
|
||||
#
|
||||
# Example value:
|
||||
# @CODE
|
||||
# lua5.1
|
||||
# @CODE
|
||||
|
||||
# @ECLASS-VARIABLE: LUA
|
||||
# @DEFAULT_UNSET
|
||||
# @DESCRIPTION:
|
||||
# The absolute path to the current Lua interpreter. This variable is set
|
||||
# automatically in functions called by lua_foreach_impl().
|
||||
#
|
||||
# Example value:
|
||||
# @CODE
|
||||
# /usr/bin/lua5.1
|
||||
# @CODE
|
||||
|
||||
# @FUNCTION: _lua_export
|
||||
# @USAGE: [<impl>] <variables>...
|
||||
# @INTERNAL
|
||||
# @DESCRIPTION:
|
||||
# Set and export the Lua implementation-relevant variables passed
|
||||
# as parameters.
|
||||
#
|
||||
# The optional first parameter may specify the requested Lua
|
||||
# implementation (either as LUA_TARGETS value, e.g. lua5-2,
|
||||
# or an ELUA one, e.g. lua5.2). If no implementation passed,
|
||||
# the current one will be obtained from ${ELUA}.
|
||||
_lua_export() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
local impl var
|
||||
|
||||
case "${1}" in
|
||||
lua*)
|
||||
impl=${1/-/.}
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
impl=${ELUA}
|
||||
if [[ -z ${impl} ]]; then
|
||||
die "_lua_export called without a Lua implementation and ELUA is unset"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
debug-print "${FUNCNAME}: implementation: ${impl}"
|
||||
|
||||
for var; do
|
||||
case "${var}" in
|
||||
ELUA)
|
||||
export ELUA=${impl}
|
||||
debug-print "${FUNCNAME}: ELUA = ${ELUA}"
|
||||
;;
|
||||
LUA)
|
||||
export LUA="${EPREFIX}"/usr/bin/${impl}
|
||||
debug-print "${FUNCNAME}: LUA = ${LUA}"
|
||||
;;
|
||||
LUA_CFLAGS)
|
||||
local val
|
||||
|
||||
val=$($(tc-getPKG_CONFIG) --cflags ${impl}) || die
|
||||
|
||||
export LUA_CFLAGS=${val}
|
||||
debug-print "${FUNCNAME}: LUA_CFLAGS = ${LUA_CFLAGS}"
|
||||
;;
|
||||
LUA_CMOD_DIR)
|
||||
local val
|
||||
|
||||
val=$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD ${impl}) || die
|
||||
|
||||
export LUA_CMOD_DIR=${val}
|
||||
debug-print "${FUNCNAME}: LUA_CMOD_DIR = ${LUA_CMOD_DIR}"
|
||||
;;
|
||||
LUA_LIBS)
|
||||
local val
|
||||
|
||||
val=$($(tc-getPKG_CONFIG) --libs ${impl}) || die
|
||||
|
||||
export LUA_LIBS=${val}
|
||||
debug-print "${FUNCNAME}: LUA_LIBS = ${LUA_LIBS}"
|
||||
;;
|
||||
LUA_LMOD_DIR)
|
||||
local val
|
||||
|
||||
val=$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD ${impl}) || die
|
||||
|
||||
export LUA_LMOD_DIR=${val}
|
||||
debug-print "${FUNCNAME}: LUA_LMOD_DIR = ${LUA_LMOD_DIR}"
|
||||
;;
|
||||
LUA_PKG_DEP)
|
||||
local d
|
||||
case ${impl} in
|
||||
lua*)
|
||||
LUA_PKG_DEP="dev-lang/lua:${impl#lua}"
|
||||
;;
|
||||
*)
|
||||
die "Invalid implementation: ${impl}"
|
||||
;;
|
||||
esac
|
||||
|
||||
# use-dep
|
||||
if [[ ${LUA_REQ_USE} ]]; then
|
||||
LUA_PKG_DEP+=[${LUA_REQ_USE}]
|
||||
fi
|
||||
|
||||
export LUA_PKG_DEP
|
||||
debug-print "${FUNCNAME}: LUA_PKG_DEP = ${LUA_PKG_DEP}"
|
||||
;;
|
||||
LUA_VERSION)
|
||||
local val
|
||||
|
||||
val=$($(tc-getPKG_CONFIG) --modversion ${impl}) || die
|
||||
|
||||
export LUA_VERSION=${val}
|
||||
debug-print "${FUNCNAME}: LUA_VERSION = ${LUA_VERSION}"
|
||||
;;
|
||||
*)
|
||||
die "_lua_export: unknown variable ${var}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
# @FUNCTION: lua_get_CFLAGS
|
||||
# @USAGE: [<impl>]
|
||||
# @DESCRIPTION:
|
||||
# Obtain and print the compiler flags for building against Lua,
|
||||
# for the given implementation. If no implementation is provided,
|
||||
# ${ELUA} will be used.
|
||||
#
|
||||
# Please note that this function requires Lua and pkg-config installed,
|
||||
# and therefore proper build-time dependencies need be added to the ebuild.
|
||||
lua_get_CFLAGS() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
_lua_export "${@}" LUA_CFLAGS
|
||||
echo "${LUA_CFLAGS}"
|
||||
}
|
||||
|
||||
# @FUNCTION: lua_get_cmod_dir
|
||||
# @USAGE: [<impl>]
|
||||
# @DESCRIPTION:
|
||||
# Obtain and print the name of the directory into which compiled Lua
|
||||
# modules are installed, for the given implementation. If no implementation
|
||||
# is provided, ${ELUA} will be used.
|
||||
#
|
||||
# Please note that this function requires Lua and pkg-config installed,
|
||||
# and therefore proper build-time dependencies need be added to the ebuild.
|
||||
lua_get_cmod_dir() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
_lua_export "${@}" LUA_CMOD_DIR
|
||||
echo "${LUA_CMOD_DIR}"
|
||||
}
|
||||
|
||||
# @FUNCTION: lua_get_LIBS
|
||||
# @USAGE: [<impl>]
|
||||
# @DESCRIPTION:
|
||||
# Obtain and print the compiler flags for linking against Lua,
|
||||
# for the given implementation. If no implementation is provided,
|
||||
# ${ELUA} will be used.
|
||||
#
|
||||
# Please note that this function requires Lua and pkg-config installed,
|
||||
# and therefore proper build-time dependencies need be added to the ebuild.
|
||||
lua_get_LIBS() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
_lua_export "${@}" LUA_LIBS
|
||||
echo "${LUA_LIBS}"
|
||||
}
|
||||
|
||||
# @FUNCTION: lua_get_lmod_dir
|
||||
# @USAGE: [<impl>]
|
||||
# @DESCRIPTION:
|
||||
# Obtain and print the name of the directory into which native-Lua
|
||||
# modules are installed, for the given implementation. If no implementation
|
||||
# is provided, ${ELUA} will be used.
|
||||
#
|
||||
# Please note that this function requires Lua and pkg-config installed,
|
||||
# and therefore proper build-time dependencies need be added to the ebuild.
|
||||
lua_get_lmod_dir() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
_lua_export "${@}" LUA_LMOD_DIR
|
||||
echo "${LUA_LMOD_DIR}"
|
||||
}
|
||||
|
||||
# @FUNCTION: lua_get_version
|
||||
# @USAGE: [<impl>]
|
||||
# @DESCRIPTION:
|
||||
# Obtain and print the full version number of the given Lua implementation.
|
||||
# If no implementation is provided, ${ELUA} will be used.
|
||||
#
|
||||
# Please note that this function requires Lua and pkg-config installed,
|
||||
# and therefore proper build-time dependencies need be added to the ebuild.
|
||||
lua_get_version() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
_lua_export "${@}" LUA_VERSION
|
||||
echo "${LUA_VERSION}"
|
||||
}
|
||||
|
||||
_LUA_UTILS_R0=1
|
||||
fi
|
Binary file not shown.
@ -1,12 +1,8 @@
|
||||
AUX policy-hardening.snippet 442 BLAKE2B d79fdbddab418fc9d8391e78992e3dda844e096052115113ff6f759c1a54541bcd7d7793547bc7140776659c98379a9e9f004aa46f757300a33f445d396fbf14 SHA512 e9e723c40d5b8c52bbc2f2b9a3ad7c7e2aee493bc37b6c3940e8486b92a1c6659e47b1e12ee2fb11c8a8b6ee48a7fc10354617ae12c36181a58e9e73b239368d
|
||||
AUX policy.test.xml 746 BLAKE2B 6bfa073606469b81cf517d9b069e48794cbda9272d12c3abb8ae3456aaf30cd1923510baddb7d813aa8ccde84e161de0b29314cef7b1a37730c7ad5236d1f5dc SHA512 22f66004324e3777393446a3df738ecd2aa405df088d39137008514cd86b436765b48ccd4355d670a42061ce4e5a7b2fd8e4be5852cd914f62ff0250a4a7ae57
|
||||
DIST ImageMagick-6.9.11-28.tar.xz 9315628 BLAKE2B 8ece7dae4d8c7de695e85b832e5c15c1474e00c9027aeb251a279dc9b51a02f5fd1e96f48987377cd6d937a126e5750e9aef9a11caf64603267b81e6a874f205 SHA512 e2954d1a55a37fa339dd0cbc0ca753e4f783cd77858277e287c033a53ac5f2e96bc5329d069016fc3841d07dc9e8f5b1bb08ecf9ed0224bbc675843132749fdd
|
||||
DIST ImageMagick-6.9.11-31.tar.xz 9225744 BLAKE2B 0a540862ac6cf3504e0ad081748c5e6a99b8858ed52e145b8be142a3294a5e354ee8453987c9783deb924a69fe2dbf340d88e9bc7bcdb14b98f33a6bf18e3039 SHA512 11a33d75c2e9ff35ff5e8d0c40a470874dcbe39350f84f7816c536798af0be5da78cd28416ce74e6f045a4cfdb0f70e1f7fb58dd7bf88465a744fb587c098ee4
|
||||
DIST ImageMagick-7.0.10-28.tar.xz 9705324 BLAKE2B 0fe890a23b9fc97ceb5253e24ab8236135f4a4f48c1480ad5577c6a2535bf350fcea062b8897fc5e7993ab86716b1e280fabcf664442e3fe9d209e8c2806ea2d SHA512 fcfdacec893bb0a39c4a3caae1ade5ea7d3f6b8909cc73f218260f9f9b354ebe77aecedb2be2e2a64011eceb895c1ecb2fa0f349361387d56fb0f3cde657e158
|
||||
DIST ImageMagick-7.0.10-31.tar.xz 9653808 BLAKE2B 14c02ed0be35d817ebc2ccb0fcd436e34a7350dbe459ec3acd1a6ed94e46b181b5f713c9e8b5260e08287d5feb34c7a23b4e57bda0752a8206352c10b5379825 SHA512 0f6a2e098706186e43be3b91f10ac243aef4d96ce8943e88709243f9673205ec2261502c623f10af4f8fa126d8b4d5e3f636c9820790e5d730e54c5e634a61b3
|
||||
EBUILD imagemagick-6.9.11.28.ebuild 7049 BLAKE2B a55cac8280b047983a972159734711175d78840a6d29c75ed38366fc07aa4be312c75f523ef4185318f9734df496373e36b0c3170cd89e0859d282935ef3b566 SHA512 524f10eb990b5a5df4af8d0c39e6cf00d30f6d3bda40c0f609a16825d23b2b1b18d5ea10413df97aca1c6a26b0ac05d06c7c902f8a7c0ded4c33106b05566d2b
|
||||
EBUILD imagemagick-6.9.11.31.ebuild 7056 BLAKE2B 31393b291f0d6bec7dc70d794b1a84039d54c1a12b7b4417caacea9bb2dc693a91d00273243a6450c1e7b7044e6b4c66a5fa8ccf28d1634d610a767775dd566a SHA512 72e95675a0102e46604bc1161c687465d2b2acf58a7096dd0637e2b9bdbc4a53ce2fb3490e6d32fd00ce5767540abe39b03a93c187f33b0c6c21f5c96a897d49
|
||||
EBUILD imagemagick-7.0.10.28.ebuild 7338 BLAKE2B c5bd8fa410de6a1fec8a11c9f11d4bc527acf4502ef3d02dfd2f845ee0db2831de6a1734c860aacf224df0e13895aed104d238420b5021b947ba35b91b60149c SHA512 2ff4dc18a4fe408c0aead424af26225f8590607a48a60ac11906603f0cd808e23c0b6b50813f3463f570d3e5c3a9675fb60edc67b2bd8428d073c7ebe0778a17
|
||||
EBUILD imagemagick-7.0.10.31.ebuild 7346 BLAKE2B 6b3c2522969859e905afddcb92679bed0944d991831822d5bf6e967e0faafed369380f793aa337ac87b3a1af7a1b7290dc0f71094cf6346fdd63d57d49823d97 SHA512 a21b1d1bd706370b2c044c7cd55c290dd7a9ffac55c0c92b86c8f4ac969a14d2d3eca6b9e97decc61099d3f0842e9029f145e0adc4366c1ae153a0333869da74
|
||||
EBUILD imagemagick-6.9.11.31.ebuild 7049 BLAKE2B a55cac8280b047983a972159734711175d78840a6d29c75ed38366fc07aa4be312c75f523ef4185318f9734df496373e36b0c3170cd89e0859d282935ef3b566 SHA512 524f10eb990b5a5df4af8d0c39e6cf00d30f6d3bda40c0f609a16825d23b2b1b18d5ea10413df97aca1c6a26b0ac05d06c7c902f8a7c0ded4c33106b05566d2b
|
||||
EBUILD imagemagick-7.0.10.31.ebuild 7338 BLAKE2B c5bd8fa410de6a1fec8a11c9f11d4bc527acf4502ef3d02dfd2f845ee0db2831de6a1734c860aacf224df0e13895aed104d238420b5021b947ba35b91b60149c SHA512 2ff4dc18a4fe408c0aead424af26225f8590607a48a60ac11906603f0cd808e23c0b6b50813f3463f570d3e5c3a9675fb60edc67b2bd8428d073c7ebe0778a17
|
||||
EBUILD imagemagick-9999.ebuild 7220 BLAKE2B 12b0db73d15e5d9b5af68912ae1b2907919cc875d73536c261477534fa17363fb8f75b2d63501ab6f844eb9e976893107513968d9e89ccce9d3490cfe93389db SHA512 19ce4536488e465e744a5da210566112de83a6d2df48a1cf9cc44c32a2e9d4ab3a65909ce17ac47e0dc29ccb734a5b52e81f6585dc015a3ad89faa3d72667747
|
||||
MISC metadata.xml 1106 BLAKE2B e77cabff89df6b98687290ef0ee06d85111a7ddca6f5e1e31f820e6d186a6510c2afd0b85ba31004f102fd7f7b88f46af101f4ba45011aac75afa40b0a714857 SHA512 68a5f9a80b1e3f2e3004252703f9b3176d7c59880a2724ae431fdfd97e8f2adcd7ff7ad2cd8ea8bd35645a3b559052f2c38713647ce7ae889ff1a6061e6b2d92
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue