parent
9938c7ee51
commit
dd0d1ba0fa
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29310 BLAKE2B 9443a56ed62daca477aacab8106be431d00c3a39b56ee2680d259f3f9e6715ffdec9cb4cec034e7e103869b1c6b5a846bf6ef90a9843dc8c535898ce40d82e1f SHA512 5a0916860b670fe9734bb68994dd86f62d558563559896acadbd5981353ba9499162deca2502ad96f2f5bd43e863396a66bd9f47552bad3b1f86434182eec794
|
||||
TIMESTAMP 2023-08-30T05:40:02Z
|
||||
MANIFEST Manifest.files.gz 29313 BLAKE2B 186dd3541a743997977cf13d0848b66290672e74f8f75d0147781eef73ff49bd356e8cfa3b90b54b99c64bc43f875da354843d5baea032179fce4de87936dbd1 SHA512 ac2e6ad8ad6e0c145f4a9b42ab5d7e6a9a1ff40dc8a224a08167fe856f8b2f500fbec080681cfccfb7e60222adbfe48f20e9a37c6fdd6bf3e944220e22fabaaf
|
||||
TIMESTAMP 2023-08-31T09:10:02Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmTu1jJfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmTwWOpfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klAUZw//XEGb2g/1VmoLjhMniZM1Ug8IEZRU32vwHEt8mwQ89oTnzPxApIRc4EPr
|
||||
NYNIvjCWhvhYqX+RntnbDQbfffCEUp9IHgzpnX1FntfnivnXhgq/3v4q9VJQaDgE
|
||||
Y0q0iTN6VWL+qxjL405EmWVsOpeKavg8icvdygofuLqoVMF/WL7m15uQizc/mbjr
|
||||
2wz7IWuvjNKQJvpC3fcRhMQdkC7oRbymy+7fUPDVvjnznFogofGCeirzX9WLqAQI
|
||||
A2+71MNnlsidLa1113vd4ghipR5/uAer/FASWP+PZKBxwGdVeS3y84hqKf8B2cmS
|
||||
C1pDkwjhsn25VhrslWg2CyX/K/bA8Kz3FQ9wdfd+Rt42sjeo75QNmdUDh9OINuqW
|
||||
o+QDrABMvKiPk56tWHBY5hwNYb1RGyn++ttgAFifPs0xjZjVlE9MWLnONSJ+SGWC
|
||||
ehLm1uK0sYQiVlL37wkO1WRxuU9okmvP32CjWzIXj+iRyrNFW/6Ldk0ez4uZFCqh
|
||||
0g78s4y0xiAcqxOlx3hG/DJv0MvVo5iOESV89G+zMai7hpzPGDQ2VSpaeCwPp3JJ
|
||||
dYA4F0pRB2/K7kKRs16R2mgaCLc98QV9U/eMLo4SN83YIL5oCmi5ADAHSei0W858
|
||||
mCWWZY4PGFaNv2ShzCX481owlJDZ2xAnkW2uXKcaDC7XoJPpawI=
|
||||
=5cEY
|
||||
klCkfg/9FytFNDVXQtDV2zgiYcdgffBt5XHYNtfBkFwkQTjcCAUc6zDgdQON60gc
|
||||
Cl9ypxKMLBPpSIcRvdZrT/m1yDh7KdQ+r52Is7cM/q7vvgLc5Pqs/l5nv4pGDqvm
|
||||
5IM7fLzxa5lIqIG5cLUCTgM+paD0D80BzVz2WXd7HJqQhJNIDSnmJynTJ0pgeXOH
|
||||
skZaemsK0q40uToTICphhXYGmG6k0Z/V1w40C96NGNXr32nVEpHTf5GU5NxoEyBE
|
||||
+3+cxNhUAkZDM85Wo0Sey/C7w6ftyVbzQCKKq+z5vuQDOU83iyuaVFxo+Ht0tw2d
|
||||
JmF5M2UUNijna4oJXr4qhgKDqGt14TbXE4813U3DZqRf2Ldc1ORDQLYx+c4m/1aD
|
||||
+Fn2Bhg+xVUQ+OauhI+4tfWx/GtKhE6RtW/xdFgpKJwreW4uUs0KabtSs3Sum5OQ
|
||||
Q07bzpI9YmwRzIkKAYjpbk25YKs04sQz/FfvdGLUa0Prmzs1UwMPENbitjzVLNTp
|
||||
BNlx4XN/K5iAqezRVndrplRCadThmQRTNQ1fi1m+odlqFmyvfbP7MA+X87trU1lx
|
||||
PNN9a1vn5E1dpaypD7su8r2tctNEjQDL8A37inzzrNHN82AGUUOBvpCwVqVCCuNg
|
||||
5pkp0IlY/YdRUQkuuWADlgENNUkwu1U5zpWyZi8/JiTIHbseC6o=
|
||||
=yuSZ
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||
)
|
||||
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,10 +1,13 @@
|
||||
AUX duplicity-1.0.1-fix-docs-cmd.patch 642 BLAKE2B 02fc2a2efcfbd6cabe6da997efbf02401df0560edc239b949f89357c66735b6a7282c356fd93ce2b1163543e1fb95ab17332a4ac9f0aea16ae5ec92f232c6c8b SHA512 410515e48aa5c64aa72bb6930bedc5542f57265d31c80bca1c95244d2e87bcf74a822308d27263f48726349a8271db6663b14159c6c3f4b10d25869078fdce6b
|
||||
AUX duplicity-1.2.2-fix-docs-cmd.patch 616 BLAKE2B e138d8778896254cbf0daabf5457ff7a4fdc6600d9618eef2ce1cc8eb24d88bb8d8ba69ae691d31f5dfa1937c474dedd67cb2fd0a8f1270617ec64fa3300fc00 SHA512 e94433b2c7e50c8e3a5f1c46653b656ac079cc87501c4dfb8b8c78b5895a666c537bea713e51de299b7f05eeb3c68bc3d224ea570f79a0f425f744b1e52c15af
|
||||
AUX duplicity-1.2.3-fix-docs-cmd.patch 621 BLAKE2B ca8f2aa4099ffac152cb7844e5f871679fac0a8c28a19f9c445b820b4a40ec95835f70cdbd2db16f22e2f7dacbb961147f85810682744e058525930ef78dd4e6 SHA512 df3da633bd6d2d1ff250a8d51824be13756d59809fb893ddc48fa7449ef80b5f43464bbfaaaba5efb1bbb3782745a2375e321944b86d2e902f617381b088a9d9
|
||||
AUX duplicity-2.1.0-fix-docs-cmd.patch 607 BLAKE2B dce894101c4b0d5eeb81f229e473f0671c03e44fa57d4175af38a8d696a0bae3aa8767ab76579425bb33a71dbd41729d7aebce0bff1e0f4df4c4dff3fc388b2c SHA512 52252c28c5d3f186fa32e208ae0fcc933982a58ceabbd9db1f99e66524d0451549dfd7050890a1ac72a69fe6869b0a1befd51419e1669aabc7c305b805c4e1ec
|
||||
DIST duplicity-1.0.1.tar.gz 1928618 BLAKE2B f7ffdd488e42219b66b6174dbb944283d02910f57cae9fcf849e8f5363986664a49ba7e316d6b3efdce89deec7e4c6a65a95bcb365fa23b928244b5e8f29d48b SHA512 dab8341b990b1899de6080f2539681f0a84f1875fabf04ccd68908e8dcdf55cd31f26d1431488b49ac6b048a1e7ff2e0a0afa27f6eccfd6a20f47dd7193b4563
|
||||
DIST duplicity-1.2.2.tar.gz 1427493 BLAKE2B d30f91054c59695483a60a684ebc11440b1a490dc635fdc856d7e3e75d7c3b8bc3f8680ecec0af435fe3064c292c6ff0db392e6bb33c682e9527561196e842e1 SHA512 5da4addd0742afa93c62c506f49235b396a7d4bb6576bfd5ec223e04936072ef92e874c533f0f7ece3c1460bf017c2e1875d4ed5c08181113e2509dd28b4521b
|
||||
DIST duplicity-1.2.3.tar.gz 1438570 BLAKE2B 12afa69f537d2207343c1638df1cf69ad3e170b2f1368e5d8b86716ccc67564834798e2076a90f021bae8f1d8574ff50f0615fd873cdcddf1399349974d8d4c2 SHA512 d2a31b4ed2c0a188d6d2ac543d3d4a474b4c10028a3005b26f57bd57e8c7441eb96e361aa9805fedc6aa09e76e86d3d1e99800669dfb7b2510233e2c0aba15de
|
||||
DIST duplicity-2.1.0.tar.gz 1502980 BLAKE2B eb90898b75128cd4140f0ab49172da439b675cb512b03c7a449db295ffb6e0beee77773fcf364e69c9303b094ab5572a4bf72fb4fbbbfdec29bc3ab40812ab8f SHA512 c8777903935391b0968aeea562202a175625d6c2cac5cfab422ec0c9c002652b34f14f74a820971a74b2f62c58efea49d37bef3918943210fe623a12278f4ce8
|
||||
EBUILD duplicity-1.0.1-r1.ebuild 1093 BLAKE2B ad89ffef1f265315f0d17557314d3d864a8220d4891b08e01a1077abadad66076530fc03ef4ba20e12d9c2621368cab486b84035389e6ab64477d3b52613fd60 SHA512 6c0c8a13954b22ebe7b24ff1aee17d505ca4ffcf68e28168456d4b33cddf6d3dd2b729846df878de1bb6410f32cdcb3a3dbd03505f06254bd06b7dd64e30bcee
|
||||
EBUILD duplicity-1.2.2.ebuild 1127 BLAKE2B a7aaaf28b6fef482d6859f9a15e54ba8e215226b5f8bd67284955e107e15b40cb8797589a804c347b083aa4b9e46558742e3133a25b7d6f6a1831fb44fb4cb26 SHA512 a7986e75be1320bf0c9e9bb00d23a9f2888efc16bcc9e4b4e0f00e38f8580a878658281c4baf8aa00dabf37e562055fe99179e879445eaaf67fa92a6de3f60ea
|
||||
EBUILD duplicity-1.2.3.ebuild 1125 BLAKE2B 9874a0f6755e920108d0f470ed49019244f490f2b0e3b6764b81760d5e0bdfcbe2687ea0195e6fa7477e74ab9d040f9271d69eeee205436952621c036bec1ce5 SHA512 ed5c81c476a67b5d0680a6277d6f0001140cea1916ddecc9cac695183948a89a20528af83a6c0f148220d28bb5abc6805f81e07cecffba2b6298700b9b047314
|
||||
EBUILD duplicity-2.1.0.ebuild 1106 BLAKE2B 00f2105cdc6b2f27998734a9cce83faa46f33c8010fc86739a4e1477d48356fe9c80af65062f52f20a633c68a010b0cc674bffacb91fa8b3239be146fae34e57 SHA512 9df3d61d61a466351cc0991ba70a1a212ea07900634cd3dbaf21ab357ae27b429d1d208df4169928cbb5b11fe87e0615e43a2ed3ca8db106cff484a7ec83b174
|
||||
MISC metadata.xml 404 BLAKE2B 9fa4c854c3f8ad4cf2583806f1335a86271123390ff3b2ae887fa5c2acae5e7a69c38a79d6ca09d9a6a30d2d81b5806f1fa0e580a55ac37fa61a54a52d348193 SHA512 9c0ff92038e96fca050bd49d48d5dd0027fa1e5e1cd5269e7cb42e3fdf2b526365ce8df8dba918feeb2dbe246bf1e2163b42b77ce0f8b5bf5b990ab8b9722dd8
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_10 python3_11 )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
DISTUTILS_EXT=1
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Secure backup system using gnupg to encrypt data"
|
||||
HOMEPAGE="https://duplicity.gitlab.io/"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
IUSE="s3 test"
|
||||
|
||||
CDEPEND="
|
||||
net-libs/librsync
|
||||
app-crypt/gnupg
|
||||
dev-python/fasteners[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
app-arch/par2cmdline
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
s3? ( dev-python/boto3[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-fix-docs-cmd.patch"
|
||||
)
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Duplicity has many optional dependencies to support various backends."
|
||||
elog "Currently it's up to you to install them as necessary."
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
--- duplicity-2.1.0/setup.py 2023-08-30 13:39:42.430023811 -0400
|
||||
+++ duplicity-2.1.0/setup.py 2023-08-30 13:41:59.154868245 -0400
|
||||
@@ -92,17 +92,6 @@
|
||||
'bin/duplicity.1',
|
||||
]
|
||||
),
|
||||
- (f'share/doc/duplicity-{Version}',
|
||||
- [
|
||||
- 'CHANGELOG.md',
|
||||
- 'CONTRIBUTING.md',
|
||||
- 'COPYING',
|
||||
- 'README.md',
|
||||
- 'README-LOG.md',
|
||||
- 'README-REPO.md',
|
||||
- 'README-TESTING.md',
|
||||
- ],
|
||||
- ),
|
||||
]
|
||||
|
||||
# short circuit fot READTHEDOCS
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST gedit-plugins-44.1.tar.xz 913228 BLAKE2B a153b82da23f7838da9fa24b28687eae2fd0e4381693515f45e665fc6d9bc2715b37fa6bdac7a8a6ebd947ba0a3a70e5c12708bb14a053c9ad0384549e8ef4f6 SHA512 d5d767210b362747e4ba51b61b4d1c58bf5b37aa5f942cb9654f71c534d8bce2594ebc9004bed686627403fe1c3a6af84a45f4ce72af1f27fa7b644d11cdc9e2
|
||||
DIST gedit-plugins-46.0.tar.xz 897216 BLAKE2B 9dac94c03147fa3a949df5d924a2a18d9cf29a7928f088a0ab6bd07538dc316c28f9f6a5f7cb91b386d25b4a15b5178265c808a7d327367902c7077980a56be8 SHA512 fe9d975273df1ec7d3729d76d3e652b04ec90595f2fcd90a64f9bc01de6bf7955aa96fb663966d8dab5952a01552a70123eecee81861c4c6d219199ca2ada579
|
||||
EBUILD gedit-plugins-44.1.ebuild 2587 BLAKE2B 89f009a541f6d10c06a8208b7521ac57c23675da04871d7f4b3396dce5527ef94ae7c8dba873d26a29fce038744163239f5fae985894638ac1ef7c03de9020f5 SHA512 62a9a0b4fc3e63dd50ceb089fba6629aa7b613da925982a96abe6773fb51267b4a8e53a75ff59323fc0ea52be31c3f786c57111dd91881a298b9e8913fe9d2be
|
||||
EBUILD gedit-plugins-46.0.ebuild 2447 BLAKE2B 2da48e17bc70eddfa29a2306d6882089c8a00b00ebd7f2e0df859589af6b29ef3e8443933f712d07a86054c9ecb60fa00bc605af724d92d240eb0e8d85018f0b SHA512 e312658c3730e54361b882f1c156cbf24043722567c11ecca69422b0f751a61b03c0db65dbcf9588e4e09e6ee4b7e50709b7c8f718416503654c4b34f89075b3
|
||||
EBUILD gedit-plugins-46.0.ebuild 2445 BLAKE2B 85c4075dbaf1de48bf0358ea066a8aa0efdd4a41b2731b7d39344b64b5d53bbc737fb17b9650776d3281e885bc68d908c0cdc0818f860957ebb98839b630f7a0 SHA512 98b19b269cad7e4e9b03d1d4e671cb3555ee77868f22acd8f0a1b9505a00c8efa647a390d2491feb989d0184310e724a45658cc3740675cb34eaace34152a273
|
||||
MISC metadata.xml 596 BLAKE2B cf545e591c160fc584c5c2b1e3f5fa6a47922a958f981daa5c85f3f6c8f7eaed2a520d6265241998dfe211098f70c75a0fdfff033e55e892e5775b678ea9ef5b SHA512 0a3b9e748bc2d22ea16a694f8ebd6196d05e6652f552523bfe6fa60f1c69ab50110692cda7a59239c8f6946c06d3139a4225f1744e0dd40ccbdef3e8b396f692
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST gedit-44.2.tar.xz 2741932 BLAKE2B ef069084b0a11d86a081f10542ddfe39e9a6989dd0d7e5749af3f62267ea52c6885bf3a50065227307cca6062098c460b05da89f1cd2de0b8d2e6c9c81feb8ad SHA512 c9dd412a16d7d0ba17214164017948bd1184ee5f9c44475e9e02880c0597b2fd9840f9488df7262cb413baedf5e16ce49dd32410b02ed0f53cf4bc94d3e3a4c7
|
||||
DIST gedit-46.1.tar.xz 2756336 BLAKE2B b79c04b12b0220429d6284c9d966e7a8cc2a454b0cd0b7ef807576b4a3e0dccab52f5fdbdaf9f774880c801eb842484260818036e30e5853d573c1fbb4dd14b6 SHA512 42cf210afd35df8d6d3590ebb5ff310b74ccf9da803277cd375474629e2bd32bc542f34e3c307a1f591c04e861b92e153e4c9a2daa852e5250fc1294d4bbf72d
|
||||
EBUILD gedit-44.2.ebuild 1770 BLAKE2B d39fd4a51787a1b29bb369fdbde8e220aeb5e71ff9186e10321bb73ff96d1ef502207061ce7b3a00158413cead0bbc09aa43b14fab47fdfe5cc779a9ef7739ab SHA512 0f1b68c2233c8e4d644d9757b92263f7ec49171fc64b4da237c3bc3d5be7f4017124af5b3de609aafdffb7231630c78775b7c10681d411f320e810d4a6892284
|
||||
EBUILD gedit-46.1.ebuild 1741 BLAKE2B 81b6d250afc601af7099676d0c241656027010fffa92e1745a103022ec603e751565b0d2083dccb826ad33c2ee41f004689b8ca27794aaff065bb09c69e2da50 SHA512 ce49e58db2b53d881843ca63fd0b3af10ddad256d225d899107d68fed2d7acdcf4814d7f71c6c9ff10ddfa13e6a7b4649d7a30c88288fb1fff14f76556e2a50c
|
||||
EBUILD gedit-46.1.ebuild 1739 BLAKE2B f079f00cf7cca370a3e68e5186e7e15c1f784b87e6b779896799de3c509468a10e870e43539488eaefb76fd0b67ca60a0e779bc6b3996e0ce056b36208a26956 SHA512 350f311bc1b74150c86215b5361d13724d4c6d857f86581e3544f0c81478af7dd942875c2e40512f7574139979430c7a75603c92ef72735324677e04f176c01e
|
||||
MISC metadata.xml 346 BLAKE2B 59226b3220bd9b1770fad0f5acf3b1888a57a3496f9e0a6eb0eb09c12b7a5aa461961753dd8a5a6f01db1cdb97af5b28d6a8d1d632b60f499f86e0864e29264f SHA512 3e1d83ad67b85a681b85f8fece9d6c2c3eab2f2f726447230dc1f2399a21cba211d97e11d8c06d0d1b1803fafe67be4b32c04b39c5f8586a421c525624f6697d
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST gnome-latex-3.44.0.tar.xz 1168840 BLAKE2B 7eb34502a9bcdcbb5c8e2d8336a3029fad1cdd1da0cbd704fae4de44a3aab913ed43228172dfe7798c7a513a61664fd8af97df0aff66d62f8502edbe845ac12f SHA512 d1dc7b2321438ebed7a209c7c750123a0dcf8ebcf92f73fd7eb4c79282f51d6b6a8328ee8759326f43e53dbd2ba9d1fadc056c2fcea11e7785e7c27574707e95
|
||||
DIST gnome-latex-3.46.0.tar.xz 1216344 BLAKE2B 09255b263a886f3e7c50c44765e2399ddd148a807997531cdebb19c2cd4e320d970aba61dcad25413c50cfaa2cfc5c46a7bce3c768ff0ecf77d77921094bdcaa SHA512 a2c85f240bdb90633f7e0b8710095ee6db5f6f4b67ac831376bc3741e34d53ab37b76ca33dd26f8080f03eaab436040a33db30c07965cd5998b929f37c43929b
|
||||
EBUILD gnome-latex-3.44.0.ebuild 1067 BLAKE2B 3dc80120b6328fe65d5913d09b8e3b75d7251238548e8e3d17d59d3651c4c00064465681a91e27a325507c05681df8fa18fb6b7bedea30abcaee5bcccc82bb80 SHA512 bbe7c13cbcc10198fd140626ab0d98fd5f6695f35938ef8010e583eee59ce132159d3b4ff1ef87a72fdf6c822786347bccd86ffc837bbccc915f886f3d918537
|
||||
EBUILD gnome-latex-3.46.0.ebuild 1044 BLAKE2B 38748c2b82dc72077e0953d9db1281fe4e3c0b1065a07540b4b895bda87786b16f4102e162a545a305e6eec622c55f291f836c74e8df15a229cc17d8087c2b7d SHA512 b7271174a774e1a7cbc946d78db84e48e397d705ef90af93cc515ad41c32583c7dbad3618c4595e1d69f82269e919d022097a48f6fa38ab2a412fdb7529e9802
|
||||
EBUILD gnome-latex-3.46.0.ebuild 1042 BLAKE2B 7be46fe0b64d265ad927c29c2162eb7c8bdb2b7ddc563de146114a3195b1ea4c0d7e1b863520ce1418f878bfbc44d7d6e249bd2d7b354cb6f81ed4929980cdec SHA512 89fccce1cf0de1d23d66537604fdb5341b7d91a1b073c596a235b9c3b7727c159e8c296c4a9a215e6bde8d404d96450ca21832eb8f46d9734b03a44ebf8e3654
|
||||
MISC metadata.xml 575 BLAKE2B 73604444b6c40826ddad63c484b35ed2bb7c3edf6ab59e40994881769051c96b2ebb211d47d2f67b562c48e15ca589863f6cad9984accaf40567bc8f697b15e6 SHA512 6a6bbbcd0f1e3119f624828a3f008d12377c835f4235fe6fe232f326dc8d3bcc960406d1c33ababd00b0a941f9c7160c3f6a7b106a9f70ccb505b0eb0349e5b6
|
||||
|
Binary file not shown.
@ -1,8 +1,6 @@
|
||||
AUX 50ebuild-mode-gentoo-1.54.el 1509 BLAKE2B 98cf2a1672723ffaa3f4d2f57b4b67b897df56cc2d7352366b79df0578b927faae53c3cc703fa70cf23bd0b1006d8c49dd8e59fcaffa3a231fd7ec5e26c7dce5 SHA512 91c59e85ea79733c195985e4a33dfb1aec8ac13457c0dc3fe7353fb2616787ebde4393b671a2943b752725593929070b658c24955d5e2132b6e9b76daa749850
|
||||
DIST ebuild-mode-1.63.tar.xz 39600 BLAKE2B 1746e0ab558fd7b48dc778f2287b3a9f2b5f82f5e4e53e353b0b9c3de3436a8ec17f827d93cf1ff990dd780a33435ea946e19ac655fd0f39fee03beb07ce5509 SHA512 264678921d8a2e535fedcc06c9c0932a4898f3d33cc54d79107658d9a77048e00c5ec276d4c74dc55c2ba2c643024453542f16619fde473d417b446bbd78175c
|
||||
DIST ebuild-mode-1.65.tar.xz 39952 BLAKE2B fba1a751e417d39e1d4ce6f9fbc9b5e3465bdddef5fd9a675f6649a3fddb56a8009ebf4c9b22bde349c2faf0009dc6f29ae1acb78632144fbf1b4b5b9e5fa4ca SHA512 fa8b16d68f3afd1ba3557e13d83a809d723bf0f0adf4741ee6897381835c96970a43c28191e9a90a0f096a164c183604caaee2e5ddb0769ed77fca34633cc0e3
|
||||
DIST ebuild-mode-1.66.tar.xz 40208 BLAKE2B 6db4cae77c736457adb707c54a3adb800a07a42f9bec8ee6f69c5995297665b2fecb8208c23be8cdfbf9383046a14db2a94bdaa14756ed4aee96c086067d8563 SHA512 70e7b7e071a74fa54aab6e3d5ca0d9e91406f10634a23ef084e95f7bf0d1900927196023d44f6e3fb7bc6e3f6a27221e171e3f4216342d7aafadea16ec56eef0
|
||||
EBUILD ebuild-mode-1.63.ebuild 874 BLAKE2B 1c65faf2ee32a4c4a094ab9eef56342d61ec272000c15e3cef4c0a604a91af8e1157971e173919f95278375511c81393987de8677f713857cfc4400ebbe85b72 SHA512 e704314cd41d61debba4be29f21746501bc7893f55782f3933e276dfd5a3c198f56b7ce18fa7c04468d6ed3a43c573dad69591d5eff590f74f0af40a75ec39b7
|
||||
EBUILD ebuild-mode-1.65.ebuild 874 BLAKE2B 1c65faf2ee32a4c4a094ab9eef56342d61ec272000c15e3cef4c0a604a91af8e1157971e173919f95278375511c81393987de8677f713857cfc4400ebbe85b72 SHA512 e704314cd41d61debba4be29f21746501bc7893f55782f3933e276dfd5a3c198f56b7ce18fa7c04468d6ed3a43c573dad69591d5eff590f74f0af40a75ec39b7
|
||||
EBUILD ebuild-mode-1.66.ebuild 881 BLAKE2B e5790c63140728370663fd390818141969890060d2a01b9f83846c9dfa495608b7c844a07d1df81d429dd329a3f2f46e8c8e6075ce609e57cd8940765369da9f SHA512 391230d12863a5bdd0e7a3643d089d7bf09d82fff736a3abc9ce1de3130962890951274d91d4b595bce7d538673232aa8fe780a59afce342b964cf4226b18365
|
||||
MISC metadata.xml 483 BLAKE2B 203c30fd4195b63532c0462427658547b0805fb23b57c9a04c554eba8ef0a9b9bc7e3100a51c3cb7feb11d1dcb9472357e5e53640e9a94658e35594cd3369f56 SHA512 78804ced19849c5d88cf942117714db3302cb2187e93ab3924b5526d0c6aa973dbda2cdb5a67c9e0639d5ac3278ea8da9df1e20c2b3cb96231f3fee5fc6845fb
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp optfeature
|
||||
|
||||
DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
|
||||
SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
|
||||
BDEPEND="sys-apps/texinfo"
|
||||
|
||||
DOCS="ChangeLog keyword-generation.sh"
|
||||
ELISP_TEXINFO="${PN}.texi"
|
||||
SITEFILE="50${PN}-gentoo-1.54.el"
|
||||
|
||||
pkg_postinst() {
|
||||
elisp_pkg_postinst
|
||||
optfeature "ebuild commands support" sys-apps/portage
|
||||
optfeature "additional development tools" dev-util/pkgdev
|
||||
optfeature "ebuild QA utilities" dev-util/pkgcheck
|
||||
optfeature "generating HTML from GLEPs" dev-python/docutils-glep
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
AUX 50vhdl-mode-gentoo.el 146 BLAKE2B 4a747d323606390205a52c3cebfd1e54b153e9e18ec3fa5ed557493df1579b783cd29fdef2a031f6b8f8c573fa3eb82e312c8e7449a5e91ffd00ebe9b4c874c1 SHA512 22f1d437f487fc2c0e739000687424271027c2defa87eec696c79ff5df958c6087475c7ff84c2af39e2eb756401ec1d4b1f013a27af1639c416843899333ee21
|
||||
AUX vhdl-mode-3.38.3-emacs-28.patch 437 BLAKE2B 33490a56560d45dc66fb03d12a4f7e08271379f37c1dc328e083c936f10b238c640f5baea96a6606e2aef75f23eb023532d92c46cc7ef83e7338007071d7f17e SHA512 664dc025d7105a83f4d5eb654cdcb17c5828dc7b842654b0df30f36498c9cbe1edd3dcc4ba335c0fe874ded898e7ca1473e1fb18aeefb8354426fc6a5f695d58
|
||||
AUX vhdl-mode-info-dir-gentoo.patch 522 BLAKE2B 35204f9ec727ec5ec44ecc03a99cedd5a5a3bc62e59dac577ed40dd0099cf08788b149e16d4fc0c2953dbe70bad8810eaed8496165e3b65ae1d8c23298a2aa5d SHA512 7ca2b0ea5c07255bf99e6a9105c120df924178a596e97d6a1bfcedfda4bcdf4f093f1383d1ea2a1383207c19971a110696ef9b49b17542e79d92c4501316039d
|
||||
DIST vhdl-mode-3.38.1.tar.gz 318400 BLAKE2B 2ddad9f4e8fdb0fafd2e27075f5722fcf7959a2b50ad61c5860af52706d9579065e0880d7b9bd1b884c21cfc902760dff006404490c8cbb1474831aa4c6d841d SHA512 2cc12994e17658d65cffa348c59ac3208cc0f498731941b8f64da68e258ca57d6aa500d72103b005996cf3496e119cf59b52bbc1c4b740401685030b42f272a8
|
||||
DIST vhdl-mode-3.38.3.tar.gz 319205 BLAKE2B ec64bd5fb783ef5e295319ca86ef147a021ffce352ddca49f19dcdc6b79c5bc9ed9350ad154321dbf40a84f501d9da70ffd685d2376a8da98cd2426b9df4bd36 SHA512 4738927daa424c5d66bc69e021e6b624cc23a3bf70a6f78ea5a7fc07ad0bd0aaf5429594b6ff71067edbf48802d7d77f38d607708541fb59e259cc1a4221fb60
|
||||
EBUILD vhdl-mode-3.38.1.ebuild 521 BLAKE2B 21648410afa0d7a7a10408074a2bbbd96c49f6055d0e18f384eef6bee6b43a7bf8f518c46d722c80590c75c901c1df1218cc77c2257f621cb5ea0362dafa9b08 SHA512 34412a8a861fdaf58f604f411703534d90aee86770a28c03a80c3541d72a39773e05e1153eb23011d31511159240e75966124623112a054fb9e74b0ac7af8971
|
||||
DIST vhdl-mode-3.39.2.tar.gz 320568 BLAKE2B 3babb589911dd6bc83109f4de1a17f8d45a549216ca85604caef9470b6965766bdccf0c7e0963c17fbf310fa4a2f1d1e6e11f1dff6308328ad7f395a8bbe3d1d SHA512 e4486e3f7836c6c55179b389d6537bc7f2265b402aafb4e600ea87056f05de2af5f7ed38d59f023d73f8668e1b8594be82e057eb47569d9f09aa4d0200b41922
|
||||
EBUILD vhdl-mode-3.38.3.ebuild 581 BLAKE2B cb745175be84473158d49ca65db1b4db375bc1986ef9fea833bbc83fd4da105c20f3edaa15c12179aed1b1bcf788c921092779de7325fa4a70c6558d52b4c61c SHA512 ccf2357abff9d85d6c233638b63c507267c889210fe28360f186bf6bc717d396a113e49f54d94b3a6762457cefeb7723e387599230712feab7d39fe322145132
|
||||
EBUILD vhdl-mode-3.39.2.ebuild 548 BLAKE2B dc59634894d3ae3a2e7ff26b7e28f078d363374ef28707d001fe72c0020f0ab8c2336f5cfdd52528902873d208784c44797023762086571dc7c6e7d8fa14e23f SHA512 11ea1d52e82a03a8b20ef3d35089508635ccd365051d8018fd38ddf5de400b3af257cca34630130476cdac14909c974e1bf70270ac30d8fbf6a58b6ea807d5b9
|
||||
MISC metadata.xml 283 BLAKE2B 81c49021199f71096079a27f9121390fb8c1285c54b9478583ff2d647277fa106ef12456d7097c4be092fc48b514a1adcf855ca0fac911598232ef9eb7f102c0 SHA512 f32b303760addf5d4db8d18bd10fb677353cdfa4c5e545d47804ef756cf5e5a21f8b8efb631b08f802185913ceb98da820e404e06eb03d01fe9ea85c10d1ac13
|
||||
|
@ -1,19 +1,19 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="VHDL-mode for Emacs"
|
||||
HOMEPAGE="https://iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html"
|
||||
SRC_URI="https://iis.ee.ethz.ch/~zimmi/emacs/${P}.tar.gz"
|
||||
HOMEPAGE="https://iis-people.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html"
|
||||
SRC_URI="https://iis-people.ee.ethz.ch/~zimmi/emacs/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
ELISP_PATCHES="${PN}-info-dir-gentoo.patch"
|
||||
PATCHES=( "${FILESDIR}"/${PN}-info-dir-gentoo.patch )
|
||||
ELISP_REMOVE="site-start.*"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
DOCS="ChangeLog README"
|
Binary file not shown.
Binary file not shown.
@ -1,8 +1,9 @@
|
||||
DIST ansifilter-2.18.tar.bz2 436432 BLAKE2B 43c592e83a967ee86404332a464d57d202a73651b2e29da2d1d21163d295b6efba96ecb5861dacfa89b8f567c0367f7a32b8e658f8cefad82c5982f2f2bf70bb SHA512 ef7febed1fc31f5c7503648e4fc0a7aefc3da8e30ea649bd6f03eac2904667fb779049106ccb77ad16fbf655e979f6651b25b84ab126c940c66bedee115a28e2
|
||||
DIST ansifilter-2.19.tar.bz2 439141 BLAKE2B de720a10e96e9b55d205b3e19620c85ae7cfeb5a6f15194c78ec01901ab7d6af1a655d7a8ceb810de5923a0fb0c21f3e3b3149495ce04b976796892401f9c1e7 SHA512 2346f41bbfde9a8f38996a24a1c8207d65183ce58b8ba86831cebbd2da8a356d7bbd5503c7fc34f6f2d06bd7157f5811e857e6a03c85a46ce2f1696b0493a0c1
|
||||
DIST ansifilter-2.20.tar.bz2 439551 BLAKE2B 71a24e904d7d3769bd0fed4ce93d960fbe434b117dc9f0e0d6b43ced40ce78d315ad58a5b83925ea0d16595e79e0ae415fc1e52323a0c367c63edc1ede57c039 SHA512 f05942eee53513cc81054bfb853fa9a946ffc0c488564975b06e3d1feb15d8ee7be05c561905cdc5944f4d083f04196af0f7c90665b8048ca7e400537517498c
|
||||
DIST ansifilter-2.20.tar.bz2.asc 488 BLAKE2B 2f2bb56e3cd81e79cd3b5b34e0f5224a79e26977f94708c64ea4278b186acc72e28ce9509fa3c0f31619b3d3ea8e35ee83656d7560152c05bafcffcb12204456 SHA512 5002436eb38399bb7cf96914fd1778ed53a9a0d8fd029b37ae50c6db8b411248f602efcd7bcb9a69871f2b3526fccf4875e3f958afccaeea94e286ddb0f071db
|
||||
DIST ansifilter2_logo_256.png 54539 BLAKE2B f8b98e22b08c62769bc679f17b3f9d2faeee806d95af3b4a4876e4938813694a4924ed4684163e962d94d3f1efdd31facdae4c3eb75c98322da228bdf0a130be SHA512 ff6f76a91a4809289f90db2bcefc01e772e043a478d7f84b33b4313ed163692e7d2f87880e5fdb64f0e419f6c1ef6ec85240f5a9984223e9059f0803be313de5
|
||||
EBUILD ansifilter-2.18.ebuild 1118 BLAKE2B 4bfcd5f4416e17802292fc13fed87ced72b30dea5e0b92774be4c8c7bd3789dcee38ed8836411dc4d98f33b4ddf6d4683f0a1ea73850cec33ec3ca5caebc54a3 SHA512 d14974a54e90b96547827af226bd3421c0ef978a3e7e17e28661a01783240108d8c49f9cf334876b15f3c824c6225686e2490761c56620b7643145dd92d67179
|
||||
EBUILD ansifilter-2.19.ebuild 1294 BLAKE2B 38051860ee300f5387db7324dce7d2910a9943b7aaad2d30ada32bb1511c965a89150126da872b993b05f68af3a162e0d8f949382e17401a80928aebf1378bde SHA512 6dda219ac2678a620047ea88006d8671252ffaa0d8469db19822611a85962dcb95af31d30d9fabf6ed5ac0f1892635304de6e968767e1406a57b0c11561bd1b0
|
||||
EBUILD ansifilter-2.20.ebuild 1546 BLAKE2B ab435a4d329ef1019c0c099b1feb74e21207f22990124aa756a3254cfd1ab84973e2c58bcdb483607b7ec8f8cd63d6bf419a80917add7bcd0277c564f3047962 SHA512 ff832fc8d63d9c7e5d1cd70e1a0148a2c970d7140aad2cee2dffb5963646649ed1e06a01843898f4a67a5c0530ad13438d602b7a5a1bf96bd1d881fa82b4bdac
|
||||
EBUILD ansifilter-2.20.ebuild 1760 BLAKE2B 2b4fcfc31e4b07c7bc2d95678db77a3f4b049bd8d9fc32a88f60caff4d7ca9ca2f785a5d1ebfd5a39db576afdcd2baa8ff8df34b5acea8586a5a4130395c118e SHA512 8487cfee51834e65eea7b8fb2320c24adf4682262044eff6eb776ad08d4f6ba485b9049afd3e06f9eef7a9e5d8ff0407de92e835098cc5faccf270ad2784ed38
|
||||
MISC metadata.xml 336 BLAKE2B abbe2be16083114dab5fe1f2f7bc8a269bf44680dedd69c741275d7328120dadabe3007cc9e49705c044916cfdcc17227d96b7950b05662684140264b869e397 SHA512 5c08736995589d34cc3f37ce20abdaa402c56986506a4bb88a63f8326ccf4f233a059705815d9cdbd1b07a156d82a155bca70cb70f9b4b4273ef8f6be29dc4e3
|
||||
|
@ -1,3 +1,5 @@
|
||||
DIST dos2unix-7.5.0.tar.gz 957576 BLAKE2B 5a674d61c9f911a2cb9c20c363fdc0e0affd3b6f26531d37a231aedb5e6a7428116b139d4af12ee32f4107f78ea079fb7a8d008c9630375f4afbc2afa0afb39f SHA512 914cbc3255045b1b87ad702c70844b059f9435ccfe636dc67514f092090b86a9f271789fcde28a9ead4d94a869fb92e334aa115d3cfe24133338260ad2233763
|
||||
DIST dos2unix-7.5.1.tar.gz 959228 BLAKE2B 4f4a334a295b702d0540e58a0a86dcf091583d6c2b64f6de9bea883dfe0d70bfa05e8e5b9c8fb867bfd5e66b2eba562da1ca45c60f97bac67bdb275d66de0fe0 SHA512 733d163fff4effdf8acb382abec9bcd23f594fa17502e9dde2f24d3326aeb7653eee353bef812090ab8dc055136d236b40c2f778deea4ac026c2eed471e763b5
|
||||
EBUILD dos2unix-7.5.0.ebuild 2114 BLAKE2B 72558dba8bffee137e252ccc5f7a5303449c543ab068ad2caad6c4251e7d3279e6b2addfb763d2240fe34365de94120cfecece8ac69a7655fe41ac5c62cc0c3f SHA512 968458fd0c83c2b0495675e3b74142925c9fb294f03bdcaedcab089afeb23d95972f914481f6c04cc01b95dffbf59544126159fffbd5c095f58bd821271a99bd
|
||||
EBUILD dos2unix-7.5.1.ebuild 2121 BLAKE2B 7d211ef2f8baeeabbd26cb731bd8901cb25567ac1d725f67d6cb82929aed64af38815c6a0058b3986e57a77de06d231e26b281efd19d658f1a72d1338d35dd8e SHA512 4598dc32fd9eac970ea4e876a0c4e15ebbce5fab9e09be1e37ac8aa3eb5d0061ef2338254cc975cc08aeddb4ea6e87e31592e596581c9957ac5e6f104edd00bf
|
||||
MISC metadata.xml 344 BLAKE2B ec6c66c1693ed09d8434840bb0e5eaf6689d629c787a115eedad537972c06c3aae6d739cd55a9acf85ed21043314e9721030b7c570c85eea4361c083d7db9fe1 SHA512 63d5baa4e84950d6cb2fd604f93e60842bc210af298eef73bc9e59e3d811957b99a95e2538ddd6df7d2ac6a50e30ff5bda66af4d7dbb573cec4ef83a38e42919
|
||||
|
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PLOCALES="ca da de eo es fr fur hu ja ka ko nb nl pl pt_BR ro ru sr sv uk vi zh_CN zh_TW"
|
||||
|
||||
inherit plocale toolchain-funcs
|
||||
|
||||
DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa"
|
||||
HOMEPAGE="https://www.xs4all.nl/~waterlan/dos2unix.html https://sourceforge.net/projects/dos2unix/"
|
||||
SRC_URI="
|
||||
https://www.xs4all.nl/~waterlan/${PN}/${P/_/-}.tar.gz
|
||||
mirror://sourceforge/${PN}/${P/_/-}.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/${P/_/-}"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
[[ "${PV}" == *_beta* ]] || \
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
IUSE="debug nls test"
|
||||
|
||||
RDEPEND="
|
||||
!app-text/hd2u
|
||||
virtual/libintl"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? ( virtual/perl-Test-Simple )
|
||||
"
|
||||
BDEPEND="
|
||||
dev-lang/perl
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
handle_locales() {
|
||||
# Make sure locale list is kept up-to-date.
|
||||
local detected sorted
|
||||
detected=$(echo $(printf '%s\n' */*.po | sed -e 's:.*/::' -e 's:.po$::' | sort -u))
|
||||
sorted=$(echo $(printf '%s\n' ${PLOCALES} | sort -u))
|
||||
if [[ ${sorted} != "${detected}" ]] ; then
|
||||
eerror "The ebuild needs to be kept in sync."
|
||||
eerror "PLOCALES: ${sorted}"
|
||||
eerror "po*/*.po: ${detected}"
|
||||
die "sync PLOCALES"
|
||||
fi
|
||||
|
||||
# Deal with selective install of locales.
|
||||
rm_loc() { rm po*/$1.po || die; }
|
||||
plocale_for_each_disabled_locale rm_loc
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
handle_locales
|
||||
|
||||
sed \
|
||||
-e '/^LDFLAGS/s|=|+=|' \
|
||||
-e '/CFLAGS_OS \+=/d' \
|
||||
-e '/LDFLAGS_EXTRA \+=/d' \
|
||||
-e "/^CFLAGS/s|-O2|${CFLAGS}|" \
|
||||
-i Makefile || die
|
||||
|
||||
if use debug ; then
|
||||
sed -e "/^DEBUG/s:0:1:" \
|
||||
-e "/EXTRA_CFLAGS +=/s:-g::" \
|
||||
-i Makefile || die
|
||||
fi
|
||||
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
lintl() {
|
||||
# same logic as from virtual/libintl
|
||||
use !elibc_glibc && use !elibc_musl && echo "-lintl"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake prefix="${EPREFIX}/usr" \
|
||||
$(usex nls "LDFLAGS_EXTRA=$(lintl)" "ENABLE_NLS=")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" prefix="${EPREFIX}/usr" \
|
||||
$(usex nls "" "ENABLE_NLS=") install
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST evince-44.2.tar.xz 2919728 BLAKE2B 316f5fe545169bdca9177522e03c45112c4bb16ee41492e3c3f96be6bf1334f9cef275e73fc9d25884c3a1c4063f48b9fbcccc6a2b87fbba71f84ee4f33ab0d2 SHA512 66ea8ed99fa8c91161ba530875a473136cc58bdd6d519b492b7213d2f00f4c4957efd56ebe59f752571a7fab67f8bc556510b0b7ec56d19b9f16ff94ab2874fb
|
||||
DIST evince-44.3.tar.xz 2920576 BLAKE2B 33743220cdec542b77273a8eac68458b7b9b5453b9f826f276bf24f6fdce19104bedd28d59113677f34616b5615456c92d931c06df270cdb5070c1c1b66c8ffa SHA512 7812e588fcce8bfd30c187cffeb02295def043bd51db4eb6d5d226a01eba6e45a07382fb6b7779a485acd922e2f4c3b0fffc63f40d2a8c2f4e6c5052e3761ff1
|
||||
EBUILD evince-44.2.ebuild 3265 BLAKE2B 5f52238086ca926a4de62a94f46f53654fb437c4a0ef38ce6a66b851385ae7966573664e0611b7a0a4e8b443cfd2b436dbfd0dbc128c8fdccf6e7ee6fab43df5 SHA512 4838c1505362d28f860e4f36a4014a8dd7237c42d1a99feb4bba0cc717b9bd8cfc26c8261dc34bacdd8a5154c6af1423ea480b0ae16c0652b1e9c0109ef4db08
|
||||
EBUILD evince-44.3.ebuild 3274 BLAKE2B 843fab2c1abed0b661be2421cb38dd04081ebdeb959a70402cad3766b156023d98b883d4bf8c85dbceeb09f0a5f4fb86ee4dd22eb612a270bc8c5a193568af4f SHA512 345a72ac3fa1a079d81e7acbfcdad7234a20bc3f58ba56692db78b5d229ef563d667353da3116b66f072bfc00544a7716177862d3c13be9cc106e8ee9754fd6b
|
||||
EBUILD evince-44.3.ebuild 3272 BLAKE2B d17480e3c80cbc441d2dd26b0394929465498f1031147a9cbc386bc349ffe06e7238a90ce0550472f4f55886db1d160f6340b99e76ed9a8fe2bd6765d189c99b SHA512 a577d75814e0a0c16a35e5de5ff16fd784d37e11ddf24a3aefd55597f07f707f75ee6566ac4b9afdace3d6e4538d3027c594dfcc0e4a64024747a2e78bb6da72
|
||||
MISC metadata.xml 874 BLAKE2B be19d36175d5ca322e89689e69b18ae720b40450ce63fa3e5056c3b0af6f81be3481050b6a005db2d79f3c86b3de1eb7fabdde3d3ce9d84fffb13b13c5c04eac SHA512 d3128343855fd9c76ee8b68b19ec61a8ec479ee48c539bce17a09770f0f5661b8b1eb9d27ab0d52aaa450131b81f237fa54e8854ca0cbb3a2f487073b7107433
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST gspell-1.12.1.tar.xz 442912 BLAKE2B 727db08f0523a9c222ac763e2ae995112862fac772c9208fd42bed535624450efbfe6c8c63d5dc3521f148cd3f6ea591761a8729d1f8f4337ce00e6dbdcff80e SHA512 1498399059b29bd8fe03396a45eb7ea1f00ece7761a63a29ba3e9559f8e3e9e4607022534280bc2ba239fa8cf118f67028b0368b706855fb513172388d951e1c
|
||||
DIST gspell-1.12.2.tar.xz 442824 BLAKE2B 6a574339dfa4930e5506d63d5f0cf27d8433c2914ce1204edc8366992ebf05bf78d4777029fa17f05be73291510897862c63479e59e72522a4c4943647f66539 SHA512 c13df805f6128cfd19c41e4936fbb49516f80e09d27e79380d5638cbd1a8a3bfc6aae5ef8a4faa748495fe529bde92805bbd5530610b113c58daa36f273a5af8
|
||||
EBUILD gspell-1.12.1.ebuild 1528 BLAKE2B 215a767adf8a0023477a5b0a3dca24b0564303e5c0341b294cef2f0f7c914d84317ff6ca3135f0f112ec8d1e5851c6a89793800bf8c23e2daf2343461bb0c111 SHA512 1f68677c9dffd2d75f978906dc6e69c80e771e27a951ded55307f34cc9d16b4e30f6fb94b8c4c1a67aecd90d70e73a0b8e38cb74b004930b564f14ccacf20be1
|
||||
EBUILD gspell-1.12.2.ebuild 1532 BLAKE2B 2ef2c1507eabf1dca61727e64c2717ef0a78aac3e883a3bc8d30ea54f87ecc05d21a25236b26f216480c667b3c9fab07267cd952ded6ba7dffbcf78444e89002 SHA512 1c9fb83fa643e4afb8c9a887b2de4f4514d5fbb75a1db4bbbec87d77aeddaddff09570313ed5d4f2b61600d78df4e1b7514cb66c6b98f1dd41271f5a68af6a55
|
||||
EBUILD gspell-1.12.2.ebuild 1530 BLAKE2B dab3da01863536fca0cb8dff6931c4e1a17e1ab47229ccbc9ba500cd5e44b58c24bb437b42771a0b8586e32caad490b42e837a8a36e3875848693dd4925ab7c7 SHA512 d6ec0a054af3a932c9afd40262f62b879fd1266cb3066f3c9ddc4fcbe9b928aa77b3223fdb8e7a5d24a9b03830ed2f7fefe7b849679395a95d3719efe748c062
|
||||
MISC metadata.xml 347 BLAKE2B 3b91db6ff2ea521010e0437fc23b5f69567011240291483423ec748b70cf2baba234824c41cc493f8d30106dad208b9e4b376e69ca3d8e495072b97dd2f271de SHA512 4691f9bc67d5e5372945a4aa319185c4478b58e463c9c1b853a2503c80ab7dacebc433c8ffc247d0fce9e7b2f0f03fd4e0216d27e135598efa26e2988ac7bc73
|
||||
|
@ -1,6 +1,9 @@
|
||||
AUX highlight-3.57-qt_libs_lua.patch 334 BLAKE2B 6cd387009986ef29f309dc52668f08c404ca7f744c8d1c6d1bb8ed47a392834f4ce9c8474397c4294fc40633501d52754caa0938ea84d9b050800a33db46e5cc SHA512 db298ed4a12e90c8745d7307fd916dd73f3fc62bd306fec279d9c38973e3556425ca7b90759b03e645983c35de298b3d28e80bdcde5ece94b480ee32d7742a18
|
||||
DIST highlight-4.1.tar.bz2 1469115 BLAKE2B 9ee4c61ea5ebdfd04c2bb341838cc66a755d5deb6dfb5d863d22dbb86be9b5d08999f22bb184053126bdaf8858777eb2ac504fed8998dc51bd6e1cd64f911ad8 SHA512 6e3ba72b2109f1b33fcebd1a426a8d4b3e12ee224b8a2069e7aab1391473594ccf9b35303bca5ca1339d2ce42bc6db2d16c1da7b1cdd451f5fabe672ca388731
|
||||
DIST highlight-4.6.tar.bz2 1488327 BLAKE2B 952171929aa021c80690b2ddcd5adba3b6c7e54425cfc851368b768a53c749e34495b0832d4ce5546b5bc68c0ea4e3b5bd6df4f379e02702fd3a497adc52d60b SHA512 0214f2141ecf2ab350368ff165dc5f58eb3a23b31142b9d1c443a35f8ea72b9e33770c2de185cd2e3645e298ad41ec1fd45db5ebf546da3144e1dc93da32b811
|
||||
DIST highlight-4.8.tar.bz2 1492966 BLAKE2B f0bc746cb671037c2a5f1557c6114c143448de8fe295f4b74d38daecc615bfb50e50b5f3f3ee488488f1bc52dc11b283f13cbaa956959946d2dcaca91a6ef804 SHA512 c04e94b2fdb1ebda37937a8bdcdb1bb5afe171a74ca58ddf40b1972bc62a07dc02d628bc962b1db654805a446f32da8d7af41a0c162476cf47a3535128ca6ace
|
||||
DIST highlight-4.8.tar.bz2.asc 488 BLAKE2B 466905e2a4b1b577feba593e2d6e855e09764cdb08ddbd5aa3b4c62c4b06bc19a013df16aa1dfc81d4e52765641d5f98615233609d7b4f039f6f8c6a929d345a SHA512 929c5b0a25a2f5a0b9204afb03b5456b2b62d07e519799602b06a0ad2d4bc1d9eac92965571732b0eaffe780904321ebffb31cdf61b6fe644ecc39ddb983c7b8
|
||||
EBUILD highlight-4.1.ebuild 2423 BLAKE2B 812355e2acd16abd03cc4a6d5555f24af630cce614ffeebc4e4e525916f62a9b51ec1269667d6bd00c744e63ff4b74dbd5cc020307cd24ce12ab6780f1147f94 SHA512 975b17328a8fbe9659c49bd69ea0a1eef4015fa2c70f03d08ce2c5a2dc76252285e5534ea0618d9c3b0da5c0f3dd65206496b4d429c88d7798be500aaff8139e
|
||||
EBUILD highlight-4.6.ebuild 2466 BLAKE2B 49d356dc265081ab2daa808016be4a9894038de25acfee2d58e12488c15b776ed09dd199161f9d6fbd09f0cbbf2283fb200835386fc4d19334b8b510523dbd70 SHA512 ca9540dbf379f752487f42bd7b052efd3304e2295a8b19bf186142ee6f44a5b15bf409e18d9626adfcc9cd4460989f90f31dce9a7761c92b673da99f09e9bd4a
|
||||
EBUILD highlight-4.8.ebuild 2670 BLAKE2B 223c79974e0a6757bb9722302acba38564eec6fde128a4c20c7aa83c1303f907080351c04009245cd5038047d5b373102475aff75739073fde344d0b9aa6d539 SHA512 d70d776569c13d6282544afdf108ede73e35561a4bdfcf3a10678e38119a0a3d6cbb0b27d8abd2729e26acf46a47924396d7585bd77d046ef0b2d02955fb3480
|
||||
MISC metadata.xml 331 BLAKE2B 3c864f08058c451342b7f7799f36e901f392207b36114dd123bb3faa59f04fe3b00d8e65cee4ad3bbbe44606bdafbd246c64d5fce03cd54fc64cd40cfde59788 SHA512 eb96ee44971855de0b12f9e230d58714acb54de1b0a814c0681f8c31124a5c3e39290e2fd17523b2b52b65efaf30f64580f00777a8e9c908779b582577897906
|
||||
|
@ -0,0 +1,111 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LUA_COMPAT=( lua5-{1..4} luajit )
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/andresimon.asc
|
||||
inherit lua-single qmake-utils toolchain-funcs verify-sig xdg
|
||||
|
||||
DESCRIPTION="Converts source code to formatted text (HTML, LaTeX, etc.) with syntax highlight"
|
||||
HOMEPAGE="http://www.andre-simon.de/"
|
||||
SRC_URI="
|
||||
http://www.andre-simon.de/zip/${P}.tar.bz2
|
||||
verify-sig? ( http://www.andre-simon.de/zip/${P}.tar.bz2.asc )
|
||||
"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="examples gui"
|
||||
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
${LUA_DEPS}
|
||||
gui? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-libs/boost
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
gui? ( dev-qt/linguist-tools:5 )
|
||||
verify-sig? ( sec-keys/openpgp-keys-andresimon )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.57-qt_libs_lua.patch
|
||||
)
|
||||
|
||||
myhlopts=(
|
||||
CXX="$(tc-getCXX)"
|
||||
AR="$(tc-getAR)"
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
CFLAGS="${CXXFLAGS} -DNDEBUG"
|
||||
DESTDIR="${D}"
|
||||
PREFIX="${EPREFIX}/usr"
|
||||
HL_CONFIG_DIR="${EPREFIX}/etc/highlight/"
|
||||
HL_DATA_DIR="${EPREFIX}/usr/share/highlight/"
|
||||
doc_dir="${EPREFIX}/usr/share/doc/${PF}/"
|
||||
conf_dir="${EPREFIX}/etc/highlight/"
|
||||
examples_dir="${EPREFIX}/usr/share/doc/${PF}/extras"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Disable man page compression
|
||||
sed \
|
||||
-e "/GZIP/d" \
|
||||
-e "/COPYING/d" \
|
||||
-i makefile || die
|
||||
|
||||
sed -e "/LSB_DOC_DIR/s:doc/${PN}:doc/${PF}:" \
|
||||
-i src/core/datadir.cpp || die
|
||||
|
||||
sed -r -i \
|
||||
-e "/^LUA_.*pkg-config/s,\<lua\>,${ELUA},g" \
|
||||
"${S}"/extras/tcl/makefile \
|
||||
"${S}"/extras/swig/makefile \
|
||||
|| die "Failed to set Lua implementation"
|
||||
|
||||
# We set it via eqmake5, otherwise it forces clang...
|
||||
sed -e "s/QMAKE_CC/#QMAKE_CC/g" \
|
||||
-e "s/QMAKE_CXX /#QMAKE_CXX /g" \
|
||||
-i src/gui-qt/highlight.pro || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use gui ; then
|
||||
pushd src/gui-qt > /dev/null || die
|
||||
eqmake5 \
|
||||
'DEFINES+=DATA_DIR=\\\"'"${EPREFIX}"'/usr/share/${PN}/\\\" CONFIG_DIR=\\\"'"${EPREFIX}"'/etc/${PN}/\\\" DOC_DIR=\\\"'"${EPREFIX}"'/usr/share/doc/${PF}/\\\"'
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -f makefile LUA_PKG_NAME="${ELUA}" "${myhlopts[@]}"
|
||||
if use gui ; then
|
||||
emake -C src/gui-qt
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -f makefile "${myhlopts[@]}" install
|
||||
|
||||
if use gui; then
|
||||
emake -f makefile "${myhlopts[@]}" install-gui
|
||||
docompress -x /usr/share/doc/${PF}/{ChangeLog,COPYING,README,README_PLUGINS}
|
||||
fi
|
||||
|
||||
if ! use examples ; then
|
||||
rm -r "${ED}"/usr/share/doc/${PF}/extras || die
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST jedi-0.11.0.tar.gz 41606 BLAKE2B 146f60f43a3fc764c66e2ca94c2b4051be3e25b5a94ca3f6d82533b624433946013c7df38e61262e6ac40a00de9d3b9b0e647e794191b6deb8ed09124d2accc7 SHA512 a151fdf4d58adc36dbe9ede8e091ae00c8bd8237b66c512b4addfb6e7e436651848da2b3a0dbcbbef615bcc394e7e28a6e127e53f2205dc61f4d46a2ff0faa12
|
||||
DIST jedi-vim-0.11.2.tar.gz 42704 BLAKE2B 375cdf4742eb6328f5dc601b7a0b529a3d18b70711f93ab860e2827275f36454281c9d4ec85de0cfe280115fadde3a45f1bf74bfb4a4f1036b603eaa6051bf56 SHA512 b5711a963bcd61e03af0ad9936de37bf0391fcf1edd5b881b45612469e573cfc91bd012e7f12c5a9c8e51242dd26381bfa08bbc7853fbfd4a30897eeefbadb7c
|
||||
EBUILD jedi-0.11.0.ebuild 2045 BLAKE2B a63c81a0b81f129480057ecf99a566df6181bcef4fc4d5b787498db9152dde38fb22e660b45300c7614e6fff4129cd9a8769318093fbc6974262073104b5f8c5 SHA512 f09801ee0093d88e5eaa50e1f0b99030ef6b3c5e50e617414a51ea4f5bfe358662d76ebeec84a3777e1b2a8923aa458b958ca5709336f3e42be0415839637f9e
|
||||
EBUILD jedi-0.11.2.ebuild 2056 BLAKE2B 19bc957819a42c0e3a2b0fe0fb94dc0e423553f02d323749351dd5e3c764a5833af3fa12bdc693c2ab81f666d08ed7cf2faf515b7dfb1ef88c22913ca228e905 SHA512 90b1fed36dd6abe6db17456bdaadc700576dd5467f1f2cdda37f504416bd7805ed970b55a648a28d93f175dde4e3103fee35262cb703be9b011c2c2d28ee9460
|
||||
MISC metadata.xml 510 BLAKE2B b9370a0dc09e9e6f6c2df57d63326dd91e2431204e8d6e988908043ea07e29bfc62ab966f3e2179036124e6ab26a6773355be0227236d80528114cdd8b479202 SHA512 5f45136d169d68157c02b7050e79b00f963d6f54842dfe4cfd14a6e0fca50c47f24fbe95206215be653fbc0dda6c67f5667f456550bdf95e11bad66fc67ecce1
|
||||
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
inherit edo vim-plugin python-single-r1
|
||||
|
||||
MY_PN="${PN}-vim"
|
||||
DESCRIPTION="vim plugin: binding to the autocompletion library jedi"
|
||||
HOMEPAGE="https://github.com/davidhalter/jedi-vim"
|
||||
SRC_URI="https://github.com/davidhalter/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_PN}-${PV}.tar.gz"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '>=dev-python/jedi-0.19[${PYTHON_USEDEP}]')
|
||||
|| (
|
||||
app-editors/vim[python,${PYTHON_SINGLE_USEDEP}]
|
||||
app-editors/gvim[python,${PYTHON_SINGLE_USEDEP}]
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
app-vim/vspec
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS.txt CONTRIBUTING.md README.rst )
|
||||
|
||||
src_prepare() {
|
||||
vim-plugin_src_prepare
|
||||
|
||||
rm doc/logotype-a.svg || die
|
||||
rmdir pythonx/{jedi,parso} || die
|
||||
|
||||
# Disable failing tests
|
||||
sed -i test/vspec/signatures.vim \
|
||||
-e "/it 'highlights correct argument'/a SKIP 'fail'" || die
|
||||
}
|
||||
|
||||
# Makefile tries hard to call tests so let's silence this phase.
|
||||
src_compile() { :; }
|
||||
|
||||
src_test() {
|
||||
local bindir="${S}"/venv/bin
|
||||
local sitedir="${S}"/venv/lib/${EPYTHON}/site-packages
|
||||
|
||||
mkdir -p "${bindir}" || die
|
||||
mkdir -p "${sitedir}" || die
|
||||
ln -s "${PYTHON}" "${bindir}/${EPYTHON}" || die
|
||||
ln -s "${EPYTHON}" "${bindir}/python3" || die
|
||||
ln -s "${EPYTHON}" "${bindir}/python" || die
|
||||
cat > "${bindir}"/pyvenv.cfg <<-EOF || die
|
||||
include-system-site-packages = false
|
||||
EOF
|
||||
|
||||
ln -s "$(python_get_sitedir)"/parso "${sitedir}"/parso || die
|
||||
cp -r "$(python_get_sitedir)"/parso-*.dist-info "${sitedir}" || die
|
||||
|
||||
ln -s "$(python_get_sitedir)"/jedi "${sitedir}"/jedi || die
|
||||
cp -r "$(python_get_sitedir)"/jedi-*.dist-info "${sitedir}" || die
|
||||
|
||||
export PATH="${bindir}:${PATH}"
|
||||
unset PYTHONPATH
|
||||
|
||||
edo prove-vspec -d "${S}" test/vspec
|
||||
}
|
||||
|
||||
src_install() {
|
||||
vim-plugin_src_install pythonx
|
||||
python_optimize "${ED}"/usr/share/vim/vimfiles/pythonx
|
||||
}
|
Binary file not shown.
@ -1,7 +1,5 @@
|
||||
DIST ebuild-mode-1.60.tar.xz 36996 BLAKE2B a566c9f602ec6ac4126a4a13610e515faf2a02b8ca89f417a037a28f4b9ea633518d589d78f6deb54084be34cdc30c2a1896546b2f86c1166cedd47289edcfd8 SHA512 b04b37b7a376dc48a7f80ec0e60bf36a8b7ea92edcbdd45fbd002e80e8ea29111905a726177a869d607adffe78094efcdc94b1aad32afe1444a09b4e714dcecd
|
||||
DIST ebuild-mode-1.65.tar.xz 39952 BLAKE2B fba1a751e417d39e1d4ce6f9fbc9b5e3465bdddef5fd9a675f6649a3fddb56a8009ebf4c9b22bde349c2faf0009dc6f29ae1acb78632144fbf1b4b5b9e5fa4ca SHA512 fa8b16d68f3afd1ba3557e13d83a809d723bf0f0adf4741ee6897381835c96970a43c28191e9a90a0f096a164c183604caaee2e5ddb0769ed77fca34633cc0e3
|
||||
DIST ebuild-mode-1.66.tar.xz 40208 BLAKE2B 6db4cae77c736457adb707c54a3adb800a07a42f9bec8ee6f69c5995297665b2fecb8208c23be8cdfbf9383046a14db2a94bdaa14756ed4aee96c086067d8563 SHA512 70e7b7e071a74fa54aab6e3d5ca0d9e91406f10634a23ef084e95f7bf0d1900927196023d44f6e3fb7bc6e3f6a27221e171e3f4216342d7aafadea16ec56eef0
|
||||
EBUILD ebuild-mode-1.60.ebuild 1001 BLAKE2B 1310d5bcc0d85459912abfa304bf76cad24c8daafeec194013cc755785fb5462261a237470a9487c2611448c3af4d2df6e49dbfc8726a21e414242017531008c SHA512 eb8549ec5bf3ac6d089de9c2ceef1a8c14c2b1c507b0e234f84de32a12aa8c8704e2afc4f655ed2886946c527022b0ba0791d290417fca3c9ffd9eb53b9ae72d
|
||||
EBUILD ebuild-mode-1.65.ebuild 1207 BLAKE2B 778b0b8a5ddbda530fd47e446bbedc1a77278cf7ffcea09ef26a0f2696b7a8d0bdf209a6d0f79bad49973600edb0e175ff0790d62e1071368467e3d4b3d3bb60 SHA512 92ac293add11d36ffd0ea2977905b1b81b0c6e4d3a6dbe75de745428c135f00009f5752ae885a12004f34678828c87e0bda565abefb0f4afb4257e62d1906226
|
||||
EBUILD ebuild-mode-1.65.ebuild 1205 BLAKE2B bdbd1c1d1b975cd29d705f55b168ed6dd1f483e73b7290be72d57bf85c50c9f761498c36448dbc87f9e8cf18d04e01f7ecaafef091d7be167972c5f021282613 SHA512 65fdb7f374340b2a1d644e1950056794229acf6819f20db778f8034a5102df2facf983d4b110011a400f7f9e6030a7cbce8da2948bbe2f2fa5a53cf8b1db721d
|
||||
EBUILD ebuild-mode-1.66.ebuild 1207 BLAKE2B 778b0b8a5ddbda530fd47e446bbedc1a77278cf7ffcea09ef26a0f2696b7a8d0bdf209a6d0f79bad49973600edb0e175ff0790d62e1071368467e3d4b3d3bb60 SHA512 92ac293add11d36ffd0ea2977905b1b81b0c6e4d3a6dbe75de745428c135f00009f5752ae885a12004f34678828c87e0bda565abefb0f4afb4257e62d1906226
|
||||
MISC metadata.xml 443 BLAKE2B 80d7f482f6c34ad6d4a6073d2db913563da67e857e40bc68d04a603f9854bc7e6e06fcc025c92185b19c5705eccf92f4dc3852f3da895c7535222831e1bee119 SHA512 e712bc0b67b050d864c5a341728b3991f59b9be7bc9922c8eb7b67fea130b50ee76918b5a617df9bbde085e489592001dfc833189eeda1b89af31a3ab6c7c5bc
|
||||
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
|
||||
SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~hppa x86"
|
||||
|
||||
RDEPEND=">=app-editors/xemacs-21.4.20-r5
|
||||
app-xemacs/sh-script"
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
src_compile() {
|
||||
local XEMACS="${EPREFIX}/usr/bin/xemacs"
|
||||
|
||||
"${XEMACS}" -batch -q --no-site-file \
|
||||
-eval "(add-to-list 'load-path \".\")" \
|
||||
-f batch-byte-compile \
|
||||
ebuild-mode.el gentoo-newsitem-mode.el || die
|
||||
|
||||
"${XEMACS}" -batch -q --no-site-file \
|
||||
-eval "(setq autoload-package-name \"${PN}\")" \
|
||||
-eval "(setq generated-autoload-file \"${S}/auto-autoloads.el\")" \
|
||||
-l autoload -f batch-update-autoloads \
|
||||
ebuild-mode.el gentoo-newsitem-mode.el || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/xemacs/site-packages/lisp/${PN}
|
||||
doins *.el *.elc
|
||||
}
|
Binary file not shown.
@ -1,4 +1,7 @@
|
||||
AUX elfio-3.11-system-gtest.patch 1024 BLAKE2B 96aa3b8c38cf5159c69e4ff74388faf27f2192466e609ae6ccd04209abf7811387b5648922daf9660bc948bfde5c8681b605ac187e7b9757b742729a91e3def5 SHA512 9d75db5c673c375e64a9335e03b0fd3e2f301050388419d4032e6985ac2af8db46dcd9e7e61490e48c3fe90b2a09035a88305027577f9f0f8b1bd99cd9977e22
|
||||
AUX elfio-3.12-gnuinstalldirs-docdir.patch 469 BLAKE2B a265a5c2ee8c604ff606276e224487c5a5bb3ac694d185755f6a7bd5444352a2b04918e8d308836b6ec339062db9c24c74e00cf80ad7bf9852410dc6b01360bf SHA512 a08328d732b811618fb701c6b27406e0a2495efca6f0fbfd9bbaf9e69152edbdc17e7dfb55096590c96c60bba0acf2d73d11b7e953aedca7189f074cd248f221
|
||||
DIST elfio-3.11.tar.gz 4150700 BLAKE2B 2e0270384f1fdbc8f8374c1a42b5bd0c6ba6faa8c8a7125063b682cd9808fbb3f330e2a0fa4646c8828f6d276ad8f92e36b69ab7916c3bd2b1b2ecad6708fcc1 SHA512 3a254aad62e707f2809e2997998aab6a9794d70791dc535a6de90bad3e9de3cbcc4f8e7787067ca7cd47ce2dc71cf52809747267bc36cfb08369b49a6b92cf5e
|
||||
DIST elfio-3.12.tar.gz 4150640 BLAKE2B aba7c4a9c254384b3babcf740883e45b8b531ecde3bc12f3cb811ac63c1469d0d53d9bb259120d92bacad7289d811429785a784667d4632c3acc49f2c3a475e4 SHA512 f5c8bc6cc98da845f6c011fc85b98476935c5d20d72b36bff5ad2472434494115ee7c06cfa37152c528e5931c39fe3cc084bfc8e6952b2c3e8f24b8601ae212f
|
||||
EBUILD elfio-3.11.ebuild 666 BLAKE2B d0869322ea72892a19556fdee149bd0fe22624242e51d3447b6771da1b34e295a81ba0e337bc8ee63b5a5254330829de928d54b1a8347f2a322bfc4ed20dfee9 SHA512 c492ef4e16e45b506cb7e0295c6fb74c49aebcea6a3714784986279d9e9c18debb3a6162967c024e5b636cc8a9400e609e1f2f13440902857d4037ed1594482c
|
||||
EBUILD elfio-3.12.ebuild 765 BLAKE2B ba3f197f5f66344b6b293170f3094ec44815661049e5e19851aeac5b52fa56bc3b22dc6c01528a51e90fbe7dc49f327c6141d900a6b6a638c37c033028fd3456 SHA512 b0d95d1df1e25bed34bc43a1f1794915854b88db640c5547446b48b49dd7de338a15a861d06be7cc20107cae1db2034a0dc200896ec0fe51917455fb014acb93
|
||||
MISC metadata.xml 317 BLAKE2B 4b62079a213f05ca0fce72e62582010a9c82e11e714347c6753a1919bb8586896cef8afa5c378ffb00a5427aea6219fe7d78cc3572e214c3b2e8b09507ca685d SHA512 d550d765b42e68da41164297145ed8534b6bfb8f7976e6df57f76fb0fc8558262f010d988b66ea368d45e7c4bbbc879f6b91abba21c3f14871605e39589e5047
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="ELF reader/producer header-only C++ library"
|
||||
HOMEPAGE="https://github.com/serge1/ELFIO"
|
||||
SRC_URI="https://github.com/serge1/${PN}/archive/Release_${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/${PN^^}-Release_${PV}
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="test? ( dev-cpp/gtest )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.12-gnuinstalldirs-docdir.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DFETCHCONTENT_FULLY_DISCONNECTED=ON
|
||||
-DELFIO_BUILD_TESTS=$(usex test)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
rm "${ED}"/usr/share/doc/${PF}/LICENSE.txt || die
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -143,7 +143,7 @@ if(IS_TOP_PROJECT)
|
||||
set(CPACK_SOURCE_IGNORE_FILES "/.git/;/.github/;/.vscode/;/build;/.clang-format;/.gitignore;/.travis.yml;/doc/images/;/doc/site;/doc/elfio.docx;/examples/sudo_gdb.sh;/tests")
|
||||
|
||||
install(FILES ${CPACK_RESOURCE_FILE_README} ${CPACK_RESOURCE_FILE_LICENSE}
|
||||
- DESTINATION share/docs/${PROJECT_NAME})
|
||||
+ DESTINATION ${CMAKE_INSTALL_DOCDIR})
|
||||
|
||||
include(CPack)
|
||||
endif()
|
Binary file not shown.
@ -1,5 +1,8 @@
|
||||
DIST sqlite-doc-3420000.zip 10665938 BLAKE2B 62aef59e6976101ecca60d1ee194e9e558009dd8bdb7cd911f9938f1256e50bc946f8ca554666b6c101f7024baac7857b83adf6e897164afb9b5c4d4917593d1 SHA512 d675ee2897323d468816bc713594c4e94cb5c15270b4f991758e2c82e2891ad724c5790f29b76bc9e5d6b3be04e95aee371c57ceb2d855c1057b4af62a5af162
|
||||
DIST sqlite-doc-3430000.zip 10663888 BLAKE2B 2bffca5a33c46183bf9d82042b89ad0968aa6061c7ccd5f6cd7a886ae48faa9a5356883b02048b66661f253401513d90f689f8a9f6debc0897cd25997c19ab4e SHA512 393c759e86a2fd6a7bbdc820c78289b84f984acd83879d7385c8627c73060562d376d66a9464887fdbccdea395025db677aa4c6f37aa32e99048fcde3561ae06
|
||||
DIST sqlite-src-3420000.zip 13910252 BLAKE2B defe14bf0b5588775b2a2b17b3adbbaf39f1e95eac049cbd4868e2e59fbf50fb92b11c74ecf12fe0138521e7d4d3cc2a4bf45e7c83fd774abd7aa9ed7ee0f925 SHA512 509b7aa292870c927ef137469028e5e07ca74907414c5b295360cb10b377a42de7469d3afe79f8d9947d486ef74d676679c7f2d3b1caaeb8c949f27201180def
|
||||
DIST sqlite-src-3430000.zip 13927457 BLAKE2B dfa7311af66b76ca18001f98712f6187030d24e4ca679dbe1d30ef12d77f439056724087ae19640a77b075b35e3faeecc342ab8fcd5625ccd832f3e0fbe2b004 SHA512 56a16980bf10ba0d312ada183cabaa4123faf4ed531749d70349ca55ca11cc8a6733f473b2247f6cc0e500523f1b598ffee31efb81e07879c523957f0e3efa90
|
||||
EBUILD sqlite-3.42.0.ebuild 12911 BLAKE2B 75ce24b3af53746bd30f3628e86c31813ab2900fe1ddab7fef94b0c64e48c64cba7f115591aeabc442c98b9e380b107ef7c0dd483d20bf1bff5ecf15770ad988 SHA512 cd972b7bf7e5cb62a68f3e3e1f978693c7457da412359265656ea59210abfb28008580324984e71680724d4fb3ce1f7d57784a603ca1a0da038500170dbcb66c
|
||||
EBUILD sqlite-3.43.0.ebuild 12918 BLAKE2B 3758ae62974925a982a6e5feecc8af0073d0c33140cf2306a0e39ea57f1d2dc413aaf59c02412a39f96522fd147d680b556d587ae0ac5ec91fb4aff9ff35f74d SHA512 99ec8ce2daf795a4dad9e71578627c0008288e8ee11c9af5636ec6eb4075bd60b719b6dcbfad305a9ed6b47aa9d4b22c8cb2f053aebe9758ff8ac7527ffeca3d
|
||||
EBUILD sqlite-9999.ebuild 12919 BLAKE2B 55a0ddbcc8678367cca5ce06d69d6b5c09e1a4304dd1b06878c9031edba4846d2b5ef110e62bd7af12404644dc7ce2c19a0134451567ed6f86ad6c0d7e240dea SHA512 3235352b431d9a6ac1080da2b699dc069ba3c0d3a57d26a29d6e791e806b3262fd21de66a585d7fd5ad0042e23198fefcff518d349d98453b5268e80d3ae60a0
|
||||
MISC metadata.xml 824 BLAKE2B 8ab2e8f230bf3a2b26077d90944bca7bf35ae905310205b90bf243365148488303256606c0ee7c3fb736300686466a1c2583bf103693c20063ca668fe9e52647 SHA512 ed4a89e3c2d633cb6ebf8bcbf3ca055d0d1b2ffd801ba559395f812faeaafdfedd97dae11a5a53a4c068e43026fbd4eed4cb12c8b89a7fda6dabe6f78a2e0b38
|
||||
|
@ -0,0 +1,428 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools flag-o-matic multilib-minimal toolchain-funcs
|
||||
|
||||
DESCRIPTION="SQL database engine"
|
||||
HOMEPAGE="https://sqlite.org/"
|
||||
|
||||
# On version updates, make sure to read the forum (https://sqlite.org/forum/forum)
|
||||
# for hints regarding test failures, backports, etc.
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
S="${WORKDIR}"/${PN}
|
||||
PROPERTIES="live"
|
||||
else
|
||||
printf -v SRC_PV "%u%02u%02u%02u" $(ver_rs 1- " ")
|
||||
DOC_PV="${SRC_PV}"
|
||||
#printf -v DOC_PV "%u%02u%02u00" $(ver_rs 1-3 " ")
|
||||
|
||||
SRC_URI="
|
||||
https://sqlite.org/2023/${PN}-src-${SRC_PV}.zip
|
||||
doc? ( https://sqlite.org/2023/${PN}-doc-${DOC_PV}.zip )
|
||||
"
|
||||
S="${WORKDIR}/${PN}-src-${SRC_PV}"
|
||||
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
fi
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="3"
|
||||
IUSE="debug doc icu +readline secure-delete static-libs tcl test tools"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/zlib:=[${MULTILIB_USEDEP}]
|
||||
icu? ( dev-libs/icu:=[${MULTILIB_USEDEP}] )
|
||||
readline? ( sys-libs/readline:=[${MULTILIB_USEDEP}] )
|
||||
tcl? ( dev-lang/tcl:=[${MULTILIB_USEDEP}] )
|
||||
tools? ( dev-lang/tcl:= )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? ( >=dev-lang/tcl-8.6:0[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
BDEPEND=">=dev-lang/tcl-8.6:0"
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
BDEPEND+=" dev-vcs/fossil"
|
||||
else
|
||||
BDEPEND+=" app-arch/unzip"
|
||||
fi
|
||||
|
||||
_fossil_fetch() {
|
||||
local distdir="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}"
|
||||
local repo_id="${1}"
|
||||
local repo_uri="${2}"
|
||||
|
||||
local -x FOSSIL_HOME="${HOME}"
|
||||
|
||||
mkdir -p "${T}/fossil/${repo_id}" || die
|
||||
pushd "${T}/fossil/${repo_id}" > /dev/null || die
|
||||
|
||||
if [[ -n "${EVCS_OFFLINE}" ]]; then
|
||||
if [[ ! -f "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" ]]; then
|
||||
die "Network activity disabled using EVCS_OFFLINE and clone of repository missing: \"${distdir}/fossil-src/${repo_id}/${repo_id}.fossil\""
|
||||
fi
|
||||
else
|
||||
if [[ ! -f "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" ]]; then
|
||||
einfo fossil clone --verbose "${repo_uri}" "${repo_id}.fossil"
|
||||
fossil clone --verbose "${repo_uri}" "${repo_id}.fossil" || die
|
||||
echo
|
||||
else
|
||||
cp -p "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" . || die
|
||||
einfo fossil pull --repository "${repo_id}.fossil" --verbose "${repo_uri}"
|
||||
fossil pull --repository "${repo_id}.fossil" --verbose "${repo_uri}" || die
|
||||
echo
|
||||
fi
|
||||
|
||||
(
|
||||
addwrite "${distdir}"
|
||||
mkdir -p "${distdir}/fossil-src/${repo_id}" || die
|
||||
cp -p "${repo_id}.fossil" "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" || die
|
||||
)
|
||||
fi
|
||||
|
||||
popd > /dev/null || die
|
||||
}
|
||||
|
||||
_fossil_checkout() {
|
||||
local distdir="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}"
|
||||
local repo_id="${1}"
|
||||
local branch_or_commit="${2}"
|
||||
local target_directory="${3}"
|
||||
|
||||
local -x FOSSIL_HOME="${HOME}"
|
||||
|
||||
if [[ ! -f "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" ]]; then
|
||||
die "Clone of repository missing: \"${distdir}/fossil-src/${repo_id}/${repo_id}.fossil\""
|
||||
fi
|
||||
|
||||
if [[ ! -f "${T}/fossil/${repo_id}/${repo_id}.fossil" ]]; then
|
||||
mkdir -p "${T}/fossil/${repo_id}" || die
|
||||
cp -p "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" "${T}/fossil/${repo_id}" || die
|
||||
fi
|
||||
|
||||
mkdir "${target_directory}" || die
|
||||
pushd "${target_directory}" > /dev/null || die
|
||||
|
||||
einfo fossil open --quiet "${T}/fossil/${repo_id}/${repo_id}.fossil" "${branch_or_commit}"
|
||||
fossil open --quiet "${T}/fossil/${repo_id}/${repo_id}.fossil" "${branch_or_commit}" || die
|
||||
echo
|
||||
|
||||
popd > /dev/null || die
|
||||
}
|
||||
|
||||
fossil_fetch() {
|
||||
local repo_id="${1}"
|
||||
local repo_uri="${2}"
|
||||
local target_directory="${3}"
|
||||
|
||||
local branch_or_commit="${EFOSSIL_COMMIT:-${EFOSSIL_BRANCH:-trunk}}"
|
||||
|
||||
_fossil_fetch "${repo_id}" "${repo_uri}"
|
||||
_fossil_checkout "${repo_id}" "${branch_or_commit}" "${target_directory}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
fossil_fetch sqlite https://sqlite.org/src "${WORKDIR}/${PN}"
|
||||
if use doc; then
|
||||
fossil_fetch sqlite-doc https://sqlite.org/docsrc "${WORKDIR}/${PN}-doc"
|
||||
fi
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local -x CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}"
|
||||
local options=()
|
||||
|
||||
options+=(
|
||||
--enable-load-extension
|
||||
--enable-threadsafe
|
||||
)
|
||||
|
||||
# Support detection of misuse of SQLite API.
|
||||
# https://sqlite.org/compile.html#enable_api_armor
|
||||
append-cppflags -DSQLITE_ENABLE_API_ARMOR
|
||||
|
||||
# Support bytecode and tables_used virtual tables.
|
||||
# https://sqlite.org/compile.html#enable_bytecode_vtab
|
||||
# https://sqlite.org/bytecodevtab.html
|
||||
append-cppflags -DSQLITE_ENABLE_BYTECODE_VTAB
|
||||
|
||||
# Support column metadata functions.
|
||||
# https://sqlite.org/compile.html#enable_column_metadata
|
||||
# https://sqlite.org/c3ref/column_database_name.html
|
||||
append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
|
||||
|
||||
# Support sqlite_dbpage virtual table.
|
||||
# https://sqlite.org/compile.html#enable_dbpage_vtab
|
||||
# https://sqlite.org/dbpage.html
|
||||
append-cppflags -DSQLITE_ENABLE_DBPAGE_VTAB
|
||||
|
||||
# Support dbstat virtual table.
|
||||
# https://sqlite.org/compile.html#enable_dbstat_vtab
|
||||
# https://sqlite.org/dbstat.html
|
||||
append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB
|
||||
|
||||
# Support sqlite3_serialize() and sqlite3_deserialize() functions.
|
||||
# https://sqlite.org/compile.html#enable_deserialize
|
||||
# https://sqlite.org/c3ref/serialize.html
|
||||
# https://sqlite.org/c3ref/deserialize.html
|
||||
append-cppflags -DSQLITE_ENABLE_DESERIALIZE
|
||||
|
||||
# Support comments in output of EXPLAIN.
|
||||
# https://sqlite.org/compile.html#enable_explain_comments
|
||||
append-cppflags -DSQLITE_ENABLE_EXPLAIN_COMMENTS
|
||||
|
||||
# Support Full-Text Search versions 3, 4 and 5.
|
||||
# https://sqlite.org/compile.html#enable_fts3
|
||||
# https://sqlite.org/compile.html#enable_fts3_parenthesis
|
||||
# https://sqlite.org/compile.html#enable_fts4
|
||||
# https://sqlite.org/compile.html#enable_fts5
|
||||
# https://sqlite.org/fts3.html
|
||||
# https://sqlite.org/fts5.html
|
||||
append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4
|
||||
options+=( --enable-fts5 )
|
||||
|
||||
# Support hidden columns.
|
||||
append-cppflags -DSQLITE_ENABLE_HIDDEN_COLUMNS
|
||||
|
||||
# Support memsys5 memory allocator.
|
||||
# https://sqlite.org/compile.html#enable_memsys5
|
||||
# https://sqlite.org/malloc.html#memsys5
|
||||
append-cppflags -DSQLITE_ENABLE_MEMSYS5
|
||||
|
||||
# Support sqlite3_normalized_sql() function.
|
||||
# https://sqlite.org/c3ref/expanded_sql.html
|
||||
append-cppflags -DSQLITE_ENABLE_NORMALIZE
|
||||
|
||||
# Support sqlite_offset() function.
|
||||
# https://sqlite.org/compile.html#enable_offset_sql_func
|
||||
# https://sqlite.org/lang_corefunc.html#sqlite_offset
|
||||
append-cppflags -DSQLITE_ENABLE_OFFSET_SQL_FUNC
|
||||
|
||||
# Support pre-update hook functions.
|
||||
# https://sqlite.org/compile.html#enable_preupdate_hook
|
||||
# https://sqlite.org/c3ref/preupdate_count.html
|
||||
append-cppflags -DSQLITE_ENABLE_PREUPDATE_HOOK
|
||||
|
||||
# Support Resumable Bulk Update extension.
|
||||
# https://sqlite.org/compile.html#enable_rbu
|
||||
# https://sqlite.org/rbu.html
|
||||
append-cppflags -DSQLITE_ENABLE_RBU
|
||||
|
||||
# Support R*Trees.
|
||||
# https://sqlite.org/compile.html#enable_rtree
|
||||
# https://sqlite.org/compile.html#enable_geopoly
|
||||
# https://sqlite.org/rtree.html
|
||||
# https://sqlite.org/geopoly.html
|
||||
append-cppflags -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_GEOPOLY
|
||||
|
||||
# Support Session extension.
|
||||
# https://sqlite.org/compile.html#enable_session
|
||||
# https://sqlite.org/sessionintro.html
|
||||
append-cppflags -DSQLITE_ENABLE_SESSION
|
||||
|
||||
# Support scan status functions.
|
||||
# https://sqlite.org/compile.html#enable_stmt_scanstatus
|
||||
# https://sqlite.org/c3ref/stmt_scanstatus.html
|
||||
# https://sqlite.org/c3ref/stmt_scanstatus_reset.html
|
||||
append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS
|
||||
|
||||
# Support sqlite_stmt virtual table.
|
||||
# https://sqlite.org/compile.html#enable_stmtvtab
|
||||
# https://sqlite.org/stmt.html
|
||||
append-cppflags -DSQLITE_ENABLE_STMTVTAB
|
||||
|
||||
# Support unknown() function.
|
||||
# https://sqlite.org/compile.html#enable_unknown_sql_function
|
||||
append-cppflags -DSQLITE_ENABLE_UNKNOWN_SQL_FUNCTION
|
||||
|
||||
# Support unlock notification.
|
||||
# https://sqlite.org/compile.html#enable_unlock_notify
|
||||
# https://sqlite.org/c3ref/unlock_notify.html
|
||||
# https://sqlite.org/unlock_notify.html
|
||||
append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY
|
||||
|
||||
# Support LIMIT and ORDER BY clauses on DELETE and UPDATE statements.
|
||||
# https://sqlite.org/compile.html#enable_update_delete_limit
|
||||
# https://sqlite.org/lang_delete.html#optional_limit_and_order_by_clauses
|
||||
# https://sqlite.org/lang_update.html#optional_limit_and_order_by_clauses
|
||||
append-cppflags -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT
|
||||
|
||||
# Support soundex() function.
|
||||
# https://sqlite.org/compile.html#soundex
|
||||
# https://sqlite.org/lang_corefunc.html#soundex
|
||||
append-cppflags -DSQLITE_SOUNDEX
|
||||
|
||||
# Support URI filenames.
|
||||
# https://sqlite.org/compile.html#use_uri
|
||||
# https://sqlite.org/uri.html
|
||||
append-cppflags -DSQLITE_USE_URI
|
||||
|
||||
options+=( $(use_enable debug) )
|
||||
|
||||
if use icu; then
|
||||
# Support ICU extension.
|
||||
# https://sqlite.org/compile.html#enable_icu
|
||||
append-cppflags -DSQLITE_ENABLE_ICU
|
||||
sed -e "s/^TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
|
||||
fi
|
||||
|
||||
options+=(
|
||||
--disable-editline
|
||||
$(use_enable readline)
|
||||
)
|
||||
|
||||
if use readline; then
|
||||
options+=( --with-readline-inc="-I${ESYSROOT}/usr/include/readline" )
|
||||
fi
|
||||
|
||||
if use secure-delete; then
|
||||
# Enable secure_delete pragma by default.
|
||||
# https://sqlite.org/compile.html#secure_delete
|
||||
# https://sqlite.org/pragma.html#pragma_secure_delete
|
||||
append-cppflags -DSQLITE_SECURE_DELETE
|
||||
fi
|
||||
|
||||
options+=( $(use_enable static-libs static) )
|
||||
|
||||
# tcl, test, tools USE flags.
|
||||
if use tcl || use test || { use tools && multilib_is_native_abi; }; then
|
||||
options+=(
|
||||
--enable-tcl
|
||||
--with-tcl="${ESYSROOT}/usr/$(get_libdir)"
|
||||
)
|
||||
else
|
||||
options+=( --disable-tcl )
|
||||
fi
|
||||
|
||||
if [[ "${ABI}" == "x86" ]]; then
|
||||
if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} -E -P -dM - < /dev/null 2> /dev/null | grep -q "^#define __SSE__ 1$"; then
|
||||
append-cflags -mfpmath=sse
|
||||
else
|
||||
append-cflags -ffloat-store
|
||||
fi
|
||||
|
||||
# Skip known-broken test for now
|
||||
# https://sqlite.org/forum/forumpost/d97caf168f
|
||||
# https://sqlite.org/forum/forumpost/50f136d91d
|
||||
if use test ; then
|
||||
rm test/atof1.test || die
|
||||
fi
|
||||
fi
|
||||
|
||||
econf "${options[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake HAVE_TCL="$(usev tcl 1)" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}"
|
||||
|
||||
if use tools && multilib_is_native_abi; then
|
||||
emake changeset dbdump dbhash dbtotxt index_usage rbu scrub showdb showjournal showshm showstat4 showwal sqldiff sqlite3_analyzer sqlite3_checker sqlite3_expert sqltclsh
|
||||
fi
|
||||
|
||||
if [[ ${PV} == 9999 ]] && use doc && multilib_is_native_abi; then
|
||||
emake tclsqlite3.c
|
||||
|
||||
local build_directory="$(pwd)"
|
||||
build_directory="${build_directory##*/}"
|
||||
|
||||
mkdir "${WORKDIR}/${PN}-doc-build" || die
|
||||
pushd "${WORKDIR}/${PN}-doc-build" > /dev/null || die
|
||||
|
||||
emake -f "../${PN}-doc/Makefile" -j1 SRC="../${PN}" BLD="../${build_directory}" DOC="../${PN}-doc" CC="$(tc-getBUILD_CC)" TCLINC="" TCLFLAGS="$($(tc-getBUILD_PKG_CONFIG) --libs tcl) -ldl -lm" base doc
|
||||
rmdir doc/matrix{/*,} || die
|
||||
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
if [[ "${EUID}" -eq 0 ]]; then
|
||||
ewarn "Skipping tests due to root permissions"
|
||||
return
|
||||
fi
|
||||
|
||||
local -x SQLITE_HISTORY="${T}/sqlite_history_${ABI}"
|
||||
|
||||
# e_uri.test tries to open files in /.
|
||||
# bug #839798
|
||||
local SANDBOX_PREDICT=${SANDBOX_PREDICT}
|
||||
addpredict "/test.db:/ÿ.db"
|
||||
|
||||
emake -Onone HAVE_TCL="$(usex tcl 1 "")" $(usex debug 'fulltest' 'test')
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install
|
||||
|
||||
if use tools && multilib_is_native_abi; then
|
||||
install_tool() {
|
||||
if [[ -f ".libs/${1}" ]]; then
|
||||
newbin ".libs/${1}" "${2}"
|
||||
else
|
||||
newbin "${1}" "${2}"
|
||||
fi
|
||||
}
|
||||
|
||||
install_tool changeset sqlite3-changeset
|
||||
install_tool dbdump sqlite3-db-dump
|
||||
install_tool dbhash sqlite3-db-hash
|
||||
install_tool dbtotxt sqlite3-db-to-txt
|
||||
install_tool index_usage sqlite3-index-usage
|
||||
install_tool rbu sqlite3-rbu
|
||||
install_tool scrub sqlite3-scrub
|
||||
install_tool showdb sqlite3-show-db
|
||||
install_tool showjournal sqlite3-show-journal
|
||||
install_tool showshm sqlite3-show-shm
|
||||
install_tool showstat4 sqlite3-show-stat4
|
||||
install_tool showwal sqlite3-show-wal
|
||||
install_tool sqldiff sqlite3-diff
|
||||
install_tool sqlite3_analyzer sqlite3-analyzer
|
||||
install_tool sqlite3_checker sqlite3-checker
|
||||
install_tool sqlite3_expert sqlite3-expert
|
||||
install_tool sqltclsh sqlite3-tclsh
|
||||
|
||||
unset -f install_tool
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
find "${ED}" -name "*.la" -delete || die
|
||||
|
||||
doman sqlite3.1
|
||||
|
||||
if use doc; then
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
pushd "${WORKDIR}/${PN}-doc-build/doc" > /dev/null || die
|
||||
else
|
||||
pushd "${WORKDIR}/${PN}-doc-${DOC_PV}" > /dev/null || die
|
||||
fi
|
||||
|
||||
find "(" -name "*.db" -o -name "*.txt" ")" -delete || die
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
rm search search.d/admin || die
|
||||
rmdir search.d || die
|
||||
find -name "*~" -delete || die
|
||||
fi
|
||||
|
||||
(
|
||||
docinto html
|
||||
dodoc -r *
|
||||
)
|
||||
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -0,0 +1,475 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
# Patch version
|
||||
FIREFOX_PATCHSET="firefox-102esr-patches-13.tar.xz"
|
||||
SPIDERMONKEY_PATCHSET="spidermonkey-102-patches-05j.tar.xz"
|
||||
|
||||
LLVM_MAX_SLOT=16
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_REQ_USE="ssl,xml(+)"
|
||||
|
||||
WANT_AUTOCONF="2.1"
|
||||
|
||||
inherit autotools check-reqs flag-o-matic llvm multiprocessing prefix python-any-r1 toolchain-funcs
|
||||
|
||||
MY_PN="mozjs"
|
||||
MY_PV="${PV/_pre*}" # Handle Gentoo pre-releases
|
||||
|
||||
MY_MAJOR=$(ver_cut 1)
|
||||
|
||||
MOZ_ESR=yes
|
||||
|
||||
MOZ_PV=${PV}
|
||||
MOZ_PV_SUFFIX=
|
||||
if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then
|
||||
MOZ_PV_SUFFIX=${BASH_REMATCH[1]}
|
||||
|
||||
# Convert the ebuild version to the upstream Mozilla version
|
||||
MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI
|
||||
MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI
|
||||
MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI
|
||||
fi
|
||||
|
||||
if [[ -n ${MOZ_ESR} ]] ; then
|
||||
# ESR releases have slightly different version numbers
|
||||
MOZ_PV="${MOZ_PV}esr"
|
||||
fi
|
||||
|
||||
MOZ_PN="firefox"
|
||||
MOZ_P="${MOZ_PN}-${MOZ_PV}"
|
||||
MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
|
||||
MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
|
||||
|
||||
MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}"
|
||||
|
||||
if [[ ${PV} == *_rc* ]] ; then
|
||||
MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}"
|
||||
fi
|
||||
|
||||
PATCH_URIS=(
|
||||
https://dev.gentoo.org/~{juippis,whissi}/mozilla/patchsets/${FIREFOX_PATCHSET}
|
||||
https://dev.gentoo.org/~{juippis,whissi}/mozilla/patchsets/${SPIDERMONKEY_PATCHSET}
|
||||
)
|
||||
|
||||
SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz
|
||||
${PATCH_URIS[@]}"
|
||||
|
||||
DESCRIPTION="SpiderMonkey is Mozilla's JavaScript engine written in C and C++"
|
||||
HOMEPAGE="https://spidermonkey.dev https://firefox-source-docs.mozilla.org/js/index.html "
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
SLOT="$(ver_cut 1)"
|
||||
LICENSE="MPL-2.0"
|
||||
IUSE="clang cpu_flags_arm_neon debug +jit lto test"
|
||||
|
||||
#RESTRICT="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
|| (
|
||||
(
|
||||
sys-devel/llvm:16
|
||||
clang? (
|
||||
sys-devel/clang:16
|
||||
sys-devel/lld:16
|
||||
virtual/rust:0/llvm-16
|
||||
)
|
||||
)
|
||||
(
|
||||
sys-devel/llvm:15
|
||||
clang? (
|
||||
sys-devel/clang:15
|
||||
virtual/rust:0/llvm-15
|
||||
lto? ( sys-devel/lld:15 )
|
||||
)
|
||||
)
|
||||
(
|
||||
sys-devel/llvm:14
|
||||
clang? (
|
||||
sys-devel/clang:14
|
||||
virtual/rust:0/llvm-14
|
||||
lto? ( sys-devel/lld:14 )
|
||||
)
|
||||
)
|
||||
)
|
||||
!clang? ( virtual/rust )
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
$(python_gen_any_dep 'dev-python/six[${PYTHON_USEDEP}]')
|
||||
)"
|
||||
DEPEND=">=dev-libs/icu-71.1:=
|
||||
dev-libs/nspr
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/firefox-${MY_PV}/js/src"
|
||||
|
||||
llvm_check_deps() {
|
||||
if ! has_version -b "sys-devel/llvm:${LLVM_SLOT}" ; then
|
||||
einfo "sys-devel/llvm:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
if use clang ; then
|
||||
if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
|
||||
einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then
|
||||
einfo "virtual/rust:0/llvm-${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
if use lto ; then
|
||||
if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then
|
||||
einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2
|
||||
}
|
||||
|
||||
python_check_deps() {
|
||||
if use test ; then
|
||||
python_has_version "dev-python/six[${PYTHON_USEDEP}]"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if use test ; then
|
||||
CHECKREQS_DISK_BUILD="4000M"
|
||||
else
|
||||
CHECKREQS_DISK_BUILD="3600M"
|
||||
fi
|
||||
|
||||
check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${MERGE_TYPE} != binary ]] ; then
|
||||
if use test ; then
|
||||
CHECKREQS_DISK_BUILD="4000M"
|
||||
else
|
||||
CHECKREQS_DISK_BUILD="3600M"
|
||||
fi
|
||||
|
||||
check-reqs_pkg_setup
|
||||
|
||||
llvm_pkg_setup
|
||||
|
||||
if use clang && use lto ; then
|
||||
local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }')
|
||||
[[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}")
|
||||
[[ -z ${version_lld} ]] && die "Failed to read ld.lld version!"
|
||||
|
||||
local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }')
|
||||
[[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}")
|
||||
[[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!"
|
||||
|
||||
if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then
|
||||
eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}."
|
||||
eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:"
|
||||
eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version"
|
||||
eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version"
|
||||
eerror " - Build ${CATEGORY}/${PN} without USE=lto"
|
||||
eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole "
|
||||
eerror " llvm/clang/lld/rust chain depending on your @world updates)"
|
||||
die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!"
|
||||
fi
|
||||
fi
|
||||
|
||||
python-any-r1_pkg_setup
|
||||
|
||||
# Build system is using /proc/self/oom_score_adj, bug #604394
|
||||
addpredict /proc/self/oom_score_adj
|
||||
|
||||
if ! mountpoint -q /dev/shm ; then
|
||||
# If /dev/shm is not available, configure is known to fail with
|
||||
# a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py
|
||||
ewarn "/dev/shm is not mounted -- expect build failures!"
|
||||
fi
|
||||
|
||||
# Ensure we use C locale when building, bug #746215
|
||||
export LC_ALL=C
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
pushd ../.. &>/dev/null || die
|
||||
|
||||
use lto && rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch
|
||||
|
||||
eapply "${WORKDIR}"/firefox-patches
|
||||
eapply "${WORKDIR}"/spidermonkey-patches
|
||||
|
||||
default
|
||||
|
||||
# Make cargo respect MAKEOPTS
|
||||
export CARGO_BUILD_JOBS="$(makeopts_jobs)"
|
||||
|
||||
# sed-in toolchain prefix
|
||||
sed -i \
|
||||
-e "s/objdump/${CHOST}-objdump/" \
|
||||
python/mozbuild/mozbuild/configure/check_debug_ranges.py \
|
||||
|| die "sed failed to set toolchain prefix"
|
||||
|
||||
# use prefix shell in wrapper linker scripts, bug #789660
|
||||
hprefixify "${S}"/../../build/cargo-{,host-}linker
|
||||
|
||||
einfo "Removing pre-built binaries ..."
|
||||
find third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die
|
||||
|
||||
MOZJS_BUILDDIR="${WORKDIR}/build"
|
||||
mkdir "${MOZJS_BUILDDIR}" || die
|
||||
|
||||
popd &>/dev/null || die
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Show flags set at the beginning
|
||||
einfo "Current CFLAGS: ${CFLAGS}"
|
||||
einfo "Current CXXFLAGS: ${CXXFLAGS}"
|
||||
einfo "Current LDFLAGS: ${LDFLAGS}"
|
||||
einfo "Current RUSTFLAGS: ${RUSTFLAGS}"
|
||||
|
||||
local have_switched_compiler=
|
||||
if use clang; then
|
||||
# Force clang
|
||||
einfo "Enforcing the use of clang due to USE=clang ..."
|
||||
if tc-is-gcc; then
|
||||
have_switched_compiler=yes
|
||||
fi
|
||||
AR=llvm-ar
|
||||
CC=${CHOST}-clang
|
||||
CXX=${CHOST}-clang++
|
||||
NM=llvm-nm
|
||||
RANLIB=llvm-ranlib
|
||||
elif ! use clang && ! tc-is-gcc ; then
|
||||
# Force gcc
|
||||
have_switched_compiler=yes
|
||||
einfo "Enforcing the use of gcc due to USE=-clang ..."
|
||||
AR=gcc-ar
|
||||
CC=${CHOST}-gcc
|
||||
CXX=${CHOST}-g++
|
||||
NM=gcc-nm
|
||||
RANLIB=gcc-ranlib
|
||||
fi
|
||||
|
||||
if [[ -n "${have_switched_compiler}" ]] ; then
|
||||
# Because we switched active compiler we have to ensure
|
||||
# that no unsupported flags are set
|
||||
strip-unsupported-flags
|
||||
fi
|
||||
|
||||
# Ensure we use correct toolchain
|
||||
export HOST_CC="$(tc-getBUILD_CC)"
|
||||
export HOST_CXX="$(tc-getBUILD_CXX)"
|
||||
export AS="$(tc-getCC) -c"
|
||||
tc-export CC CXX LD AR AS NM OBJDUMP RANLIB PKG_CONFIG
|
||||
|
||||
cd "${MOZJS_BUILDDIR}" || die
|
||||
|
||||
# ../python/mach/mach/mixin/process.py fails to detect SHELL
|
||||
export SHELL="${EPREFIX}/bin/bash"
|
||||
|
||||
local -a myeconfargs=(
|
||||
--host="${CBUILD:-${CHOST}}"
|
||||
--target="${CHOST}"
|
||||
|
||||
--disable-ctype
|
||||
--disable-jemalloc
|
||||
--disable-smoosh
|
||||
--disable-strip
|
||||
|
||||
--enable-readline
|
||||
--enable-release
|
||||
--enable-shared-js
|
||||
|
||||
--with-intl-api
|
||||
--with-system-icu
|
||||
--with-system-nspr
|
||||
--with-system-zlib
|
||||
--with-toolchain-prefix="${CHOST}-"
|
||||
|
||||
$(use_enable debug)
|
||||
$(use_enable jit)
|
||||
$(use_enable test tests)
|
||||
)
|
||||
|
||||
if use debug; then
|
||||
myeconfargs+=( --disable-optimize )
|
||||
myeconfargs+=( --enable-debug-symbols )
|
||||
else
|
||||
myeconfargs+=( --enable-optimize )
|
||||
myeconfargs+=( --disable-debug-symbols )
|
||||
fi
|
||||
|
||||
if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then
|
||||
myeconfargs+=( --enable-rust-simd )
|
||||
fi
|
||||
|
||||
# Modifications to better support ARM, bug 717344
|
||||
if use cpu_flags_arm_neon ; then
|
||||
myeconfargs+=( --with-fpu=neon )
|
||||
|
||||
if ! tc-is-clang ; then
|
||||
# thumb options aren't supported when using clang, bug 666966
|
||||
myeconfargs+=( --with-thumb=yes )
|
||||
myeconfargs+=( --with-thumb-interwork=no )
|
||||
fi
|
||||
fi
|
||||
|
||||
# Tell build system that we want to use LTO
|
||||
if use lto ; then
|
||||
if use clang ; then
|
||||
myeconfargs+=( --enable-linker=lld )
|
||||
myeconfargs+=( --enable-lto=cross )
|
||||
else
|
||||
myeconfargs+=( --enable-linker=bfd )
|
||||
myeconfargs+=( --enable-lto=full )
|
||||
fi
|
||||
fi
|
||||
|
||||
# LTO flag was handled via configure
|
||||
filter-lto
|
||||
|
||||
# Use system's Python environment
|
||||
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none"
|
||||
export PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach
|
||||
|
||||
# Show flags we will use
|
||||
einfo "Build CFLAGS: ${CFLAGS}"
|
||||
einfo "Build CXXFLAGS: ${CXXFLAGS}"
|
||||
einfo "Build LDFLAGS: ${LDFLAGS}"
|
||||
einfo "Build RUSTFLAGS: ${RUSTFLAGS}"
|
||||
|
||||
# Forcing system-icu allows us to skip patching bundled ICU for PPC
|
||||
# and other minor arches
|
||||
ECONF_SOURCE="${S}" \
|
||||
econf \
|
||||
${myeconfargs[@]} \
|
||||
XARGS="${EPREFIX}/usr/bin/xargs"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${MOZJS_BUILDDIR}" || die
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if "${MOZJS_BUILDDIR}/js/src/js" -e 'print("Hello world!")'; then
|
||||
einfo "Smoke-test successful, continuing with full test suite"
|
||||
else
|
||||
die "Smoke-test failed: did interpreter initialization fail?"
|
||||
fi
|
||||
|
||||
cp "${FILESDIR}"/spidermonkey-${SLOT}-known-test-failures.txt "${T}"/known_failures.list || die
|
||||
|
||||
if [[ $(tc-endian) == "big" ]] ; then
|
||||
echo "non262/extensions/clone-errors.js" >> "${T}"/known_failures.list
|
||||
echo "test262/built-ins/Date/UTC/fp-evaluation-order.js" >> "${T}"/known_failures.list
|
||||
echo "test262/built-ins/TypedArray/prototype/set/typedarray-arg-set-values-same-buffer-other-type.js" >> "${T}"/known_failures.list
|
||||
fi
|
||||
|
||||
if use ppc; then
|
||||
echo "non262/Array/fill.js" >> "${T}"/known_failures.list
|
||||
echo "non262/Array/sort_basics.js" >> "${T}"/known_failures.list
|
||||
echo "non262/Symbol/typed-arrays.js" >> "${T}"/known_failures.list
|
||||
echo "non262/Intl/TypedArray/toLocaleString.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/entries.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/fill.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/map-species.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/iterator.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/reverse.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/join.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/sort_comparators.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/forEach.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/slice.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/sort_compare_nan.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/set-toobject.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/sort-non-function.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/includes.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/subarray-species.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/indexOf-never-returns-negative-zero.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/map-and-filter.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/at.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/from_errors.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/values.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/set-wrapped.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/every-and-some.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/from_mapping.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/lastIndexOf-never-returns-negative-zero.js" >> "${T}"/known_failures.list
|
||||
echo "non262/Reflect/preventExtensions.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/sort_sorted.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/of.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/keys.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/from_realms.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/from_iterable.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/filter-species.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/object-defineproperty.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/uint8clamped-constructor.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/indexOf-and-lastIndexOf.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/slice-species.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/set-tointeger.js" >> "${T}"/known_failures.list
|
||||
echo "non262/Reflect/ownKeys.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/seal-and-freeze.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/reduce-and-reduceRight.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/from_basics.js" >> "${T}"/known_failures.list
|
||||
echo "non262/TypedArray/find-and-findIndex.js" >> "${T}"/known_failures.list
|
||||
echo "non262/Reflect/isExtensible.js" >> "${T}"/known_failures.list
|
||||
echo "non262/regress/regress-571014.js" >> "${T}"/known_failures.list
|
||||
echo "non262/extensions/reviver-mutates-holder-object-nonnative.js" >> "${T}"/known_failures.list
|
||||
echo "non262/extensions/typedarray-set-neutering.js" >> "${T}"/known_failures.list
|
||||
echo "non262/extensions/reviver-mutates-holder-array-nonnative.js" >> "${T}"/known_failures.list
|
||||
echo "non262/extensions/typedarray.js" >> "${T}"/known_failures.list
|
||||
echo "non262/Math/fround.js" >> "${T}"/known_failures.list
|
||||
fi
|
||||
|
||||
${EPYTHON} \
|
||||
"${S}"/tests/jstests.py -d -s -t 1800 --wpt=disabled --no-progress \
|
||||
--exclude-file="${T}"/known_failures.list \
|
||||
"${MOZJS_BUILDDIR}"/js/src/js \
|
||||
|| die
|
||||
|
||||
if use jit ; then
|
||||
${EPYTHON} \
|
||||
"${S}"/tests/jstests.py -d -s -t 1800 --wpt=disabled --no-progress \
|
||||
--exclude-file="${T}"/known_failures.list \
|
||||
"${MOZJS_BUILDDIR}"/js/src/js basic \
|
||||
|| die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${MOZJS_BUILDDIR}" || die
|
||||
default
|
||||
|
||||
# fix soname links
|
||||
pushd "${ED}"/usr/$(get_libdir) &>/dev/null || die
|
||||
mv lib${MY_PN}-${MY_MAJOR}.so lib${MY_PN}-${MY_MAJOR}.so.0.0.0 || die
|
||||
ln -s lib${MY_PN}-${MY_MAJOR}.so.0.0.0 lib${MY_PN}-${MY_MAJOR}.so.0 || die
|
||||
ln -s lib${MY_PN}-${MY_MAJOR}.so.0 lib${MY_PN}-${MY_MAJOR}.so || die
|
||||
popd &>/dev/null || die
|
||||
|
||||
# remove unneeded files
|
||||
rm \
|
||||
"${ED}"/usr/bin/js${MY_MAJOR}-config \
|
||||
"${ED}"/usr/$(get_libdir)/libjs_static.ajs \
|
||||
|| die
|
||||
|
||||
# fix permissions
|
||||
chmod -x \
|
||||
"${ED}"/usr/$(get_libdir)/pkgconfig/*.pc \
|
||||
"${ED}"/usr/include/mozjs-${MY_MAJOR}/js-config.h \
|
||||
|| die
|
||||
}
|
@ -0,0 +1,459 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
# Patch version
|
||||
FIREFOX_PATCHSET="firefox-115esr-patches-05.tar.xz"
|
||||
SPIDERMONKEY_PATCHSET="spidermonkey-115-patches-01.tar.xz"
|
||||
|
||||
LLVM_MAX_SLOT=16
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_REQ_USE="ssl,xml(+)"
|
||||
|
||||
WANT_AUTOCONF="2.1"
|
||||
|
||||
inherit autotools check-reqs flag-o-matic llvm multiprocessing prefix python-any-r1 toolchain-funcs
|
||||
|
||||
MY_PN="mozjs"
|
||||
MY_PV="${PV/_pre*}" # Handle Gentoo pre-releases
|
||||
|
||||
MY_MAJOR=$(ver_cut 1)
|
||||
|
||||
MOZ_ESR=yes
|
||||
|
||||
MOZ_PV=${PV}
|
||||
MOZ_PV_SUFFIX=
|
||||
if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then
|
||||
MOZ_PV_SUFFIX=${BASH_REMATCH[1]}
|
||||
|
||||
# Convert the ebuild version to the upstream Mozilla version
|
||||
MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI
|
||||
MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI
|
||||
MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI
|
||||
fi
|
||||
|
||||
if [[ -n ${MOZ_ESR} ]] ; then
|
||||
# ESR releases have slightly different version numbers
|
||||
MOZ_PV="${MOZ_PV}esr"
|
||||
fi
|
||||
|
||||
MOZ_PN="firefox"
|
||||
MOZ_P="${MOZ_PN}-${MOZ_PV}"
|
||||
MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
|
||||
MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
|
||||
|
||||
MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}"
|
||||
|
||||
if [[ ${PV} == *_rc* ]] ; then
|
||||
MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}"
|
||||
fi
|
||||
|
||||
PATCH_URIS=(
|
||||
https://dev.gentoo.org/~juippis/mozilla/patchsets/${FIREFOX_PATCHSET}
|
||||
https://dev.gentoo.org/~juippis/mozilla/patchsets/${SPIDERMONKEY_PATCHSET}
|
||||
)
|
||||
|
||||
SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz
|
||||
${PATCH_URIS[@]}"
|
||||
|
||||
DESCRIPTION="SpiderMonkey is Mozilla's JavaScript engine written in C and C++"
|
||||
HOMEPAGE="https://spidermonkey.dev https://firefox-source-docs.mozilla.org/js/index.html "
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
SLOT="$(ver_cut 1)"
|
||||
LICENSE="MPL-2.0"
|
||||
IUSE="clang cpu_flags_arm_neon debug +jit lto test"
|
||||
|
||||
#RESTRICT="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
|| (
|
||||
(
|
||||
sys-devel/llvm:16
|
||||
clang? (
|
||||
sys-devel/lld:16
|
||||
sys-devel/clang:16
|
||||
virtual/rust:0/llvm-16
|
||||
)
|
||||
)
|
||||
(
|
||||
sys-devel/llvm:15
|
||||
clang? (
|
||||
sys-devel/lld:15
|
||||
sys-devel/clang:15
|
||||
virtual/rust:0/llvm-15
|
||||
)
|
||||
)
|
||||
)
|
||||
!clang? ( virtual/rust )
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
$(python_gen_any_dep 'dev-python/six[${PYTHON_USEDEP}]')
|
||||
)"
|
||||
DEPEND=">=dev-libs/icu-73.1:=
|
||||
dev-libs/nspr
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/firefox-${MY_PV}/js/src"
|
||||
|
||||
llvm_check_deps() {
|
||||
if ! has_version -b "sys-devel/llvm:${LLVM_SLOT}" ; then
|
||||
einfo "sys-devel/llvm:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
if use clang ; then
|
||||
if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
|
||||
einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then
|
||||
einfo "virtual/rust:0/llvm-${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
if ! tc-ld-is-mold ; then
|
||||
if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then
|
||||
einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2
|
||||
}
|
||||
|
||||
python_check_deps() {
|
||||
if use test ; then
|
||||
python_has_version "dev-python/six[${PYTHON_USEDEP}]"
|
||||
fi
|
||||
}
|
||||
|
||||
# This is a straight copypaste from toolchain-funcs.eclass's 'tc-ld-is-lld', and is temporarily
|
||||
# placed here until toolchain-funcs.eclass gets an official support for mold linker.
|
||||
# Please see:
|
||||
# https://github.com/gentoo/gentoo/pull/28366 ||
|
||||
# https://github.com/gentoo/gentoo/pull/28355
|
||||
tc-ld-is-mold() {
|
||||
local out
|
||||
|
||||
# Ensure ld output is in English.
|
||||
local -x LC_ALL=C
|
||||
|
||||
# First check the linker directly.
|
||||
out=$($(tc-getLD "$@") --version 2>&1)
|
||||
if [[ ${out} == *"mold"* ]] ; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
# Then see if they're selecting mold via compiler flags.
|
||||
# Note: We're assuming they're using LDFLAGS to hold the
|
||||
# options and not CFLAGS/CXXFLAGS.
|
||||
local base="${T}/test-tc-linker"
|
||||
cat <<-EOF > "${base}.c"
|
||||
int main() { return 0; }
|
||||
EOF
|
||||
out=$($(tc-getCC "$@") ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -Wl,--version "${base}.c" -o "${base}" 2>&1)
|
||||
rm -f "${base}"*
|
||||
if [[ ${out} == *"mold"* ]] ; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
# No mold here!
|
||||
return 1
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if use test ; then
|
||||
CHECKREQS_DISK_BUILD="4000M"
|
||||
else
|
||||
CHECKREQS_DISK_BUILD="3600M"
|
||||
fi
|
||||
|
||||
check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${MERGE_TYPE} != binary ]] ; then
|
||||
if use test ; then
|
||||
CHECKREQS_DISK_BUILD="4000M"
|
||||
else
|
||||
CHECKREQS_DISK_BUILD="3600M"
|
||||
fi
|
||||
|
||||
check-reqs_pkg_setup
|
||||
|
||||
llvm_pkg_setup
|
||||
|
||||
if use clang && use lto && tc-ld-is-lld ; then
|
||||
local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }')
|
||||
[[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}")
|
||||
[[ -z ${version_lld} ]] && die "Failed to read ld.lld version!"
|
||||
|
||||
local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }')
|
||||
[[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}")
|
||||
[[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!"
|
||||
|
||||
if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then
|
||||
eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}."
|
||||
eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:"
|
||||
eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version"
|
||||
eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version"
|
||||
eerror " - Build ${CATEGORY}/${PN} without USE=lto"
|
||||
eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole "
|
||||
eerror " llvm/clang/lld/rust chain depending on your @world updates)"
|
||||
die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!"
|
||||
fi
|
||||
fi
|
||||
|
||||
python-any-r1_pkg_setup
|
||||
|
||||
# Build system is using /proc/self/oom_score_adj, bug #604394
|
||||
addpredict /proc/self/oom_score_adj
|
||||
|
||||
if ! mountpoint -q /dev/shm ; then
|
||||
# If /dev/shm is not available, configure is known to fail with
|
||||
# a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py
|
||||
ewarn "/dev/shm is not mounted -- expect build failures!"
|
||||
fi
|
||||
|
||||
# Ensure we use C locale when building, bug #746215
|
||||
export LC_ALL=C
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
pushd ../.. &>/dev/null || die
|
||||
|
||||
use lto && rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch
|
||||
|
||||
if ! use ppc64; then
|
||||
rm -v "${WORKDIR}"/firefox-patches/*ppc64*.patch || die
|
||||
fi
|
||||
|
||||
eapply "${WORKDIR}"/firefox-patches
|
||||
eapply "${WORKDIR}"/spidermonkey-patches
|
||||
|
||||
default
|
||||
|
||||
# Make cargo respect MAKEOPTS
|
||||
export CARGO_BUILD_JOBS="$(makeopts_jobs)"
|
||||
|
||||
# sed-in toolchain prefix
|
||||
sed -i \
|
||||
-e "s/objdump/${CHOST}-objdump/" \
|
||||
python/mozbuild/mozbuild/configure/check_debug_ranges.py \
|
||||
|| die "sed failed to set toolchain prefix"
|
||||
|
||||
# use prefix shell in wrapper linker scripts, bug #789660
|
||||
hprefixify "${S}"/../../build/cargo-{,host-}linker
|
||||
|
||||
einfo "Removing pre-built binaries ..."
|
||||
find third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die
|
||||
|
||||
MOZJS_BUILDDIR="${WORKDIR}/build"
|
||||
mkdir "${MOZJS_BUILDDIR}" || die
|
||||
|
||||
popd &>/dev/null || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Show flags set at the beginning
|
||||
einfo "Current CFLAGS: ${CFLAGS}"
|
||||
einfo "Current CXXFLAGS: ${CXXFLAGS}"
|
||||
einfo "Current LDFLAGS: ${LDFLAGS}"
|
||||
einfo "Current RUSTFLAGS: ${RUSTFLAGS}"
|
||||
|
||||
local have_switched_compiler=
|
||||
if use clang; then
|
||||
# Force clang
|
||||
einfo "Enforcing the use of clang due to USE=clang ..."
|
||||
|
||||
local version_clang=$(clang --version 2>/dev/null | grep -F -- 'clang version' | awk '{ print $3 }')
|
||||
[[ -n ${version_clang} ]] && version_clang=$(ver_cut 1 "${version_clang}")
|
||||
[[ -z ${version_clang} ]] && die "Failed to read clang version!"
|
||||
|
||||
if tc-is-gcc; then
|
||||
have_switched_compiler=yes
|
||||
fi
|
||||
AR=llvm-ar
|
||||
CC=${CHOST}-clang-${version_clang}
|
||||
CXX=${CHOST}-clang++-${version_clang}
|
||||
NM=llvm-nm
|
||||
RANLIB=llvm-ranlib
|
||||
|
||||
elif ! use clang && ! tc-is-gcc ; then
|
||||
# Force gcc
|
||||
have_switched_compiler=yes
|
||||
einfo "Enforcing the use of gcc due to USE=-clang ..."
|
||||
AR=gcc-ar
|
||||
CC=${CHOST}-gcc
|
||||
CXX=${CHOST}-g++
|
||||
NM=gcc-nm
|
||||
RANLIB=gcc-ranlib
|
||||
fi
|
||||
|
||||
if [[ -n "${have_switched_compiler}" ]] ; then
|
||||
# Because we switched active compiler we have to ensure
|
||||
# that no unsupported flags are set
|
||||
strip-unsupported-flags
|
||||
fi
|
||||
|
||||
# Ensure we use correct toolchain,
|
||||
# AS is used in a non-standard way by upstream, #bmo1654031
|
||||
export HOST_CC="$(tc-getBUILD_CC)"
|
||||
export HOST_CXX="$(tc-getBUILD_CXX)"
|
||||
export AS="$(tc-getCC) -c"
|
||||
tc-export CC CXX LD AR AS NM OBJDUMP RANLIB PKG_CONFIG
|
||||
|
||||
cd "${MOZJS_BUILDDIR}" || die
|
||||
|
||||
# ../python/mach/mach/mixin/process.py fails to detect SHELL
|
||||
export SHELL="${EPREFIX}/bin/bash"
|
||||
|
||||
local -a myeconfargs=(
|
||||
--host="${CBUILD:-${CHOST}}"
|
||||
--target="${CHOST}"
|
||||
|
||||
--disable-ctype
|
||||
--disable-jemalloc
|
||||
--disable-smoosh
|
||||
--disable-strip
|
||||
|
||||
--enable-project=js
|
||||
--enable-readline
|
||||
--enable-release
|
||||
--enable-shared-js
|
||||
|
||||
--with-intl-api
|
||||
--with-system-icu
|
||||
--with-system-nspr
|
||||
--with-system-zlib
|
||||
--with-toolchain-prefix="${CHOST}-"
|
||||
|
||||
$(use_enable debug)
|
||||
$(use_enable jit)
|
||||
$(use_enable test tests)
|
||||
)
|
||||
|
||||
if use debug; then
|
||||
myeconfargs+=( --disable-optimize )
|
||||
myeconfargs+=( --enable-debug-symbols )
|
||||
myeconfargs+=( --enable-real-time-tracing )
|
||||
else
|
||||
myeconfargs+=( --enable-optimize )
|
||||
myeconfargs+=( --disable-debug-symbols )
|
||||
myeconfargs+=( --disable-real-time-tracing )
|
||||
fi
|
||||
|
||||
if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then
|
||||
myeconfargs+=( --enable-rust-simd )
|
||||
fi
|
||||
|
||||
# Modifications to better support ARM, bug 717344
|
||||
if use cpu_flags_arm_neon ; then
|
||||
myeconfargs+=( --with-fpu=neon )
|
||||
|
||||
if ! tc-is-clang ; then
|
||||
# thumb options aren't supported when using clang, bug 666966
|
||||
myeconfargs+=( --with-thumb=yes )
|
||||
myeconfargs+=( --with-thumb-interwork=no )
|
||||
fi
|
||||
fi
|
||||
|
||||
# Tell build system that we want to use LTO
|
||||
if use lto ; then
|
||||
if use clang ; then
|
||||
if tc-ld-is-mold ; then
|
||||
myeconfargs+=( --enable-linker=mold )
|
||||
else
|
||||
myeconfargs+=( --enable-linker=lld )
|
||||
fi
|
||||
myeconfargs+=( --enable-lto=cross )
|
||||
|
||||
else
|
||||
myeconfargs+=( --enable-linker=bfd )
|
||||
myeconfargs+=( --enable-lto=full )
|
||||
fi
|
||||
fi
|
||||
|
||||
# LTO flag was handled via configure
|
||||
filter-lto
|
||||
|
||||
# Use system's Python environment
|
||||
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none"
|
||||
export PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach
|
||||
|
||||
# Show flags we will use
|
||||
einfo "Build CFLAGS: ${CFLAGS}"
|
||||
einfo "Build CXXFLAGS: ${CXXFLAGS}"
|
||||
einfo "Build LDFLAGS: ${LDFLAGS}"
|
||||
einfo "Build RUSTFLAGS: ${RUSTFLAGS}"
|
||||
|
||||
# Forcing system-icu allows us to skip patching bundled ICU for PPC
|
||||
# and other minor arches
|
||||
ECONF_SOURCE="${S}" \
|
||||
econf \
|
||||
${myeconfargs[@]} \
|
||||
XARGS="${EPREFIX}/usr/bin/xargs"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${MOZJS_BUILDDIR}" || die
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if "${MOZJS_BUILDDIR}/js/src/js" -e 'print("Hello world!")'; then
|
||||
einfo "Smoke-test successful, continuing with full test suite"
|
||||
else
|
||||
die "Smoke-test failed: did interpreter initialization fail?"
|
||||
fi
|
||||
|
||||
cp "${FILESDIR}"/spidermonkey-${SLOT}-known-test-failures.txt "${T}"/known_failures.list || die
|
||||
|
||||
${EPYTHON} \
|
||||
"${S}"/tests/jstests.py -d -s -t 1800 --wpt=disabled --no-progress \
|
||||
--exclude-file="${T}"/known_failures.list \
|
||||
"${MOZJS_BUILDDIR}"/js/src/js \
|
||||
|| die
|
||||
|
||||
if use jit ; then
|
||||
${EPYTHON} \
|
||||
"${S}"/tests/jstests.py -d -s -t 1800 --wpt=disabled --no-progress \
|
||||
--exclude-file="${T}"/known_failures.list \
|
||||
"${MOZJS_BUILDDIR}"/js/src/js basic \
|
||||
|| die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${MOZJS_BUILDDIR}" || die
|
||||
default
|
||||
|
||||
# fix soname links
|
||||
pushd "${ED}"/usr/$(get_libdir) &>/dev/null || die
|
||||
mv lib${MY_PN}-${MY_MAJOR}.so lib${MY_PN}-${MY_MAJOR}.so.0.0.0 || die
|
||||
ln -s lib${MY_PN}-${MY_MAJOR}.so.0.0.0 lib${MY_PN}-${MY_MAJOR}.so.0 || die
|
||||
ln -s lib${MY_PN}-${MY_MAJOR}.so.0 lib${MY_PN}-${MY_MAJOR}.so || die
|
||||
popd &>/dev/null || die
|
||||
|
||||
# remove unneeded files
|
||||
rm \
|
||||
"${ED}"/usr/bin/js${MY_MAJOR}-config \
|
||||
"${ED}"/usr/$(get_libdir)/libjs_static.ajs \
|
||||
|| die
|
||||
|
||||
# fix permissions
|
||||
chmod -x \
|
||||
"${ED}"/usr/$(get_libdir)/pkgconfig/*.pc \
|
||||
"${ED}"/usr/include/mozjs-${MY_MAJOR}/js-config.h \
|
||||
|| die
|
||||
}
|
Binary file not shown.
@ -1,4 +1,5 @@
|
||||
AUX libmpack-1.0.5-libtool.patch 2022 BLAKE2B 1b1104b35a79d1bd3595353ec238fd13ece6a369d10999a5c7b627a7c9a98a24fad880970cda5d324cd95e434ae4f31e044ff6702a307f7811bf0833372afbb9 SHA512 dcb0029018df34aa5530ef6f9f0c8ffec7d33288e8854273db98c823f03663d260837c80846acf5571400dd0f78588f26fe62b20a2f9469c09f22189b0a65fff
|
||||
DIST libmpack-1.0.5.tar.gz 32966 BLAKE2B 8ad01de11c740c3efc7b42046b89f7691dd32d228e126485bc49224e54789e7f12a611982c0fd9d2bbe8b06d1ce2df1ceea1b302e139e30d0a8c31f251129166 SHA512 6e30edafcacfb580b410bc6749ed7fe8f18b3be0cb98959339853e77bc3ec0cda6df08a0f1f22768cfc773458a2ea6bcef4f0421eea55cf56c58981d13711a04
|
||||
EBUILD libmpack-1.0.5-r3.ebuild 1437 BLAKE2B 1a236d45146ae43ae74b39e9e06ef40c105a1c14921c2ff619e9ff5b7bf18979881defb58fc9f38f019c0712db0adeb3324aaae6bc80672b540d0b822edf6b2b SHA512 50fdc0705b1abf50d5cc3b358c7e3a324ea3a0215bac09f2bae802c7e91ccd9b99e367232c8c86eefc94635e2bc40695d3da068f9b14a5053a691afe8102cf46
|
||||
EBUILD libmpack-1.0.5-r4.ebuild 1459 BLAKE2B 9031e2ade930b93d4cc61aba31e94e28d6cfbac7ab6f95f29602218d71e01887c17a60cd732ed775c3fe13adb0160d9a7443fa56d5cc0a7922d043a13dc01e9e SHA512 482cf678f6f7b69ee0b3147d04a2cc7e2c5ce95fbee665bf6a193c655980579f2c4972fa6d15153ea9dca6e90053a7a1e218eb55725bb3d5638b1031760dea4f
|
||||
MISC metadata.xml 333 BLAKE2B f3e54e3a241a85adad55693f7dd3cc47cc646d1432b4281c264c849fb2a2bfc050aee53f5ae766063335b72c3ca91ed9054bac758d82c969acb61913f7282940 SHA512 aa83f4113099ecf8b749a070014b9d9c09fc1c0d4836f2cf621b2966088cf3ee73e26ab4f365063713db353671ad5937f98ffe4c87762c6e196cd57c8eb595ea
|
||||
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools toolchain-funcs
|
||||
|
||||
DESCRIPTION="Simple implementation of msgpack in C"
|
||||
HOMEPAGE="https://github.com/libmpack/libmpack"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-libtool.patch # 778899
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Respect users CFLAGS
|
||||
sed -e 's/-ggdb//g' -i Makefile.in || die
|
||||
sed -e 's/-O3//g' -i .config/release.mk || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myemakeargs=(
|
||||
"VERBOSE=1"
|
||||
"PREFIX=${EPREFIX}/usr"
|
||||
"CC=$(tc-getCC)"
|
||||
"config=release"
|
||||
"LIBDIR=${EPREFIX}/usr/$(get_libdir)"
|
||||
"INCDIR=${EPREFIX}/usr/include"
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}" lib-bin
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake VERBOSE=1 XLDFLAGS="-shared" test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myemakeargs=(
|
||||
"VERBOSE=1"
|
||||
"PREFIX=${EPREFIX}/usr"
|
||||
"DESTDIR=${D}"
|
||||
"config=release"
|
||||
"LIBDIR=${EPREFIX}/usr/$(get_libdir)"
|
||||
"INCDIR=${EPREFIX}/usr/include"
|
||||
"XLDFLAGS=-shared"
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}" install
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
local file="libmpack.0.0.0.dylib"
|
||||
install_name_tool \
|
||||
-id "${EPREFIX}/usr/$(get_libdir)/${file}" \
|
||||
"${ED}/usr/$(get_libdir)/${file}" \
|
||||
|| die "Failed to adjust install_name"
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
@ -1,4 +1,8 @@
|
||||
AUX libnl-3.8.0-printf-non-bash.patch 974 BLAKE2B 6f7b4d3d25cc7ffaf6566aeeaa943d4e8ce3ff14af28f2d1ee98c3dc89e87bee24d1d8a211084b4dde0668ff37830f4039ccde93708edda75434dfc0831632a2 SHA512 9eaeddb3ed12be03ba824ad2924879c67f1f3e12f1a938e866404780e6390297bed0b926981820b93459849380ddaac7bb6824e07e096be97ee8cebf18927027
|
||||
AUX libnl-3.8.0-python-decorator-syntax.patch 798 BLAKE2B 364c3eff7873ae791c5ff24f3ffa699c149817e1fc871ff257877723c67c8f187270d57a6204df40cb8b534dca3a41903f5d911c21e9ae1e82d1dbf8796cfc58 SHA512 332e2c53e766bb84fdcd7bf2c2d944c3cb78722d733441f3d8f8403a949b9fdbe202bfa6874154733735f193279ab3c7fed960eeff462c0468b355412abbb5d6
|
||||
DIST libnl-3.7.0.tar.gz 1000913 BLAKE2B 22c418ea520416d79ee4552ab6bc5ba99239b29e074c840d31b0ec4171a0403ea9d2c1afcbf1b3428564dd371cadd99bc062ae7540e7496f970c4fb98f967e84 SHA512 80fbbc079299c90afd2a5eda62e4d4f98bf4ef23958c3ce5101f4ed4d81d783af733213bb3bab15f218555d8460bc2394898f909f4ac024fc27281faec86a041
|
||||
DIST libnl-3.8.0.tar.gz 1071113 BLAKE2B ff90d52e9b617ad8a53e4d42f43bee065b331ed919a3effc4a0f38c8e15b46f86c1eb153816499ed77dd99063500b1dc52951891034475a5bb81da1ad8004594 SHA512 a8da7e8464c5cab2807cd86f83fca53bc77f7c3bdefe43880db7be9caf5ba6bfca1b7e778b906c12fda1cf7e6f413f88cc7ad1dcc42fe8c050a8d28a6e656c02
|
||||
EBUILD libnl-3.7.0.ebuild 2639 BLAKE2B 9f93d4b6028347d62b49758d015b1dafd1627f87ae84259fd8d5a68f20ed1355db80d0defc0f3fb4a1d55180c20927fb024d9e1bbb30a78e528543e1004d4fac SHA512 c3eda33ee4c7a322c36f658c3cda16b97ff560aee28362db5c288d2f60d6562e739aa523f4db164984bf8c29777e49e124989715a09f189f8f978d188928fa95
|
||||
EBUILD libnl-9999.ebuild 2607 BLAKE2B db3ab25cbaecc60eef9c44e8a40b45765fe34659b223e735bee07a951b0b5bad0c102193dc6be532d1cbb5c12c4a5854d7f069199c770a1bad5a317e8cc6f2f7 SHA512 de20c14bb633d55ab4c4df02cf71126c0aff8eca1bb135f4d321d111b78003749ba3dd0dd8f4ef2533525b690d780936cebd1dab3deb66510ff8ffb4541ec846
|
||||
EBUILD libnl-3.8.0.ebuild 2763 BLAKE2B d6421cfd9df3cc01f83633bebdc447d2e68ee752de6e80dc553e090b740aeb51b9aa0c4d01bf4a2462f8228dba495f3b831edcb891b22da24783f3e096f793c2 SHA512 421684ab9a05b8d9acd86c57451fa679f89f145274931a0b29d44e735cf9a6e57e1936d0ba44f7173fb3bf951ce1a0568720d113504e4f34a090d58c95c6a491
|
||||
EBUILD libnl-9999.ebuild 2713 BLAKE2B 4dd197363e5b9904e8cc6dd2750659c007bd5b2388f8ca09d2617ece4630d2d1ecf94d1400f28b0006a9a80cb79689793d1a8fb3ee297913d3232e30a5aacd8b SHA512 b8771eb81cf727d516e5add7467ca70322f6a06ba8602d1894f89e4f013eba6e68d29d9f05a5b4324d9ab24b06af56a1bbedc3c373aafc932d9e0b997056cced
|
||||
MISC metadata.xml 525 BLAKE2B 62918f4b184a0636f9dbe24a31978ceccf354610b2b8d6db040440f5b519f5a7d710861b94671fd1c684da40e2a9df8563093509e7de9318c891e7c93567b7bf SHA512 076a06cff6803de3775cb295688cbe61831e79e3fa2d7a7e53b376a2c0a5137b349db153692b4cfa22ce6121d9e0579253dee06056076e9aec6f09aaf7a41387
|
||||
|
@ -0,0 +1,22 @@
|
||||
https://github.com/thom311/libnl/pull/360
|
||||
|
||||
From 32f84a052a4383299b9f30ad09d2a70c3b2cf2b3 Mon Sep 17 00:00:00 2001
|
||||
From: Sam James <sam@gentoo.org>
|
||||
Date: Thu, 31 Aug 2023 06:59:59 +0100
|
||||
Subject: [PATCH] Makefile.am: avoid use of non-portable echo arguments
|
||||
|
||||
This fixes tests with a non-bash shell as /bin/sh (in this case, dash) which
|
||||
does not support `echo -e`. echo itself is portable, but not echo with any arguments.
|
||||
|
||||
Use `printf` instead.
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -1129,7 +1129,7 @@ EXTRA_DIST += \
|
||||
|
||||
%.build-headers-test.c: %
|
||||
mkdir -p "$(dir $@)"
|
||||
- echo -e "#include <$$(echo "$<" | sed 's|.*\<include/netlink/|netlink/|')>\nint main(int argc, char **argv) { return 0; }" > $@
|
||||
+ printf "#include <$$(echo "$<" | sed 's|.*\<include/netlink/|netlink/|')>\nint main(int argc, char **argv) { return 0; }" > $@
|
||||
|
||||
%.build-headers-test.o: %.build-headers-test.c
|
||||
$(COMPILE) -Wall -Werror -Wno-error=cpp -I$(srcdir)/include -I$(builddir)/include -c -o $@ $<
|
@ -0,0 +1,21 @@
|
||||
https://github.com/thom311/libnl/commit/9aab12dff8e89b7da826c5c0826ef13c71963e28
|
||||
|
||||
From 9aab12dff8e89b7da826c5c0826ef13c71963e28 Mon Sep 17 00:00:00 2001
|
||||
From: David Ward <david.ward@ll.mit.edu>
|
||||
Date: Tue, 29 Aug 2023 20:54:19 -0400
|
||||
Subject: [PATCH] python: Use correct decorator syntax in HTBQdisc
|
||||
|
||||
Fixes: 87d370912ca8 ("netlink.nlattr re-implemented in more pythonic way")
|
||||
|
||||
https://github.com/thom311/libnl/pull/359
|
||||
--- a/python/netlink/route/qdisc/htb.py
|
||||
+++ b/python/netlink/route/qdisc/htb.py
|
||||
@@ -28,7 +28,7 @@ def default_class(self, value):
|
||||
capi.rtnl_htb_set_defcls(self._qdisc._rtnl_qdisc, int(value))
|
||||
|
||||
@property
|
||||
- @netlink.nlattr("r2q", type=int)
|
||||
+ @netlink.nlattr(type=int)
|
||||
def r2q(self):
|
||||
return capi.rtnl_htb_get_rate2quantum(self._qdisc._rtnl_qdisc)
|
||||
|
@ -0,0 +1,120 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_OPTIONAL=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
inherit autotools distutils-r1 multilib-minimal
|
||||
|
||||
LIBNL_P=${P/_/-}
|
||||
LIBNL_DIR=${PV/_/}
|
||||
LIBNL_DIR=${LIBNL_DIR//./_}
|
||||
|
||||
DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel interfaces"
|
||||
HOMEPAGE="https://www.infradead.org/~tgr/libnl/ https://github.com/thom311/libnl"
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/thom311/libnl"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
S="${WORKDIR}/${LIBNL_P}"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1 utils? ( GPL-2 )"
|
||||
SLOT="3"
|
||||
IUSE="+debug python test utils"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="python? ( ${PYTHON_DEPS} )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
python? (
|
||||
${DISTUTILS_DEPS}
|
||||
dev-lang/swig
|
||||
)
|
||||
test? ( dev-libs/check )
|
||||
"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
# We do not install CLI stuff for non-native
|
||||
/usr/include/libnl3/netlink/cli/addr.h
|
||||
/usr/include/libnl3/netlink/cli/class.h
|
||||
/usr/include/libnl3/netlink/cli/cls.h
|
||||
/usr/include/libnl3/netlink/cli/ct.h
|
||||
/usr/include/libnl3/netlink/cli/exp.h
|
||||
/usr/include/libnl3/netlink/cli/link.h
|
||||
/usr/include/libnl3/netlink/cli/mdb.h
|
||||
/usr/include/libnl3/netlink/cli/neigh.h
|
||||
/usr/include/libnl3/netlink/cli/qdisc.h
|
||||
/usr/include/libnl3/netlink/cli/route.h
|
||||
/usr/include/libnl3/netlink/cli/rule.h
|
||||
/usr/include/libnl3/netlink/cli/tc.h
|
||||
/usr/include/libnl3/netlink/cli/utils.h
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-python-decorator-syntax.patch
|
||||
"${FILESDIR}"/${PN}-3.8.0-printf-non-bash.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
|
||||
if use python; then
|
||||
pushd "${S}"/python > /dev/null || die
|
||||
distutils-r1_src_prepare
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# bug #884277
|
||||
export YACC=yacc.bison
|
||||
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
$(multilib_native_use_enable utils cli) \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
default
|
||||
|
||||
if multilib_is_native_abi && use python ; then
|
||||
pushd python > /dev/null || die
|
||||
distutils-r1_src_compile
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
default
|
||||
|
||||
if multilib_is_native_abi && use python ; then
|
||||
# Unset DOCS= since distutils-r1.eclass interferes
|
||||
local DOCS=()
|
||||
|
||||
pushd python > /dev/null || die
|
||||
|
||||
distutils-r1_src_install
|
||||
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
DOCS=( ChangeLog )
|
||||
|
||||
einstalldocs
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
@ -0,0 +1,99 @@
|
||||
Author: orbea <orbea@riseup.net>
|
||||
Date: Tue Aug 29 16:56:23 2023 -0700
|
||||
Subject: [PATCH] build: Add a minimal configures script
|
||||
|
||||
When building libvterm with slibtool using the rlibtool symlink the
|
||||
build will fail when the generated libtool is not found. This file is
|
||||
required with rlibtool so that the build can determine if the build
|
||||
should be shared, static or both.
|
||||
|
||||
This can be solved by adding a minimal configure script.
|
||||
|
||||
The build steps are now:
|
||||
|
||||
autoreconf -fi
|
||||
./configure
|
||||
make
|
||||
make install
|
||||
|
||||
Gentoo Bug: https://bugs.gentoo.org/779034
|
||||
|
||||
diff --git a/Makefile b/Makefile.in
|
||||
similarity index 88%
|
||||
rename from Makefile
|
||||
rename to Makefile.in
|
||||
--- a/Makefile
|
||||
+++ b/Makefile.in
|
||||
@@ -1,13 +1,13 @@
|
||||
-ifeq ($(shell uname),Darwin)
|
||||
- LIBTOOL ?= glibtool
|
||||
-else
|
||||
- LIBTOOL ?= libtool
|
||||
-endif
|
||||
+top_builddir = @top_builddir@
|
||||
+
|
||||
+LIBTOOL = @LIBTOOL@
|
||||
|
||||
ifneq ($(VERBOSE),1)
|
||||
LIBTOOL +=--quiet
|
||||
endif
|
||||
|
||||
+CC = @CC@
|
||||
+
|
||||
override CFLAGS +=-Wall -Iinclude -std=c99 -Wpedantic
|
||||
|
||||
ifeq ($(shell uname),SunOS)
|
||||
@@ -36,17 +36,21 @@ INCFILES=$(TBLFILES:.tbl=.inc)
|
||||
|
||||
HFILES_INT=$(sort $(wildcard src/*.h)) $(HFILES)
|
||||
|
||||
+VERSION_MAJOR=@VERSION_MAJOR@
|
||||
+VERSION_MINOR=@VERSION_MINOR@
|
||||
+
|
||||
VERSION_CURRENT=0
|
||||
VERSION_REVISION=0
|
||||
VERSION_AGE=0
|
||||
|
||||
-VERSION=0.3.2
|
||||
+VERSION=@PACKAGE_VERSION@
|
||||
|
||||
-PREFIX=/usr/local
|
||||
-BINDIR=$(PREFIX)/bin
|
||||
-LIBDIR=$(PREFIX)/lib
|
||||
-INCDIR=$(PREFIX)/include
|
||||
-MANDIR=$(PREFIX)/share/man
|
||||
+prefix=@prefix@
|
||||
+exec_prefix=@exec_prefix@
|
||||
+BINDIR=@bindir@
|
||||
+LIBDIR=@libdir@
|
||||
+INCDIR=@includedir@
|
||||
+MANDIR=@mandir@
|
||||
MAN3DIR=$(MANDIR)/man3
|
||||
|
||||
all: $(LIBRARY) $(BINFILES)
|
||||
@@ -70,7 +74,7 @@ src/encoding.lo: $(INCFILES)
|
||||
|
||||
bin/%: bin/%.c $(LIBRARY)
|
||||
@echo CC $<
|
||||
- @$(LIBTOOL) --mode=link --tag=CC $(CC) $(CFLAGS) -o $@ $< -lvterm $(LDFLAGS)
|
||||
+ @$(LIBTOOL) --mode=link --tag=CC $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
t/harness.lo: t/harness.c $(HFILES)
|
||||
@echo CC $<
|
||||
--- /dev/null
|
||||
+++ b/configure.ac
|
||||
@@ -0,0 +1,14 @@
|
||||
+m4_define([version_major], [0])
|
||||
+m4_define([version_minor], [3])
|
||||
+
|
||||
+AC_INIT([libvterm], [version_major.version_minor])
|
||||
+AC_CONFIG_FILES([Makefile])
|
||||
+
|
||||
+LT_INIT
|
||||
+
|
||||
+AC_SUBST([top_builddir], [$abs_builddir])
|
||||
+
|
||||
+AC_SUBST([VERSION_MAJOR], [version_major])
|
||||
+AC_SUBST([VERSION_MINOR], [version_minor])
|
||||
+
|
||||
+AC_OUTPUT
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="An abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator"
|
||||
HOMEPAGE="https://www.leonerd.org.uk/code/libvterm/"
|
||||
SRC_URI="https://www.leonerd.org.uk/code/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
|
||||
|
||||
BDEPEND="
|
||||
dev-lang/perl
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.3.2-slibtool.patch # 779034
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake VERBOSE=1
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake VERBOSE=1 test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake VERBOSE=1 DESTDIR="${D}" install
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die "Failed to prune libtool files"
|
||||
find "${ED}" -name '*.a' -delete || die
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST mathjax-2.7.7.tar.gz 25347766 BLAKE2B c1f11bc854c95888d7f04ee627094a2e297e7554b0380dab30c08e2c4405495df611b440da0efd1e6456150513e07fa4ef90808d2332f9fb83785c118228de18 SHA512 471bd22475827a13d79de7d335f3e51ace06dfc04f575e8829b4505f428949f1dbe58798635cb434ed02ae0cd3fd8d1d577196b4961365fbcb399cc075d3284f
|
||||
DIST mathjax-3.2.2.tar.gz 6191341 BLAKE2B 4884ad28ede1d3d6f6647e04c8a69185a53715db673d42935ea9ff3ea1756e0e478b1f19345a35902d2e5c01a312272a2fe96dd36871cd8c4f266bcf4fb56c72 SHA512 4dc80c9e24593c1fcf08f38bad5251025f1de364d5cf24dd2f4cee0d78917dd11187f6132b67a17ff190d0a1862b83eb6c6edf28f91e8e84e50cdf76537f6b20
|
||||
EBUILD mathjax-2.7.7.ebuild 1405 BLAKE2B b1b6a47d751d07cd35c8cc9386e3c67c78cf70ff8f7b8406aeb06a46359128d306e7f18ca08fa5ef24d96d767c7d44e60212a9ea2bf4f9c51d6eea2a760fbd6e SHA512 d8b70496fcf5a8ea511174c0b2a47411b263e8a0d4e95f796f73e3f839beb1ba1b10ebbf75a0677c28cb6c13ea60593db1f07f66f9fdc9da2910420c486ab1da
|
||||
EBUILD mathjax-3.2.2.ebuild 1149 BLAKE2B 5f83066fdedf89af0686903d7374278862c161068c420fc6936014b2c86b14711b014f490cd9009e04409a81b1e71d36a33739030531881c11a724d532f4194b SHA512 1a90ef2815fe45055c5d1f414225b6d29bf1e4de7bf1f9546b8be79f94ddef91d47819eab36e8c115b1fad7cab3cfa6c8b41225b5732ec2a7d53c986c6ea0bc9
|
||||
EBUILD mathjax-3.2.2-r1.ebuild 1279 BLAKE2B e4990047a0dec7e5241f68173247f6d024502e9fbcdb69709bf120820310c03083ed88846cabf96700b953376048a10eb80d381d330f3e1070081e208b39f823 SHA512 f403d8fddf5bb8f353b91c4e0501356001c5163d8186a0861374cfc39ccfaafb9c17c72583a6132e8256720b802cd07d5f4c12e98b1277bc081b3bdab157dced
|
||||
MISC metadata.xml 1058 BLAKE2B 7b981b7e57c1645c403c1867defd7369db9ef81d92b0d6f5ad73d9e253e7158650af232a1d5f77ed26a573afeeb63156a06a87c9bbf9de8600e7602dce64b1a5 SHA512 28a6124db7d3aa2f7da5c39f6eaf57cc84385ab13d88fa54129acc6fa1eef99bd2ec30240c980182355778944f7e9d694ee5497a19101919d58004a056290261
|
||||
|
Binary file not shown.
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DIST_AUTHOR=NLNETLABS
|
||||
DIST_VERSION=1.40
|
||||
DIST_EXAMPLES=( "contrib" "demo" )
|
||||
inherit toolchain-funcs perl-module
|
||||
|
||||
DESCRIPTION="Perl Interface to the Domain Name System"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="minimal"
|
||||
|
||||
PDEPEND="
|
||||
!minimal? ( >=dev-perl/Net-DNS-SEC-1.30.0 )
|
||||
"
|
||||
RDEPEND="
|
||||
>=virtual/perl-Carp-1.100.0
|
||||
>=dev-perl/Digest-HMAC-1.30.0
|
||||
>=virtual/perl-Digest-MD5-2.130.0
|
||||
>=virtual/perl-Digest-SHA-5.230.0
|
||||
>=virtual/perl-Encode-2.260.0
|
||||
>=virtual/perl-Exporter-5.630.0
|
||||
>=virtual/perl-File-Spec-3.290.0
|
||||
>=virtual/perl-MIME-Base64-2.130.0
|
||||
>=virtual/perl-Scalar-List-Utils-1.190.0
|
||||
>=virtual/perl-Time-Local-1.190.0
|
||||
>=virtual/perl-IO-Socket-IP-0.380.0
|
||||
>=virtual/perl-IO-1.140.0
|
||||
!minimal? (
|
||||
>=dev-perl/Digest-BubbleBabble-0.20.0
|
||||
>=dev-perl/Net-LibIDN2-1.0.0
|
||||
)
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.480.0
|
||||
>=virtual/perl-Getopt-Long-2.430.0
|
||||
test? (
|
||||
>=virtual/perl-Test-Simple-0.520.0
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
perl-module_src_prepare
|
||||
mydoc="TODO"
|
||||
# --IPv6-tests requires that you have external IPv6 connectivity
|
||||
# as it connects to 2001:7b8:206:1:0:1234:be21:e31e
|
||||
if ! use test || ! has network ${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}; then
|
||||
myconf="${myconf} --no-online-tests --no-IPv6-tests"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake FULL_AR="$(tc-getAR)" OTHERLDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
perl_rm_files t/00-pod.t
|
||||
if ! has network ${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}; then
|
||||
elog "Network tests disabled without to DIST_TEST_OVERIDE=~network"
|
||||
fi
|
||||
perl-module_src_test
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST XML-SAX-Expat-0.51.tar.gz 7134 BLAKE2B bc1f7a9bf5e5edeb4f8102569b6c4edad38666af5d2466f53c4b874366443ebe8b24c36b2431fd77119c6f9e32f40fae611df2c45b0df0ae51d022edc51d49c4 SHA512 9cd3c7a1cdf0b0a49ea9f871095984fb67ff54c9e5ed49884c591a450c2662acbd6d0f5232a5720663bcab09ff4f41093d414daa0b72457dc98eea5001270478
|
||||
EBUILD XML-SAX-Expat-0.510.0-r3.ebuild 1431 BLAKE2B edcd5706ef04ff00d49aa93f1be918c396f4b6845b3ab843bafb12b900c1dc3027d64ac6049d29f8d0d1abf1016f52db9ec01858c9c2959105abe1152025cc6c SHA512 08d42717f93b52e2fec3ad3e21e81f71d71a442d9c4f64b84122c36e795674c83c20a2a5558512b557418663ff32d57826d57dc694c635e7c7545969589b3e2b
|
||||
EBUILD XML-SAX-Expat-0.510.0-r3.ebuild 1431 BLAKE2B 1415d68052e1a052888cd47ad38370090c6405e02fa3b0c6ed3bb8eded7248ff24dd2a40b2ddf91c7d70638cd02c11616075aafe7361f953f0d07d078e117ca5 SHA512 cd2fcb6e4db5ceff2157237638f60cf725094f1e016fc71abbd2e86829e3397a155819024c08698a615f5c65b16b5fa10e3422e096a1ba94d3045ab1b0091c31
|
||||
MISC metadata.xml 400 BLAKE2B f08ea44bcd2a8f0145ddd3d95c5c603820d52a64d17869e1b438a6ff813c01a62063dd40c8db281e787e5b7566ebb91805edfdbb95bba85e6a4bb32c5c602e6a SHA512 1440c451231b3090dbe96135059a9ee92a7f16a4da67d52000ee63a066efeec6d04364a4bb74bee7cbc03b77bf3d9a0eef39c085ecbdfb1bb3f25c5a5abddd90
|
||||
|
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST imagick-3.7.0.tgz 360138 BLAKE2B 2c149f2ec771df92789d67e88c6f7180d3da7c9182561432bdd4e0a83f96982cc8fc95bc1a003e05e37a54fabe6ab0fe693a6b9208d2e481d36e6c334aeee023 SHA512 c84408e4e4a0c46d979240e06d58d264c6bb21f3b95e3d434c8a21cd808f6c495fd453ef9c07b5c44dac81c6f205b6697f8ecaf1a65a86ce4e9052328a389ebe
|
||||
EBUILD pecl-imagick-3.7.0-r1.ebuild 868 BLAKE2B cad4287946468965269a31eaed47485fccb70f05c9f3e1e72dd0a1430082fc5d872293a0f1b5602fe98277c8b2d7c58f5836b69ff5008680cd294ca54587d0b8 SHA512 230fadfea137a7a2bb30207dc26ae5a3dfc308f946a7c604472dec0d150eb5fbfb33e1229f72db9ac332ffcc6449189d7759d0a20c7b804b5dc0cf5bad932c0d
|
||||
MISC metadata.xml 359 BLAKE2B d4097f49cede8e9756516f72966ca0eb1a3dae8655db21065fe2196442aa0e23b63f070b8510f031ce189620efc8b293de00266e14c120d3efe84312da737019 SHA512 c5eeeb6eb11fce27a705cd4d75719af7557a5c11cf391f7191dc482b8518a19211e114dfd82cf897a7891affbd6ff6ab4aebd00fe78e79a7d53305517664face
|
||||
EBUILD pecl-imagick-3.7.0-r2.ebuild 921 BLAKE2B 0a3a4372343e20f7a8ea1fc02fecc0f1c8d4b7a97ee64cfcda976a57cb3dae5f6a25a0a1734888b469e0ea6e5c5683201efe3fadf4ba6e8a418ce85855af9e7b SHA512 85dac684dab0452f92eab3b756cd925402187ccfda944cd0d6ead557c8a7cc4e85ca72f1f862ccf7194e7f1c8c6e979013eb88e413c32c253cb4b89b20830a19
|
||||
MISC metadata.xml 443 BLAKE2B 208b9e5262b94da1cc49b6f4666e62b6d856c10643c8dc6c1572ee641fd671a2338ceec56ca88f4c56247cd06f7d4288684ab721547d86eb3bc84bd694c5f9ef SHA512 b8d47d2293ef17d2aaaf23cb78a58df295020fd854131e53b55feb727c850bea669ed1bd24cab97c02264028b8bcd335e928b1d86702e06245c72370ccf0507c
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PHP_EXT_NAME="imagick"
|
||||
USE_PHP="php8-0 php8-1 php8-2"
|
||||
|
||||
# https://github.com/Imagick/imagick/issues/626
|
||||
PHP_EXT_NEEDED_USE="-debug"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
DESCRIPTION="PHP wrapper for the ImageMagick library"
|
||||
HOMEPAGE="https://pecl.php.net/package/imagick https://github.com/Imagick/imagick"
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
IUSE="examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# imagemagick[-openmp] is needed wrt bug 547922 and upstream
|
||||
# https://github.com/Imagick/imagick#openmp
|
||||
RDEPEND="media-gfx/imagemagick:=[-openmp]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( media-gfx/imagemagick:=[hdri,jpeg,png,svg,truetype,xml] )"
|
||||
|
||||
PHP_EXT_ECONF_ARGS="--with-imagick=${EPREFIX}/usr"
|
||||
|
||||
src_install() {
|
||||
php-ext-pecl-r3_src_install
|
||||
php-ext-source-r3_addtoinifiles "imagick.skip_version_check" "1"
|
||||
}
|
Binary file not shown.
@ -1,4 +1,6 @@
|
||||
DIST QtPy-2.3.1.tar.gz 56260 BLAKE2B 1b8d76879cc1f07b3633e6b25887ac4621ee3a8e9ebbcaa1f1f8c4f3fbcdae37bd5d659717bf89227d4ed6b5126554b329813aaee0b6be333c0cdc931cfb8d43 SHA512 9c738ec07e18852b67c30962fbc0ca48479eccff2a9f2ee9f4817c4ead5a8068d54aced58d632977163f180a584a9b7b2b68ea25e0577b92a262fef8eb576041
|
||||
DIST QtPy-2.4.0.tar.gz 65007 BLAKE2B d2770608d807959aaa8b0201304be1f3f112f039f8febddf62bc7cd09a04ed53dd7fd89ee782fd3bd11c5f84c8d2a8c529242c2df01d34c27d87ac1f8873017f SHA512 54be0c9b15055f9c078ff8eebd88910d718833f3d9572567076b1fc0c22d3d5c12dc2a2d7fbedb9bc8636d575775e83cb08a554a0ee45a859297501a5711b716
|
||||
EBUILD QtPy-2.3.1-r1.ebuild 8601 BLAKE2B 4b6aad6be0986c0a63dadae349c511fd26061b2ff6a78b89de04951fff9d64c03c8ef6d8b9dbcb3a5654ca37b68f045a4af268a1abf7d4203e7a89b80e608e31 SHA512 d37012e3485b78db68ab4005223268872b1ec553c77d7b40d4fb19ee97331ced84e52fa97cf7d37ffcda5301cab991cb099a1efb1ebd53c7cf12815c8dd0ae5e
|
||||
EBUILD QtPy-2.3.1.ebuild 8326 BLAKE2B 08fe67f11f10cf1f41dbbf3eb48cecf4ec0b93efde7f39d7d04d4ccad527b2e906348bcd4861ac94a5e2e24cf0635fbe8e0f168eb1572a735b95877bb51cc372 SHA512 81d4aa3e55aede8a48733ada73bd754b78cf6058ec629c3965a81dc7cffafacf75f1155e951b240b38cebe8c562cf40ca2626ba794a70dbc538d3c25b4e32034
|
||||
EBUILD QtPy-2.4.0.ebuild 8656 BLAKE2B ca1fc1f777312ccb91b98754f3ffa86ef9134964a08e68e86f0e0b99a0998aa4951d839c18249e09db3722b0a736f654420a5969a033f99151ff61ba82bb5f43 SHA512 935a9b15b7ba4ccabf371cd3d03a69cbc932f36ebd6d44ec89ab9034abd1b2dabccc50ac70f48fb08db663ae1a4931d850fc1a7632f7d5802d2e7203522b18f2
|
||||
MISC metadata.xml 2716 BLAKE2B 7c62f7b181608c56a8e9be69c05e2cb34e5f450682ea4e7ca6c4bff5f02cf4ff803d44dda356d2be3968464842d421b5ac7320fc4d08a430e7805f6e400a262f SHA512 62509ecf92f89453fea52a8c23accff778a5572b689428838d801470ab30f2e2cb85f9319a75afeb81c284d68fb2abe399714bb1410daa8ec896af1f17763347
|
||||
|
@ -0,0 +1,219 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 virtualx pypi
|
||||
|
||||
DESCRIPTION="Abstraction layer on top of PyQt and PySide with additional custom QWidgets"
|
||||
HOMEPAGE="
|
||||
https://github.com/spyder-ide/qtpy/
|
||||
https://pypi.org/project/QtPy/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
_IUSE_QT_MODULES="
|
||||
designer +gui help multimedia +network opengl positioning
|
||||
printsupport qml quick serialport +sql svg testlib
|
||||
webchannel webengine websockets +widgets +xml
|
||||
"
|
||||
IUSE="+pyqt5 pyqt6 pyside2 pyside6 ${_IUSE_QT_MODULES}"
|
||||
unset _IUSE_QT_MODULES
|
||||
|
||||
REQUIRED_USE="
|
||||
|| ( pyqt5 pyqt6 pyside2 pyside6 )
|
||||
python_targets_python3_12? ( !pyside2 !pyside6 )
|
||||
"
|
||||
|
||||
# These flags are currently *not* common to the PySide2/6 and PyQt5/6 ebuilds
|
||||
# Disable them for now, please check periodically if this is still up to date.
|
||||
# bluetooth? ( pyqt5 only )
|
||||
# dbus? ( pyqt5 only )
|
||||
#
|
||||
# 3d? ( pyside2 only )
|
||||
# charts? ( pyside2 only )
|
||||
# concurrent? ( pyside2 only )
|
||||
# datavis? ( pyside2 only )
|
||||
# scxml? ( pyside2 only )
|
||||
# script? ( pyside2 only )
|
||||
# scripttools? ( pyside2 only )
|
||||
#
|
||||
# location? ( pyside2 and pyqt5 only )
|
||||
# sensors? ( pyside2 and pyqt5 only )
|
||||
# speech? ( pyside2 and pyqt5 only )
|
||||
# x11extras? ( pyside2 and pyqt5 only )
|
||||
# xmlpatterns? ( pyside2 and pyqt5 only )
|
||||
|
||||
# WARNING: the obvious solution of using || for PyQt5/pyside2 is not going
|
||||
# to work. The package only checks whether PyQt5/pyside2 is installed, it does
|
||||
# not verify whether they have the necessary modules (i.e. satisfy the USE dep).
|
||||
#
|
||||
# Webengine is a special case, because PyQt5 provides this in a separate package
|
||||
# while PySide2 ships it in the same package.
|
||||
#
|
||||
# declarative/qml/quick is a special case, because PyQt5 bundles the bindings
|
||||
# for qml and quick in one flag: declarative PySide2 does not.
|
||||
#
|
||||
# The PyQt5 ebuild currently enables xml support unconditionally, the flag is
|
||||
# added anyway with a (+) to make it future proof if the ebuild were to change
|
||||
# this behaviour in the future.
|
||||
#
|
||||
# The PySide2 ebuild currently enables opengl and serialport support
|
||||
# unconditionally, the flag is added anyway with a (+) to make it future proof
|
||||
# if the ebuild were to change this behaviour in the future.
|
||||
RDEPEND="
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
pyqt5? (
|
||||
dev-python/PyQt5[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt5[designer?,gui?,help?,multimedia?,network?,opengl?]
|
||||
dev-python/PyQt5[positioning?,printsupport?,serialport?,sql?,svg?]
|
||||
dev-python/PyQt5[testlib?,webchannel?,websockets?,widgets?,xml(+)?]
|
||||
qml? ( dev-python/PyQt5[declarative] )
|
||||
quick? ( dev-python/PyQt5[declarative] )
|
||||
webengine? ( dev-python/PyQtWebEngine[${PYTHON_USEDEP}] )
|
||||
)
|
||||
pyqt6? (
|
||||
dev-python/PyQt6[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt6[designer?,gui?,help?,multimedia?,network?,opengl?]
|
||||
dev-python/PyQt6[positioning?,printsupport?,qml?,quick?,serialport?,sql?]
|
||||
dev-python/PyQt6[svg?,testlib?,webchannel?,websockets?,widgets?,xml?]
|
||||
webengine? ( dev-python/PyQt6-WebEngine[${PYTHON_USEDEP},widgets?,quick?] )
|
||||
|
||||
)
|
||||
pyside2? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pyside2[${PYTHON_USEDEP}]
|
||||
dev-python/pyside2[designer?,gui?,help?,multimedia?,network?,opengl(+)?]
|
||||
dev-python/pyside2[positioning?,printsupport?,qml?,quick?,serialport(+)?]
|
||||
dev-python/pyside2[sql?,svg?,testlib?,webchannel?,webengine?,websockets?]
|
||||
dev-python/pyside2[widgets?,xml?]
|
||||
' python3_{10..11})
|
||||
)
|
||||
pyside6? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pyside6[${PYTHON_USEDEP}]
|
||||
dev-python/pyside6[designer?,gui?,help?,multimedia?,network?,opengl?]
|
||||
dev-python/pyside6[positioning?,printsupport?,qml?,quick?,serialport?]
|
||||
dev-python/pyside6[sql?,svg?,testlib?,webchannel?,webengine?,websockets?]
|
||||
dev-python/pyside6[widgets?,xml?]
|
||||
' python3_{10..11})
|
||||
)
|
||||
"
|
||||
|
||||
# The QtPy testsuite skips tests for bindings that are not installed, so here we
|
||||
# ensure that everything is available and all tests are run. Note that not
|
||||
# all flags are available in PyQt5/PySide2, so some tests are still skipped.
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-qt[${PYTHON_USEDEP}]
|
||||
pyqt5? (
|
||||
dev-python/PyQt5[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt5[bluetooth,dbus,declarative,designer,gui,help,location]
|
||||
dev-python/PyQt5[multimedia,network,opengl,positioning,printsupport]
|
||||
dev-python/PyQt5[sensors,serialport,speech(-),sql,svg,testlib,webchannel]
|
||||
dev-python/PyQt5[websockets,widgets,x11extras,xml(+),xmlpatterns]
|
||||
dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
|
||||
)
|
||||
pyqt6? (
|
||||
dev-python/PyQt6[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt6[dbus,designer,gui,help,multimedia,network,opengl]
|
||||
dev-python/PyQt6[positioning,printsupport,qml,quick,quick3d,serialport]
|
||||
dev-python/PyQt6[sql,ssl,svg,testlib,webchannel,websockets,widgets,xml]
|
||||
dev-python/PyQt6-WebEngine[${PYTHON_USEDEP},widgets,quick]
|
||||
)
|
||||
pyside2? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pyside2[${PYTHON_USEDEP}]
|
||||
dev-python/pyside2[3d,charts,concurrent,datavis,designer,gui,help]
|
||||
dev-python/pyside2[location,multimedia,network,opengl(+),positioning]
|
||||
dev-python/pyside2[printsupport,qml,quick,script,scripttools,scxml]
|
||||
dev-python/pyside2[sensors,serialport(+),speech,sql,svg,testlib]
|
||||
dev-python/pyside2[webchannel,webengine,websockets,widgets,x11extras]
|
||||
dev-python/pyside2[xml,xmlpatterns]
|
||||
' python3_{10..11})
|
||||
)
|
||||
pyside6? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pyside6[${PYTHON_USEDEP}]
|
||||
dev-python/pyside6[concurrent,dbus,designer,gui,help,multimedia]
|
||||
dev-python/pyside6[network,opengl,positioning,printsupport,qml]
|
||||
dev-python/pyside6[quick,quick3d,serialport,sql,svg,testlib]
|
||||
dev-python/pyside6[webchannel,webengine,websockets,widgets,xml]
|
||||
' python3_{10..11})
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
sed -i -e 's:--cov=qtpy --cov-report=term-missing::' pytest.ini || die
|
||||
# Disable Qt for Python implementations that are not selected
|
||||
if ! use pyqt5; then
|
||||
sed -i -e '/from PyQt5.QtCore import/,/)/c\ \ \ \ \ \ \ \ raise ImportError #/' qtpy/__init__.py || die
|
||||
fi
|
||||
if ! use pyqt6; then
|
||||
sed -i -e '/from PyQt6.QtCore import/,/)/c\ \ \ \ \ \ \ \ raise ImportError #/' qtpy/__init__.py || die
|
||||
fi
|
||||
if ! use pyside2; then
|
||||
sed -i -e "s/from PySide2 import/raise ImportError #/" qtpy/__init__.py || die
|
||||
sed -i -e "s/from PySide2.QtCore import/raise ImportError #/" qtpy/__init__.py || die
|
||||
fi
|
||||
if ! use pyside6; then
|
||||
sed -i -e "s/from PySide6 import/raise ImportError #/" qtpy/__init__.py || die
|
||||
sed -i -e "s/from PySide6.QtCore import/raise ImportError #/" qtpy/__init__.py || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Test for each enabled Qt4Python target.
|
||||
# Deselect the other targets, their test fails if we specify QT_API
|
||||
# or if we have disabled their corresponding inherit in __init__.py above
|
||||
if use pyqt5; then
|
||||
einfo "Testing with ${EPYTHON} and QT_API=PyQt5"
|
||||
QT_API="pyqt5" virtx epytest \
|
||||
--deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide2] \
|
||||
--deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt6] \
|
||||
--deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide6]
|
||||
fi
|
||||
if use pyqt6; then
|
||||
einfo "Testing with ${EPYTHON} and QT_API=PyQt6"
|
||||
QT_API="pyqt6" virtx epytest \
|
||||
--deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide2] \
|
||||
--deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt5] \
|
||||
--deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide6] \
|
||||
--deselect qtpy/tests/test_qtsensors.py::test_qtsensors
|
||||
# Qt6Sensors not yet packaged and enabled in PyQt6 ebuild
|
||||
fi
|
||||
if use pyside2; then
|
||||
einfo "Testing with ${EPYTHON} and QT_API=PySide2"
|
||||
QT_API="pyside2" virtx epytest \
|
||||
--deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt5] \
|
||||
--deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt6] \
|
||||
--deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide6]
|
||||
fi
|
||||
if use pyside6; then
|
||||
einfo "Testing with ${EPYTHON} and QT_API=PySide6"
|
||||
QT_API="pyside6" virtx epytest \
|
||||
--deselect qtpy/tests/test_main.py::test_qt_api_environ[PySide2] \
|
||||
--deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt5] \
|
||||
--deselect qtpy/tests/test_main.py::test_qt_api_environ[PyQt6] \
|
||||
--deselect qtpy/tests/test_qtsensors.py::test_qtsensors
|
||||
# Qt6Sensors not yet packaged and enabled in PySide6 ebuild
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "When multiple Qt4Python targets are enabled QtPy will default to"
|
||||
elog "the first enabled target in this order: PyQt5 PySide2 PyQt6 PySide6."
|
||||
elog "This can be overridden with the QT_API environment variable."
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue