parent
ed371754e9
commit
8c8781e6f3
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29618 BLAKE2B aac51ee11339364d0878add0f95c394b59d973588617a53bc017f1f68f7de2fc40dba3fa5f5589af4f6f09f71cc0dea589ea5da24ac85783152a56a104dfaa82 SHA512 f4faad9fa3a38fe789759accfb327bad90858ce09218c31443bbf043ec5fbe7d3b698a60078ec82bf8f31bfae3ba7076c19dd8c033beabf4fcfbf28be49f2491
|
||||
TIMESTAMP 2022-06-17T15:09:53Z
|
||||
MANIFEST Manifest.files.gz 29604 BLAKE2B 440e6a5105d5ddf3da351374c5763575a197c3dde0bc78579bb971e1beeb7941c529ec2cf4982ccd420617b4623632f9e1b31fba0ca34c2d175b90a2c3bd8a4d SHA512 3d04117283e2b7df2eb2d18bf5658c5b34c8ca6b79bb91d20ce801a387fe673eca18f1f2e938174811d1cca97ebe85e9645f068ee2cdda5cabc67d474dff8be5
|
||||
TIMESTAMP 2022-06-18T08:09:56Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmKsmUFfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmKtiFRfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klB5/g//fgbrJzIkeCx85mP7AumBkrSPsLocreT9oob51y4D2SfiDjAJg1xNgCYW
|
||||
p4VoPub4xSS30z3boVI/rpUYj5xgCxqFRK/yMYT0kyfPZrJ5soketw3NV4Qvb9JS
|
||||
e18ZVjsVglL+MyZ26LAvXKWayvQweniHGiYRp5OHwA13fZKjRFtROGeL2TxjAqrz
|
||||
hsLyH+jqwuG4lhHZG9nghUW69fFsx0D5IyV1PicZfZg2Gv26Vccdcs4s1WyH3gCl
|
||||
J3jhd1uLlviSc9t+9pEJSQksQacoqL6vSYUl0Ygh20/6zpMNSXGfLNZsQUXOaSL0
|
||||
3AY1bwlphQ6eMPKN2Yv3awOOscmqitQuvQDZ4L+5zIZrXHPAxlTCWOzmkXRiNPBY
|
||||
8H4W/NwOCQ68sIdO++XsYrkTQe1hhpeBpZU5QyJunxRiuWDx4ykVDK8yQAjW5Ozf
|
||||
4mruxTv+vC5C+HuuLZM7BBJbrv+XHUTeYFXo2IIV36yhT0UVtJaDlyTro7B7pJPk
|
||||
Dy4UfomzDBPjURH1En17/hmzleC8Ytvi/NoqML+YXiD3A/ZyESRYOKii97aJA9Em
|
||||
y1qbjq0jLmb00FRdnKHmm6N56rBRWjFwt71LGgXsAw3vKcXdVA5d0l4EYE/stt+e
|
||||
ksPd3cWdKt/6eKQgZxrCghfdArksyQFhtSwa1HsPiXvqPqRbL0E=
|
||||
=hWul
|
||||
klB55w//b+HHsy24gniOu/acfiXbDrw+Q4C8AffL74LS05WuIhAST0fJwmKI334u
|
||||
3Nq3uwVMl2T3UqYeCyT0/tws8ZY/Jz2HcG46UmckY2+0QQ0olUtyu4GKp/M3mBRT
|
||||
AJ73l9sGnbHAvqk/ciFfuPbS5f9dksc4EJl7LMbxw3ei3/BF9ElWqorgnarvP4SC
|
||||
tbzAhtYmBFDXbH8dxMpHayKNIlL6P9phVkpjIvDVRFmnlkwPNzbEvPbbYk+eGpgi
|
||||
dTt1M3yBx+tAPe5T9ZZOuOb38BbxusQ5qJiLqtHHA8+lCk3CVP4Qozdw9dd2vgVR
|
||||
s/FFgx1jQlymIfnHilQs6r0fjYwhuGWgI7L8glIxg1NpujCHDTz0uBndzhVRwhuY
|
||||
KC8lVT6SPYiG6c2ixmGckuVDEg9XG92l7NiP61msWjfhfUg3YpViNWcvNvlBe2C5
|
||||
tBTRcHdyQhRlNj1b03a+RtVfiSfzz9WD9pngfrIgauqJhmRbfDF4frqnQJ/mMAPU
|
||||
RprJTSSeAiLRNSsD73UFAxagrMNVAl/Sx25msEtuHpCZNhQnyaiKx71bntDMYBFW
|
||||
Yvf+UOknfbUFv0iI91B1hrT8xSlUN7wTuhypsNMwSJOrI2Jm6l2esZFFdtZHSKMo
|
||||
5UaymTFNIxvF47hy65JPVg0MalYOcFsIp7ZvWBo4KyVM70oBS/M=
|
||||
=dES6
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST ansible-modules-hashivault-4.6.2.tar.gz 91244 BLAKE2B 475ecce4110d985876c556da7ec386b45feaa34e516ae9ac49b43b75f39a3ddb3c0969dc5c3dee4c31a9dea9c6f643c4bbfe9d6035d1c32f5d105c7c78bfd284 SHA512 4e4ff741c5652277f71cd211425404dad865838546d6c3dc4983333187201f9463ddaf819e5a675a962f5866fea4db3564c11dbe6a886739c2126a678607590f
|
||||
DIST ansible-modules-hashivault-4.6.8.tar.gz 94253 BLAKE2B 2b6a315cfd051a2e16d889a8784a9185b86b98b3d96ba19f6bdde8b628ce94622c360b60cb59dfcae790fc822f2c41eacd5428356b48324aa2704f0048821c2d SHA512 4b3487e553e6dea5fbefbb383ce22d018ed9f83378d601574badfb2be8dd3f98c54caf975690d3116df6cca970d8e2d3932f0d0ccb1f18f7145aee0beae79f96
|
||||
EBUILD ansible-modules-hashivault-4.6.2.ebuild 739 BLAKE2B 6492db4664cd7ac131677c6bc485171b80709c438b5e36ea052a4b2cb08a324886dc897a86b6bd1f9eec26e32fb76c22fa9fb749ab814818167efa220f18234c SHA512 5680538c0b027dbfcedb2abc904a2b28a9fe91e794d87c03be956015bf312dc2016dcd85b63928b36bfe1bcaa4bf21e13af07aed052291012292fe98c3208c1c
|
||||
EBUILD ansible-modules-hashivault-4.6.8.ebuild 735 BLAKE2B 84109bb4508bd57102ad3deea7d3760b95145203a6fdb4603a95d8bb9721208470da70818416be50ba54c0707dfb6ac513e56dab5673e701ee61f5965a0a10dd SHA512 d62adc4e2c622ca5361401b4581dc5311d2f6fa4d7c4180c8617a5cc1f9a0298d0019c730bf4de8cb011c93cedf1208c884ce2b1059d97a27403ec13f4b148a5
|
||||
MISC metadata.xml 383 BLAKE2B 8426960abdbe1ec192a1a1c4bbe86346d0ae065f94f91ddc162724dce38af189291a5328c27ed82df5d302360c1f78790d1f462fa0aaf3c8718b0f1890378079 SHA512 cbe132f731b3562d68c21fdcd6b57f4c4482aaef083829a0420f69cfc3c8a71fdf566e2927db9f87d9d93c3953df4288556160708a449db4812150d69937614c
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Ansible module for hashicorp vault"
|
||||
HOMEPAGE="https://www.ansible.com/"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/TerryHowe/ansible-modules-hashivault.git"
|
||||
else
|
||||
SRC_URI="https://github.com/TerryHowe/ansible-modules-hashivault/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
>=app-admin/ansible-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/hvac-0.9.5[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
# The tests require a private instance of vault
|
||||
RESTRICT="test"
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
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 ~arm64 ~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}]
|
||||
"
|
||||
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() {
|
||||
# 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.
@ -0,0 +1,89 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools qmake-utils
|
||||
|
||||
DESCRIPTION="Simple passphrase entry dialogs which utilize the Assuan protocol"
|
||||
HOMEPAGE="https://gnupg.org/aegypten2"
|
||||
SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="caps efl emacs gnome-keyring gtk ncurses qt5"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/libassuan-2.1
|
||||
>=dev-libs/libgcrypt-1.6.3
|
||||
>=dev-libs/libgpg-error-1.17
|
||||
caps? ( sys-libs/libcap )
|
||||
efl? ( dev-libs/efl[X] )
|
||||
gnome-keyring? ( app-crypt/libsecret )
|
||||
ncurses? ( sys-libs/ncurses:0= )
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
gtk? ( app-crypt/gcr[gtk] )
|
||||
"
|
||||
BDEPEND="
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
IDEPEND=">=app-eselect/eselect-pinentry-0.7.2"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.0.0-make-icon-work-under-Plasma-Wayland.patch"
|
||||
"${FILESDIR}/${PN}-0.8.2-ncurses.patch"
|
||||
"${FILESDIR}/${PN}-1.0.0-AR.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
unset FLTK_CONFIG
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export QTLIB="$(qt5_get_libdir)"
|
||||
|
||||
econf \
|
||||
$(use_enable efl pinentry-efl) \
|
||||
$(use_enable emacs pinentry-emacs) \
|
||||
$(use_enable gnome-keyring libsecret) \
|
||||
$(use_enable gtk pinentry-gnome3) \
|
||||
$(use_enable ncurses fallback-curses) \
|
||||
$(use_enable ncurses pinentry-curses) \
|
||||
$(use_enable qt5 pinentry-qt) \
|
||||
$(use_with caps libcap) \
|
||||
--enable-pinentry-tty \
|
||||
--disable-pinentry-fltk \
|
||||
--disable-pinentry-gtk2 \
|
||||
MOC="$(qt5_get_bindir)"/moc \
|
||||
GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config" \
|
||||
LIBASSUAN_CONFIG="${ESYSROOT}/usr/bin/libassuan-config" \
|
||||
$("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g')
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
rm "${ED}"/usr/bin/pinentry || die
|
||||
|
||||
use qt5 && dosym pinentry-qt /usr/bin/pinentry-qt5
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect pinentry update ifunset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect pinentry update ifunset
|
||||
}
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST install-crossover-21.1.0.bin 314014189 BLAKE2B f214d8b76a8809e396509013adb7ccfd5301ce35e8fda802d3601b3c88d1273eaa00f0457fb69897c4cac58f0a779ff18d5eef1708e5315d1173ecbf5967bb70 SHA512 271e67988e2fa4c1b3277e9b089a9ee11b52931fda597d6bf9975fe38b031e526dd6bac4c7a31ca530487380895ec8e94b4439ad7bd85098c87f35f8530c28f3
|
||||
DIST install-crossover-21.2.0.bin 313966852 BLAKE2B 746b16a1e093adf344fa827e5c6b9a439e690003bf3eb30b32b9a30017f1697c21bc5c9e196736cc25e24daeed3ee3a809b20d44e0005bfd45ab542ede6c2d44 SHA512 a8ba1396e05119122dc0d813bc408fc0a2a3adc5c805ce15aea8e98a6a27d980eabafaf7a727f4cf1c30d68e456e8d82b83438e404cbf41db05d569f8832a9ec
|
||||
EBUILD crossover-bin-21.1.0-r1.ebuild 7609 BLAKE2B 8c8aa58c935144bb0add7d81b2dddf93b2e7fdbffeea3d5502f8e589253e6563fe43986d2b995d1a57f0b669f667772528f391d5b59383183848e37fa7e22f61 SHA512 647969f8593e8ab25c162ed3711f00b0ebdd4567b4fcc63a3a052b9e6d099ad95ef1bd18881fcb73737e3595e2b06e235468ec096aefeb3d67bba13dd2545497
|
||||
EBUILD crossover-bin-21.2.0.ebuild 7543 BLAKE2B bfe77ace4249c227e8b1e33d90401e47dd139c5324273107dc9628c041aac1ffbdcab2f45cd4aacdd44b38dd5b062cad6fec31729a6485f7b0eac0c786bffebb SHA512 5d1da872a3d2cd7033749ebdd69777a110144e2864622e4a364e00e333cb3823dc5318bdec2bab96732fa0f81e82c480ca7bec4ef2570d2f808131a8b2bac1c8
|
||||
EBUILD crossover-bin-21.1.0-r2.ebuild 7666 BLAKE2B eb4baad99a7eaccf1f4cf643c836e972277ef36c10d2ace9feb29f05717a9ce99457d6305727589c024d79499e117c525a845a1dd79bfc46383919521c09c1ee SHA512 e30f88882dfdb205c1821f93f05765dfacaff0a735f370c0018f109bdfd398269d96773dfd965b78bba49a547cbd25e75284e0d8d6c52a002fbcc9dbe2ce190d
|
||||
EBUILD crossover-bin-21.2.0-r1.ebuild 7600 BLAKE2B 71bc233016bb63a20a02b13241b5e0e5057d9f20a426ad4ca3c5c97f115991af57d2a94916306364311f7429f08717079d691ee580feb3d8bc7ab6637e5c7e0f SHA512 3f1e358e9524c32853aa31e92325a348676c589ee35bd06ac61b8ab7d1adb4d52997141597aafa8ece8204ffd4455f1d6eb8fa714f7e55de7b89a9e6f0b9ef6a
|
||||
MISC metadata.xml 568 BLAKE2B d13e314ffff8e7f24a4b26a6f4981ac0d574b84f9e4b994341481064fee38f167c29829d823c4f9b64722759b94d3ef3d828d0d727d7413753038aef45457b44 SHA512 04ba11db6a19081de9df60a5bcb1412b7742ccfe6bf81cce904249d4666ccd314618776578f7de8a8b4f57f54f389d0faba06accf5a98da54443e44e4180e36c
|
||||
|
Binary file not shown.
@ -1,6 +1,5 @@
|
||||
AUX magicrescue-1.1.10-ldflags.patch 1140 BLAKE2B 98deed569c8809e0e7a31c86cd29f1e79eaa2a2da986f2dcbce3591a1eba0e0aff43caf48db008a1c7c09e27d602e8c10a41889c7a89ad3696e9a5514449eec5 SHA512 abcb734fc4381408d8c4072e637a326a1b619defc244f70fb68608485a4a36ff4b4a206c296bb7dec0ae19fbe8030b88c9a6b528ca0f1934a0308f167ddd966d
|
||||
AUX magicrescue-1.1.10-remove_toolsdir.patch 4087 BLAKE2B ce13561cac085ca3c558d02fd9538ce9c3973a022fb3e51048ede5643e258d2a352425f5c3e1a164d209d2ecbb46a6c3c73da997c08a2d61f23fa764d8c526be SHA512 4b2a627475d3fff6b3a8c30dd883b3358043a429d05772bc4e1f658273a7c2a7beb29bc69978ac817074ba25827e4954a948076d77de73832eaf479e4bc1b8c8
|
||||
DIST magicrescue-1.1.10.tar.gz 227237 BLAKE2B a1584f4e6f4b6771783c565901775e181ba2e952e780565831e5d46245a4dd4670657cec7fb57b18d7dfc09954faec410da2dfe1b35130c23d22d8a6ccf0ab07 SHA512 54fc943a1f521563a3416040eb6b140e3ef79966b615ae0223be0558b810f9202c2d1e5ba0165c43a614caf78dbce1b0992775bef39e9611d2dc290e4582c29d
|
||||
EBUILD magicrescue-1.1.10-r2.ebuild 996 BLAKE2B c0a53477f47e3b0dbbb5308d8670e561cf80df8adc66a1fa450a0755d28b5fd7615333472d62f2118af8c3eb64e5f3f598d7b0bdde7a4d2a3ffaf6d5ee55da42 SHA512 95053ba5738fdc9505808bae77d7589ea3644306d499fc4d4e93d7740c9e91af0556998009f1d09d6b628d5662f966b77c494676fb4eef05c9b89f6503ebe356
|
||||
EBUILD magicrescue-1.1.10.ebuild 1016 BLAKE2B ffea7870e2181c79b931b9205e46dba6167a71496f97d81d0ea70b84a7ccb2ff0e279aed3e30bc60bc6fb384b9172232d991ea013bbe1c2523ff6390377ba23e SHA512 3c9586f388b1dfa77af4d5e35d89efb9cb178818e3319d44487c83431e0058da4982f58497abfb1fac245b47a74e1ced44e1cf43442bb8d50a6d79b47e6f805f
|
||||
EBUILD magicrescue-1.1.10-r2.ebuild 1065 BLAKE2B 89b8650ca7cc579556e826a06c75dc055b2580c247980b5bd7727d3c005216a2029187cc7fdccec83ca2e5bcb123edd710d7e78942e0a61314bfa89cdf19f4df SHA512 9ac04f21266e98e69397f103f8a51f4923f1d2910ca4bc236ef8e26d21595a7793eeea6fd61bd8db4c0a18141fcb3dcff226dc04e66503ffecde3ca49a4e90b9
|
||||
MISC metadata.xml 750 BLAKE2B 2d31ceb3d7946f742beea0391f8da9fd3f725fb8f70e9bc307c925789ae0078093dcee5c3701a35a8deed15b3fb7e95fb55e48a5f87058e879437bf4389b953d SHA512 5feab26aca11abdb49fcce5a0ac0db39129bcda43a030f58618beadf9a3299616e91497a5bdf1c347dbb66ba19fd4f30b9cb89149351a086d55a3230a555910a
|
||||
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Find deleted files in block devices"
|
||||
HOMEPAGE="https://github.com/jbj/magicrescue"
|
||||
SRC_URI="https://github.com/jbj/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="|| ( sys-libs/gdbm sys-libs/db:* )"
|
||||
RDEPEND="${DEPEND}
|
||||
!net-mail/safecat"
|
||||
# File collision with net-mail/safecat, #702004
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-ldflags.patch"
|
||||
"${FILESDIR}/${P}-remove_toolsdir.patch" )
|
||||
|
||||
src_prepare() {
|
||||
tc-export CC
|
||||
sed -i -e "\
|
||||
s:\$(INSTALLDIR)/share/magicrescue/recipes:\$(INSTALLDIR)/share/doc/${P}/recipes:;\
|
||||
s:\$(INSTALLDIR)/man/man1:\$(INSTALLDIR)/share/man/man1:;\
|
||||
s:\$(INSTALLDIR)/share/magicrescue/tools:\$(INSTALLDIR)/bin:" Makefile.in || die "could not mangle Makefile.in"
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Not autotools, just looks like it sometimes
|
||||
./configure --prefix=/usr || die
|
||||
}
|
Binary file not shown.
@ -0,0 +1,314 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# TODO on release:
|
||||
# - check READLINE_VER, obviously
|
||||
# (presumably there weren't always readline releases for bash RCs etc)
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/chetramey.asc
|
||||
inherit flag-o-matic toolchain-funcs prefix verify-sig
|
||||
|
||||
# Uncomment if we have a patchset
|
||||
#GENTOO_PATCH_DEV="sam"
|
||||
#GENTOO_PATCH_VER="${PV}"
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-5.1-patches/
|
||||
PLEVEL="${PV##*_p}"
|
||||
MY_PV="${PV/_p*}"
|
||||
MY_PV="${MY_PV/_/-}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
is_release() {
|
||||
case ${PV} in
|
||||
9999|*_alpha*|*_beta*|*_rc*) return 1 ;;
|
||||
*) return 0 ;;
|
||||
esac
|
||||
}
|
||||
[[ ${PV} != *_p* ]] && PLEVEL=0
|
||||
patches() {
|
||||
local opt=${1} plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
|
||||
[[ ${plevel} -eq 0 ]] && return 1
|
||||
eval set -- {1..${plevel}}
|
||||
set -- $(printf "${pn}${pv/\.}-%03d " "$@")
|
||||
if [[ ${opt} == -s ]] ; then
|
||||
echo "${@/#/${DISTDIR}/}"
|
||||
else
|
||||
local u
|
||||
for u in mirror://gnu/${pn} ftp://ftp.cwru.edu/pub/bash ; do
|
||||
printf "${u}/${pn}-${pv}-patches/%s " "$@"
|
||||
printf "${u}/${pn}-${pv}-patches/%s.asc " "$@"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
# The version of readline this bash normally ships with.
|
||||
# Note: right now, we don't use the system copy of readline for bash for non-releases.
|
||||
READLINE_VER="8.2"
|
||||
|
||||
DESCRIPTION="The standard GNU Bourne again shell"
|
||||
HOMEPAGE="https://tiswww.case.edu/php/chet/bash/bashtop.html"
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/bash.git"
|
||||
EGIT_BRANCH=devel
|
||||
inherit git-r3
|
||||
elif is_release ; then
|
||||
SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
|
||||
SRC_URI+=" verify-sig? ( mirror://gnu/bash/${MY_P}.tar.gz.sig )"
|
||||
else
|
||||
SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz ftp://ftp.cwru.edu/pub/bash/${MY_P}.tar.gz"
|
||||
SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${MY_P}.tar.gz.sig ftp://ftp.cwru.edu/pub/bash/${MY_P}.tar.gz.sig )"
|
||||
fi
|
||||
|
||||
if [[ -n ${GENTOO_PATCH_VER} ]] ; then
|
||||
SRC_URI+=" https://dev.gentoo.org/~${GENTOO_PATCH_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${GENTOO_PATCH_VER}-patches.tar.xz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
if is_release ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
IUSE="afs bashlogger examples mem-scramble +net nls plugins +readline"
|
||||
|
||||
DEPEND="
|
||||
>=sys-libs/ncurses-5.2-r2:0=
|
||||
nls? ( virtual/libintl )
|
||||
"
|
||||
if is_release ; then
|
||||
DEPEND+=" readline? ( >=sys-libs/readline-${READLINE_VER}:= )"
|
||||
fi
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
# We only need yacc when the .y files get patched (bash42-005, bash51-011)
|
||||
#BDEPEND="virtual/yacc"
|
||||
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-chetramey )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# EAPI 8 tries to append it but it doesn't exist here
|
||||
QA_CONFIGURE_OPTIONS="--disable-static"
|
||||
|
||||
PATCHES=(
|
||||
#"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}/
|
||||
|
||||
# Patches from Chet sent to bashbug ml
|
||||
"${FILESDIR}"/${PN}-5.0-syslog-history-extern.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
# bug #7332
|
||||
if is-flag -malign-double ; then
|
||||
eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
|
||||
eerror "as it breaks LFS (struct stat64) on x86."
|
||||
die "remove -malign-double from your CFLAGS mr ricer"
|
||||
fi
|
||||
|
||||
if use bashlogger ; then
|
||||
ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs."
|
||||
ewarn "This will log ALL output you enter into the shell, you have been warned."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
git-r3_src_unpack
|
||||
else
|
||||
if use verify-sig ; then
|
||||
verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.gz{,.sig}
|
||||
fi
|
||||
|
||||
unpack ${MY_P}.tar.gz
|
||||
|
||||
if [[ -n ${GENTOO_PATCH_VER} ]] ; then
|
||||
unpack ${PN}-${GENTOO_PATCH_VER}-patches.tar.xz
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Include official patches
|
||||
[[ ${PLEVEL} -gt 0 ]] && eapply -p0 $(patches -s)
|
||||
|
||||
# Clean out local libs so we know we use system ones w/releases.
|
||||
if is_release ; then
|
||||
rm -rf lib/{readline,termcap}/* || die
|
||||
touch lib/{readline,termcap}/Makefile.in || die # for config.status
|
||||
sed -ri -e 's:\$[{(](RL|HIST)_LIBSRC[)}]/[[:alpha:]_-]*\.h::g' Makefile.in || die
|
||||
fi
|
||||
|
||||
# Prefixify hardcoded path names. No-op for non-prefix.
|
||||
hprefixify pathnames.h.in
|
||||
|
||||
# Avoid regenerating docs after patches, bug #407985
|
||||
sed -i -r '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in || die
|
||||
touch -r . doc/* || die
|
||||
|
||||
eapply -p0 "${PATCHES[@]}"
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--disable-profiling
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses. For the most part, ncurses
|
||||
# is here because readline needs it. But bash itself calls
|
||||
# ncurses in one or two small places :(.
|
||||
--with-curses
|
||||
|
||||
$(use_enable mem-scramble)
|
||||
$(use_enable net net-redirections)
|
||||
$(use_enable readline)
|
||||
$(use_enable readline bang-history)
|
||||
$(use_enable readline history)
|
||||
$(use_with afs)
|
||||
$(use_with mem-scramble bash-malloc)
|
||||
)
|
||||
|
||||
# For descriptions of these, see config-top.h
|
||||
# bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426
|
||||
append-cppflags \
|
||||
-DDEFAULT_PATH_VALUE=\'\"${EPREFIX}/usr/local/sbin:${EPREFIX}/usr/local/bin:${EPREFIX}/usr/sbin:${EPREFIX}/usr/bin:${EPREFIX}/sbin:${EPREFIX}/bin\"\' \
|
||||
-DSTANDARD_UTILS_PATH=\'\"${EPREFIX}/bin:${EPREFIX}/usr/bin:${EPREFIX}/sbin:${EPREFIX}/usr/sbin\"\' \
|
||||
-DSYS_BASHRC=\'\"${EPREFIX}/etc/bash/bashrc\"\' \
|
||||
-DSYS_BASH_LOGOUT=\'\"${EPREFIX}/etc/bash/bash_logout\"\' \
|
||||
-DNON_INTERACTIVE_LOGIN_SHELLS \
|
||||
-DSSH_SOURCE_BASHRC \
|
||||
$(use bashlogger && echo -DSYSLOG_HISTORY)
|
||||
|
||||
# Don't even think about building this statically without
|
||||
# reading bug #7714 first. If you still build it statically,
|
||||
# don't come crying to us with bugs ;).
|
||||
#use static && export LDFLAGS="${LDFLAGS} -static"
|
||||
use nls || myconf+=( --disable-nls )
|
||||
|
||||
# Historically, we always used the builtin readline, but since
|
||||
# our handling of SONAME upgrades has gotten much more stable
|
||||
# in the PM (and the readline ebuild itself preserves the old
|
||||
# libs during upgrades), linking against the system copy should
|
||||
# be safe.
|
||||
# Exact cached version here doesn't really matter as long as it
|
||||
# is at least what's in the DEPEND up above.
|
||||
export ac_cv_rl_version=${READLINE_VER%%_*}
|
||||
|
||||
if is_release ; then
|
||||
# Use system readline only with released versions.
|
||||
myconf+=( --with-installed-readline=. )
|
||||
fi
|
||||
|
||||
if use plugins ; then
|
||||
append-ldflags -Wl,-rpath,"${EPREFIX}"/usr/$(get_libdir)/bash
|
||||
else
|
||||
# Disable the plugins logic by hand since bash doesn't
|
||||
# provide a way of doing it.
|
||||
export ac_cv_func_dl{close,open,sym}=no \
|
||||
ac_cv_lib_dl_dlopen=no ac_cv_header_dlfcn_h=no
|
||||
|
||||
sed -i \
|
||||
-e '/LOCAL_LDFLAGS=/s:-rdynamic::' \
|
||||
configure || die
|
||||
fi
|
||||
|
||||
# bug #444070
|
||||
tc-export AR
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use plugins ; then
|
||||
emake -C examples/loadables all others
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Used in test suite.
|
||||
unset A
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local d f
|
||||
|
||||
default
|
||||
|
||||
dodir /bin
|
||||
mv "${ED}"/usr/bin/bash "${ED}"/bin/ || die
|
||||
dosym bash /bin/rbash
|
||||
|
||||
insinto /etc/bash
|
||||
doins "${FILESDIR}"/bash_logout
|
||||
doins "$(prefixify_ro "${FILESDIR}"/bashrc)"
|
||||
|
||||
keepdir /etc/bash/bashrc.d
|
||||
|
||||
insinto /etc/skel
|
||||
for f in bash{_logout,_profile,rc} ; do
|
||||
newins "${FILESDIR}"/dot-${f} .${f}
|
||||
done
|
||||
|
||||
local sed_args=(
|
||||
-e "s:#${USERLAND}#@::"
|
||||
-e '/#@/d'
|
||||
)
|
||||
|
||||
if ! use readline ; then
|
||||
# bug #432338
|
||||
sed_args+=(
|
||||
-e '/^shopt -s histappend/s:^:#:'
|
||||
-e 's:use_color=true:use_color=false:'
|
||||
)
|
||||
fi
|
||||
|
||||
sed -i \
|
||||
"${sed_args[@]}" \
|
||||
"${ED}"/etc/skel/.bashrc \
|
||||
"${ED}"/etc/bash/bashrc || die
|
||||
|
||||
if use plugins ; then
|
||||
exeinto /usr/$(get_libdir)/bash
|
||||
doexe $(echo examples/loadables/*.o | sed 's:\.o::g')
|
||||
|
||||
insinto /usr/include/bash-plugins
|
||||
doins *.h builtins/*.h include/*.h lib/{glob/glob.h,tilde/tilde.h}
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
for d in examples/{functions,misc,scripts,startup-files} ; do
|
||||
exeinto /usr/share/doc/${PF}/${d}
|
||||
docinto ${d}
|
||||
for f in ${d}/* ; do
|
||||
if [[ ${f##*/} != PERMISSION ]] && [[ ${f##*/} != *README ]] ; then
|
||||
doexe ${f}
|
||||
else
|
||||
dodoc ${f}
|
||||
fi
|
||||
done
|
||||
done
|
||||
fi
|
||||
|
||||
doman doc/*.1
|
||||
newdoc CWRU/changelog ChangeLog
|
||||
dosym bash.info /usr/share/info/bashref.info
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -e ${EROOT}/etc/bashrc ]] && [[ ! -d ${EROOT}/etc/bash ]] ; then
|
||||
mkdir -p "${EROOT}"/etc/bash
|
||||
mv -f "${EROOT}"/etc/bashrc "${EROOT}"/etc/bash/
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# If /bin/sh does not exist, provide it
|
||||
if [[ ! -e ${EROOT}/bin/sh ]] ; then
|
||||
ln -sf bash "${EROOT}"/bin/sh
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -0,0 +1,127 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools readme.gentoo-r1 systemd
|
||||
|
||||
DESCRIPTION="Dictionary Client/Server for the DICT protocol"
|
||||
HOMEPAGE="http://www.dict.org/ https://sourceforge.net/projects/dict/"
|
||||
SRC_URI="mirror://sourceforge/dict/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-1+ GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
|
||||
IUSE="dbi judy minimal test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# <gawk-3.1.6 makes tests fail.
|
||||
RDEPEND="
|
||||
acct-group/dictd
|
||||
acct-user/dictd
|
||||
>=sys-apps/coreutils-6.10
|
||||
dev-libs/libmaa
|
||||
sys-libs/zlib
|
||||
dbi? ( dev-db/libdbi )
|
||||
judy? ( dev-libs/judy )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
>=sys-apps/gawk-3.1.6
|
||||
sys-devel/flex
|
||||
virtual/yacc
|
||||
test? ( !~sys-apps/gawk-4.2.1 )
|
||||
"
|
||||
|
||||
DOC_CONTENTS="
|
||||
To start and use ${PN} you need to emerge at least one dictionary from
|
||||
the app-dicts category with the package name starting with 'dictd-'.
|
||||
To install all available dictionaries, emerge app-dicts/dictd-dicts.
|
||||
${PN} will NOT start without at least one dictionary.\n
|
||||
\nIf you are running systemd, you will need to review the instructions
|
||||
explained in /etc/dict/dictd.conf comments.
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/dictd-1.10.11-colorit-nopp-fix.patch
|
||||
"${FILESDIR}"/dictd-1.12.0-build.patch
|
||||
"${FILESDIR}"/dictd-1.13.0-libtool.patch # 818535
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with dbi plugin-dbi) \
|
||||
$(use_with judy plugin-judy) \
|
||||
--libexecdir="${EPREFIX}"/usr/$(get_libdir)/${PN} \
|
||||
--sysconfdir="${EPREFIX}"/etc/dict
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# -j1 for bug #743292
|
||||
|
||||
if use minimal; then
|
||||
emake -j1 dictfmt dictzip dictzip
|
||||
else
|
||||
emake -j1
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
use minimal && return 0 # All tests are for dictd which we don't build...
|
||||
|
||||
if [[ ${EUID} -eq 0 ]]; then
|
||||
# If dictd is run as root user (-userpriv) it drops its privileges to
|
||||
# dictd user and group. Give dictd group write access to test directory.
|
||||
chown :dictd "${WORKDIR}" "${S}/test" || die
|
||||
chmod 770 "${WORKDIR}" "${S}/test" || die
|
||||
fi
|
||||
|
||||
emake -j1 test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use minimal; then
|
||||
emake -j1 DESTDIR="${ED}" install.dictzip install.dict install.dictfmt
|
||||
else
|
||||
default
|
||||
|
||||
# Don't install rfc2229.txt because it is non-free
|
||||
dodoc doc/{dicf.ms,rfc.ms,rfc.sh}
|
||||
dodoc doc/{security.doc,toc.ms}
|
||||
dodoc -r examples
|
||||
|
||||
# conf files. For dict.conf see below.
|
||||
insinto /etc/dict
|
||||
for f in dictd.conf site.info colorit.conf; do
|
||||
doins "${FILESDIR}/1.10.11/${f}"
|
||||
done
|
||||
|
||||
# startups for dictd
|
||||
newinitd "${FILESDIR}/1.10.11/dictd.initd" dictd
|
||||
newconfd "${FILESDIR}/1.10.11/dictd.confd" dictd
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -o -name '*.a' -delete || die
|
||||
|
||||
insinto /etc/dict
|
||||
doins "${FILESDIR}"/1.10.11/dict.conf
|
||||
|
||||
dodoc ANNOUNCE NEWS README TODO
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if has_version sys-apps/systemd; then
|
||||
ewarn "The default location for dicts has changed! If you've modified your"
|
||||
ewarn "systemd units locally to point into /usr/lib/dict, please update it"
|
||||
ewarn "to point at /usr/share/dict now."
|
||||
fi
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
https://bugs.gentoo.org/818535
|
||||
|
||||
From ab4c1542d8103ef2a8dcfd8cc1ad624890258090 Mon Sep 17 00:00:00 2001
|
||||
From: orbea <orbea@riseup.net>
|
||||
Date: Fri, 17 Jun 2022 16:18:40 -0700
|
||||
Subject: [PATCH] configure: Add missing LT_INIT
|
||||
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -28,6 +28,7 @@ endif
|
||||
|
||||
.SUFFIXES:
|
||||
|
||||
+top_builddir= @top_builddir@
|
||||
srcdir= @srcdir@
|
||||
VPATH= @srcdir@:.
|
||||
prefix= @prefix@
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -35,6 +35,8 @@ AC_INIT([dict],[VERSION],[dict-beta@dict.org])
|
||||
AC_CONFIG_SRCDIR([dictd.c])
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
|
||||
+LT_INIT
|
||||
+
|
||||
echo Configuring for dict
|
||||
echo .
|
||||
|
||||
@@ -45,7 +47,7 @@ AC_CANONICAL_HOST
|
||||
AC_PROG_CC
|
||||
AC_PROG_CPP
|
||||
AC_PROG_CXX
|
||||
-
|
||||
+AC_PROG_LIBTOOL
|
||||
AC_ISC_POSIX
|
||||
|
||||
REALCC="$CC"
|
||||
@@ -75,8 +77,6 @@ AC_PROG_MAKE_SET
|
||||
AC_PROG_YACC
|
||||
AC_PROG_LEX
|
||||
|
||||
-AC_CHECK_PROG(LIBTOOL,libtool,libtool)
|
||||
-
|
||||
AC_CHECK_PROGS(NROFF,gnroff nroff)
|
||||
AC_CHECK_PROGS(TROFF,groff troff)
|
||||
AC_CHECK_PROGS(COL,col cat)
|
||||
--- a/doc/Makefile.in
|
||||
+++ b/doc/Makefile.in
|
||||
@@ -28,6 +28,7 @@ endif
|
||||
|
||||
.SUFFIXES:
|
||||
|
||||
+top_builddir= @top_builddir@
|
||||
srcdir= @srcdir@
|
||||
VPATH= @srcdir@
|
||||
prefix= @prefix@
|
Binary file not shown.
@ -1,5 +1,3 @@
|
||||
DIST bbdb-1.34-pkg.tar.gz 379894 BLAKE2B 5d6eba9c0594a4edc61d626245a0827f2886cf588de9c7fca9748af88cd3ac9740c9552f817f3f882129dbfa5daed9d5c7f00698aa14e63852daf2b81f5a1236 SHA512 2f92a7dca882083631bf0c4dcbad3e29cdd2920b48aebb19a6f83e21ccfefbd8534278579248d74f1f152613fa601af22f8d30236ed0fcae83c3e3eed0ccd4e3
|
||||
DIST bbdb-1.35-pkg.tar.gz 379950 BLAKE2B 6882b1ed92edc0f65ab272e8b4642bbdc0af72220b764ae0d5f13589f82d936b90040f7a8792794884fa73ea9cc49415d15a0883cd693610190fcfa06a2a8b6d SHA512 616c260cbd673fd71387a35eb266763a9558f7d0645d57d6aa0fe53b071e23166e7cb8e070876abf279af434583956c68544921f26e661348b7ee42905c872a1
|
||||
EBUILD bbdb-1.34.ebuild 589 BLAKE2B 4e3e2840f4ef88089c23c609be7b6ead4f854f5245f327ff0fd42b5554c47fd7576db82a3422930557e1266af0aef571d051a849d2d2c4c4151294aa7e8d302e SHA512 b3e1de88f094b16d1ec362edfd27b7b320d733b0588dfe7eddf01a013de5a82d2b280e37daa3091a95a8bf94b586c6094b4d19a472464ec0e1468064ab1794a2
|
||||
EBUILD bbdb-1.35.ebuild 624 BLAKE2B 797f9926da7a4b4645db1018c853ea64aef40883f000bcefe5c4e0f0ae9d7c0c3f6ba11813f55a238e46efd05329577723cfd6140ca3e1cb5c317e052fca3357 SHA512 57e71d2bb9533bb34a4fb2fa2f2ad51647937221ec2e2d6d9597de246583980f9d9b2efb1d66966acc653285cf06492a01e32b3fdc694b699a8bbbb7a8580101
|
||||
MISC metadata.xml 287 BLAKE2B f2b2b248cb812702d316f276593ff003c70142e8d3d00d5c94487f8114480922bfb214577c49717f432b85babe833be882cd88506e4bc4cca7542ff20beb6a1a SHA512 f05901aab0aaf50d6092e7d0483da9db035931fcb86e59ce27359d9276924173c000fd745e4fa072718e49f8848150530d8ca99a6877b4f5d0a6a35a45bd145d
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
SLOT="0"
|
||||
DESCRIPTION="The Big Brother Data Base"
|
||||
XEMACS_PKG_CAT="standard"
|
||||
|
||||
RDEPEND="app-xemacs/edit-utils
|
||||
app-xemacs/gnus
|
||||
app-xemacs/mh-e
|
||||
app-xemacs/rmail
|
||||
app-xemacs/supercite
|
||||
app-xemacs/vm
|
||||
app-xemacs/tm
|
||||
app-xemacs/apel
|
||||
app-xemacs/mail-lib
|
||||
app-xemacs/xemacs-base
|
||||
app-xemacs/w3
|
||||
app-xemacs/fsf-compat
|
||||
app-xemacs/xemacs-eterm
|
||||
app-xemacs/sh-script
|
||||
app-xemacs/net-utils
|
||||
app-xemacs/os-utils
|
||||
app-xemacs/ecrypto
|
||||
"
|
||||
KEYWORDS="~alpha amd64 ppc ppc64 sparc x86"
|
||||
|
||||
inherit xemacs-packages
|
Binary file not shown.
@ -0,0 +1,41 @@
|
||||
https://bugs.gentoo.org/844235
|
||||
--- a/src/mongo/util/processinfo_linux.cpp
|
||||
+++ b/src/mongo/util/processinfo_linux.cpp
|
||||
@@ -51,6 +51,7 @@
|
||||
#endif
|
||||
|
||||
#include <boost/filesystem.hpp>
|
||||
+#include <boost/filesystem/fstream.hpp>
|
||||
#include <boost/none.hpp>
|
||||
#include <boost/optional.hpp>
|
||||
#include <fmt/format.h>
|
||||
--- a/src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp
|
||||
+++ b/src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp
|
||||
@@ -36,6 +36,7 @@
|
||||
#include <limits>
|
||||
|
||||
#include <boost/filesystem.hpp>
|
||||
+#include <boost/filesystem/fstream.hpp>
|
||||
#include <boost/filesystem/path.hpp>
|
||||
|
||||
#include "mongo/base/simple_string_data_comparator.h"
|
||||
--- a/src/mongo/shell/shell_utils_extended.cpp
|
||||
+++ b/src/mongo/shell/shell_utils_extended.cpp
|
||||
@@ -37,6 +37,7 @@
|
||||
#endif
|
||||
|
||||
#include <boost/filesystem.hpp>
|
||||
+#include <boost/filesystem/fstream.hpp>
|
||||
#include <fstream>
|
||||
|
||||
#include "mongo/scripting/engine.h"
|
||||
--- a/src/mongo/db/storage/storage_repair_observer.cpp
|
||||
+++ b/src/mongo/db/storage/storage_repair_observer.cpp
|
||||
@@ -41,6 +41,7 @@
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
|
||||
+#include <boost/filesystem/fstream.hpp>
|
||||
#include <boost/filesystem/path.hpp>
|
||||
|
||||
#include "mongo/db/dbhelpers.h"
|
@ -0,0 +1,182 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
SCONS_MIN_VERSION="2.5.0"
|
||||
CHECKREQS_DISK_BUILD="2400M"
|
||||
CHECKREQS_DISK_USR="512M"
|
||||
CHECKREQS_MEMORY="1024M"
|
||||
|
||||
inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 scons-utils systemd toolchain-funcs
|
||||
|
||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="https://www.mongodb.com"
|
||||
SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 SSPL-1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="debug kerberos lto ssl test +tools"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="acct-group/mongodb
|
||||
acct-user/mongodb
|
||||
>=app-arch/snappy-1.1.3:=
|
||||
>=dev-cpp/yaml-cpp-0.6.2:=
|
||||
>=dev-libs/boost-1.70:=[threads(+)]
|
||||
>=dev-libs/libpcre-8.42[cxx]
|
||||
app-arch/zstd:=
|
||||
dev-libs/snowball-stemmer:=
|
||||
net-libs/libpcap
|
||||
>=sys-libs/zlib-1.2.11:=
|
||||
kerberos? ( dev-libs/cyrus-sasl[kerberos] )
|
||||
ssl? (
|
||||
>=dev-libs/openssl-1.0.1g:0=
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_any_dep '
|
||||
test? ( dev-python/pymongo[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] )
|
||||
>=dev-util/scons-2.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/cheetah3[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
')
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/readline:0=
|
||||
debug? ( dev-util/valgrind )"
|
||||
PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.2.0-fix-scons.patch"
|
||||
"${FILESDIR}/${PN}-4.4.1-gcc11.patch"
|
||||
"${FILESDIR}/${PN}-4.2.15-no-compass.patch"
|
||||
"${FILESDIR}/${PN}-5.0.2-glibc-2.34.patch"
|
||||
"${FILESDIR}/${PN}-4.2.17-boost-1.79.patch"
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_check_deps() {
|
||||
if use test; then
|
||||
has_version "dev-python/pymongo[${PYTHON_USEDEP}]" || return 1
|
||||
has_version "dev-python/requests[${PYTHON_USEDEP}]" || return 1
|
||||
fi
|
||||
|
||||
has_version ">=dev-util/scons-2.5.0[${PYTHON_USEDEP}]" &&
|
||||
has_version "dev-python/cheetah3[${PYTHON_USEDEP}]" &&
|
||||
has_version "dev-python/psutil[${PYTHON_USEDEP}]" &&
|
||||
has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ -n ${REPLACING_VERSIONS} ]]; then
|
||||
if ver_test "$REPLACING_VERSIONS" -lt 4.0; then
|
||||
ewarn "To upgrade from a version earlier than the 4.0-series, you must"
|
||||
ewarn "successively upgrade major releases until you have upgraded"
|
||||
ewarn "to 4.0-series. Then upgrade to 4.2 series."
|
||||
else
|
||||
ewarn "Be sure to set featureCompatibilityVersion to 4.0 before upgrading."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# remove bundled libs
|
||||
rm -r src/third_party/{boost-*,pcre-*,scons-*,snappy-*,yaml-cpp-*,zlib-*,zstandard-*} || die
|
||||
|
||||
# remove compass
|
||||
rm -r src/mongo/installer/compass || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# https://github.com/mongodb/mongo/wiki/Build-Mongodb-From-Source
|
||||
# --use-system-icu fails tests
|
||||
# --use-system-tcmalloc is strongly NOT recommended:
|
||||
scons_opts=(
|
||||
AR="$(tc-getAR)"
|
||||
CC="$(tc-getCC)"
|
||||
CXX="$(tc-getCXX)"
|
||||
|
||||
--disable-warnings-as-errors
|
||||
--use-system-boost
|
||||
--use-system-pcre
|
||||
--use-system-snappy
|
||||
--use-system-stemmer
|
||||
--use-system-yaml
|
||||
--use-system-zlib
|
||||
--use-system-zstd
|
||||
)
|
||||
|
||||
use arm64 && scons_opts+=( --use-hardware-crc32=off ) # Bug 701300
|
||||
use debug && scons_opts+=( --dbg=on )
|
||||
use kerberos && scons_opts+=( --use-sasl-client )
|
||||
use lto && scons_opts+=( --lto=on )
|
||||
use ssl && scons_opts+=( --ssl )
|
||||
|
||||
# Needed to avoid forcing FORTIFY_SOURCE
|
||||
# Gentoo's toolchain applies these anyway
|
||||
scons_opts+=( --runtime-hardening=off )
|
||||
|
||||
# respect mongoDB upstream's basic recommendations
|
||||
# see bug #536688 and #526114
|
||||
if ! use debug; then
|
||||
filter-flags '-m*'
|
||||
filter-flags '-O?'
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
escons "${scons_opts[@]}" core tools
|
||||
}
|
||||
|
||||
# FEATURES="test -usersandbox" emerge dev-db/mongodb
|
||||
src_test() {
|
||||
ewarn "Tests may hang with FEATURES=usersandbox"
|
||||
"${EPYTHON}" ./buildscripts/resmoke.py run --dbpathPrefix=test --suites core --jobs=$(makeopts_jobs) || die "Tests failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
escons "${scons_opts[@]}" --nostrip install --prefix="${ED}"/usr
|
||||
|
||||
doman debian/mongo*.1
|
||||
dodoc README docs/building.md
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd-r3" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd-r3" ${PN}
|
||||
newinitd "${FILESDIR}/mongos.initd-r3" mongos
|
||||
newconfd "${FILESDIR}/mongos.confd-r3" mongos
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf
|
||||
newins "${FILESDIR}/mongos.conf-r2" mongos.conf
|
||||
|
||||
systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service"
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
# see bug #526114
|
||||
pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos}
|
||||
|
||||
local x
|
||||
for x in /var/{lib,log}/${PN}; do
|
||||
diropts -m0750 -o mongodb -g mongodb
|
||||
keepdir "${x}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "Make sure to read the release notes and follow the upgrade process:"
|
||||
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/"
|
||||
ewarn " https://docs.mongodb.com/manual/release-notes/$(ver_cut 1-2)/#upgrade-procedures"
|
||||
}
|
Binary file not shown.
@ -1,5 +1,7 @@
|
||||
DIST tiled-1.7.2.tar.gz 16743422 BLAKE2B 0d8ae95b2fc68326d0a4989b26535cd72900ddf9674ad892c287f9d7df2f551fc46c9fa9c8991315f55ae90663a9a5b9c4239fd2ed61c240a36a60102b2710b3 SHA512 6d766adbfcb642279eb0ba27410858c54a29ed8e697445b6fb96ce210d0b1433b1ed4715e1d78af3aea8ec71a87b24eea52216bf6236159e0c8fdf87a2339a59
|
||||
DIST tiled-1.8.2.tar.gz 17032015 BLAKE2B 92919e76f4753e3f8a3a98d421376ad35fe35fd1272e64cb40f382ea57020da63b6ea553529805b3bc356043bbfc18962c2874ee4e81b9a38b8629eb0ac8e1a7 SHA512 698add45d425d16a7b68c9b4d847cafb1d2b0633157614cbcec5f4dba23c1a65597bd2211b8c9f6b37af8ea2a4ca967fc71662672d79a8ea209dd9b0e3863413
|
||||
DIST tiled-1.8.6.tar.gz 17053221 BLAKE2B a226ff9861ebfa3980176fac2b23c7fff8ac6db585444c5d5c21afff2301298e1eaa74179970bfaeb07c62074c706378040c520d5f0155b030f9e2025c51abb0 SHA512 f77ff46fbb707d8c02499f168e5748f39081fa780fb9a5b1ea04603b09cd71280d76034cab28b23fc30280bd856121e473c992c9c39d7c46fc97d5fbfbe4191d
|
||||
EBUILD tiled-1.7.2.ebuild 1428 BLAKE2B d526566cb012670ad4afa0bcca268649007485903bded989a9724d9896a501ca8e5f9f8e1af305eee652941105d6283862393c5f5532da2850c643eee7741f05 SHA512 40e9d5d96c02e7ea4fcb84f31554ea4eb925af949d6d136af1a396a3102505044d4e6c75af3bd9b6efffe995ffd972db747327597c87923bfd1771dbe16176c2
|
||||
EBUILD tiled-1.8.2.ebuild 1427 BLAKE2B 0e303d0160b01d416165ba1e803e2df8ded49cb61efdccd5cb16482cb2ff77fbcb429579705ad681f8fa140c9ab7ac06ae934739f05970e400c153ea5e3e3d2b SHA512 0440d0f65fc9c434b3f933540a40617f6fae6635aaa50bc87f5bb8e263e2ffe471dcf02cb47351fb026a29198a8acecbbab28ddd0e8ad2894da88f61ffcd506c
|
||||
EBUILD tiled-1.8.6.ebuild 1429 BLAKE2B 4b41434b6f0a9296fa3cb63c001e50e40614730d9205776bbd2b0585269385d1a596efb4c34f8fb35e427e3071e94ac59a84189444b6c9db01096b3d50bd7f83 SHA512 03d0749a4491ee115a8615d5934ec232ec4cc4fb510adea840bddfb4c5cdac67c41db15e6fa65cb0acf03997a4fe9f95f6e59090efd7ad450684e5124db8acc0
|
||||
MISC metadata.xml 330 BLAKE2B 003e28ecc542b47ccc05a79dc61f54783e264a76bc93478a37d255a240b25d5c6f6f6a50ffea9cfab6fa4e71bfe6021430c203824f38575e6cb69bb4aaf5d8ab SHA512 d87ca073f06c7dcffad14ba0de2856fbc78dc9b963f0bfe4de4ecbc393e5859ac2d85b9a3fa4cd9aaea3e26e19d7688e63dbf1f69ff8fd39ea9e94316b8010a9
|
||||
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit python-single-r1 qmake-utils xdg-utils
|
||||
|
||||
DESCRIPTION="A general purpose tile map editor"
|
||||
HOMEPAGE="https://www.mapeditor.org/"
|
||||
SRC_URI="https://github.com/bjorn/tiled/archive/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD BSD-2 GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="examples python"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/zstd:=
|
||||
>=dev-qt/qtcore-5.15:5
|
||||
>=dev-qt/qtdbus-5.15:5
|
||||
>=dev-qt/qtdeclarative-5.15:5
|
||||
>=dev-qt/qtgui-5.15:5
|
||||
>=dev-qt/qtnetwork-5.15:5
|
||||
>=dev-qt/qtwidgets-5.15:5
|
||||
sys-libs/zlib
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-qt/linguist-tools:5
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS COPYING NEWS.md README.md )
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 \
|
||||
LIBDIR="/usr/$(get_libdir)" \
|
||||
PREFIX="/usr" \
|
||||
SYSTEM_ZSTD="yes" \
|
||||
DISABLE_PYTHON_PLUGIN="$(usex !python)" \
|
||||
USE_FHS_PLUGIN_PATH="true"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
|
||||
einstalldocs
|
||||
|
||||
if use examples ; then
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
dodoc -r examples
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
Binary file not shown.
@ -1,759 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit flag-o-matic systemd autotools
|
||||
|
||||
MY_PV=${PV/_rc/RC}
|
||||
DESCRIPTION="The PHP language runtime engine"
|
||||
HOMEPAGE="https://www.php.net/"
|
||||
SRC_URI="https://www.php.net/distributions/${P}.tar.xz"
|
||||
|
||||
LICENSE="PHP-3.01
|
||||
BSD
|
||||
Zend-2.0
|
||||
bcmath? ( LGPL-2.1+ )
|
||||
fpm? ( BSD-2 )
|
||||
gd? ( gd )
|
||||
unicode? ( BSD-2 LGPL-2.1 )"
|
||||
|
||||
SLOT="$(ver_cut 1-2)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
# We can build the following SAPIs in the given order
|
||||
SAPIS="embed cli cgi fpm apache2 phpdbg"
|
||||
|
||||
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
|
||||
IUSE="${IUSE}
|
||||
${SAPIS/cli/+cli}
|
||||
threads"
|
||||
|
||||
IUSE="${IUSE} acl apparmor argon2 bcmath berkdb bzip2 calendar cdb cjk
|
||||
coverage +ctype curl debug
|
||||
enchant exif ffi +fileinfo +filter firebird
|
||||
+flatfile ftp gd gdbm gmp +iconv imap inifile
|
||||
intl iodbc ipv6 +jit kerberos ldap ldap-sasl libedit lmdb
|
||||
mhash mssql mysql mysqli nls
|
||||
oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm
|
||||
readline selinux +session session-mm sharedmem
|
||||
+simplexml snmp soap sockets sodium spell sqlite ssl
|
||||
sysvipc systemd test tidy +tokenizer tokyocabinet truetype unicode webp
|
||||
+xml xmlreader xmlwriter xpm xslt zip zlib"
|
||||
|
||||
# Without USE=readline or libedit, the interactive "php -a" CLI will hang.
|
||||
# The Oracle instant client provides its own incompatible ldap library.
|
||||
REQUIRED_USE="
|
||||
|| ( cli cgi fpm apache2 embed phpdbg )
|
||||
cli? ( ^^ ( readline libedit ) )
|
||||
!cli? ( ?? ( readline libedit ) )
|
||||
truetype? ( gd zlib )
|
||||
webp? ( gd zlib )
|
||||
cjk? ( gd zlib )
|
||||
exif? ( gd zlib )
|
||||
xpm? ( gd zlib )
|
||||
gd? ( zlib )
|
||||
simplexml? ( xml )
|
||||
soap? ( xml )
|
||||
xmlreader? ( xml )
|
||||
xmlwriter? ( xml )
|
||||
xslt? ( xml )
|
||||
ldap-sasl? ( ldap )
|
||||
oci8-instant-client? ( !ldap )
|
||||
qdbm? ( !gdbm )
|
||||
session-mm? ( session !threads )
|
||||
mysql? ( || ( mysqli pdo ) )
|
||||
firebird? ( pdo )
|
||||
mssql? ( pdo )
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# The supported (that is, autodetected) versions of BDB are listed in
|
||||
# the ./configure script. Other versions *work*, but we need to stick to
|
||||
# the ones that can be detected to avoid a repeat of bug #564824.
|
||||
COMMON_DEPEND="
|
||||
>=app-eselect/eselect-php-0.9.7[apache2?,fpm?]
|
||||
>=dev-libs/libpcre2-10.30[jit?,unicode]
|
||||
fpm? ( acl? ( sys-apps/acl ) apparmor? ( sys-libs/libapparmor ) )
|
||||
apache2? ( www-servers/apache[apache2_modules_unixd(+),threads=] )
|
||||
argon2? ( app-crypt/argon2:= )
|
||||
berkdb? ( || ( sys-libs/db:5.3 sys-libs/db:4.8 ) )
|
||||
bzip2? ( app-arch/bzip2:0= )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
coverage? ( dev-util/lcov )
|
||||
curl? ( >=net-misc/curl-7.29.0 )
|
||||
enchant? ( app-text/enchant:2 )
|
||||
ffi? ( >=dev-libs/libffi-3.0.11:= )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( >=virtual/jpeg-0-r3:0 media-libs/libpng:0= )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0:0= )
|
||||
gmp? ( dev-libs/gmp:0= )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( >=virtual/imap-c-client-2[kerberos=,ssl=] )
|
||||
intl? ( dev-libs/icu:= )
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( >=net-nds/openldap-1.2.11:= )
|
||||
ldap-sasl? ( dev-libs/cyrus-sasl )
|
||||
libedit? ( dev-libs/libedit )
|
||||
lmdb? ( dev-db/lmdb:= )
|
||||
mssql? ( dev-db/freetds[mssql] )
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient[sdk] )
|
||||
odbc? ( iodbc? ( dev-db/libiodbc ) !iodbc? ( >=dev-db/unixODBC-1.8.13 ) )
|
||||
postgres? ( >=dev-db/postgresql-9.1:* )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
session-mm? ( dev-libs/mm )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.2 )
|
||||
sodium? ( dev-libs/libsodium:=[-minimal] )
|
||||
spell? ( >=app-text/aspell-0.50 )
|
||||
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
|
||||
ssl? ( >=dev-libs/openssl-1.0.2:0= )
|
||||
tidy? ( app-text/htmltidy )
|
||||
tokyocabinet? ( dev-db/tokyocabinet )
|
||||
truetype? ( =media-libs/freetype-2* )
|
||||
unicode? ( dev-libs/oniguruma:= )
|
||||
webp? ( media-libs/libwebp:0= )
|
||||
xml? ( >=dev-libs/libxml2-2.9.0 )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
xslt? ( dev-libs/libxslt )
|
||||
zip? ( >=dev-libs/libzip-1.2.0:= )
|
||||
zlib? ( >=sys-libs/zlib-1.2.0.4:0= )
|
||||
"
|
||||
|
||||
IDEPEND=">=app-eselect/eselect-php-0.9.7[apache2?,fpm?]"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/mta
|
||||
fpm? (
|
||||
selinux? ( sec-policy/selinux-phpfpm )
|
||||
systemd? ( sys-apps/systemd ) )"
|
||||
|
||||
# Bison isn't actually needed when building from a release tarball
|
||||
# However, the configure script will warn if it's absent or if you
|
||||
# have an incompatible version installed. See bug 593278.
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-arch/xz-utils
|
||||
>=sys-devel/bison-3.0.1"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PHP_MV="$(ver_cut 1)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/php-iodbc-header-location.patch"
|
||||
)
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
# Always install the production INI file, bug 611214.
|
||||
local phpinisrc="php.ini-production-${phpsapi}"
|
||||
cp php.ini-production "${phpinisrc}" || die
|
||||
|
||||
# default to /tmp for save_path, bug #282768
|
||||
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}" || die
|
||||
|
||||
# Set the extension dir
|
||||
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" \
|
||||
-i "${phpinisrc}" || die
|
||||
|
||||
# Set the include path to point to where we want to find PEAR packages
|
||||
sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}" || die
|
||||
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${phpinisrc}" php.ini
|
||||
|
||||
elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR#${EPREFIX}}"
|
||||
elog
|
||||
|
||||
dodir "${PHP_EXT_INI_DIR#${EPREFIX}}"
|
||||
dodir "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}"
|
||||
|
||||
if use opcache; then
|
||||
elog "Adding opcache to $PHP_EXT_INI_DIR"
|
||||
echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> \
|
||||
"${D}/${PHP_EXT_INI_DIR}"/opcache.ini
|
||||
dosym "../ext/opcache.ini" \
|
||||
"${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}/opcache.ini"
|
||||
fi
|
||||
|
||||
# SAPI-specific handling
|
||||
if [[ "${sapi}" == "fpm" ]] ; then
|
||||
einfo "Installing FPM config files php-fpm.conf and www.conf"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
doins sapi/fpm/php-fpm.conf
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}/fpm.d"
|
||||
doins sapi/fpm/www.conf
|
||||
fi
|
||||
|
||||
dodoc php.ini-{development,production}
|
||||
}
|
||||
|
||||
php_set_ini_dir() {
|
||||
PHP_INI_DIR="${EPREFIX}/etc/php/${1}-php${SLOT}"
|
||||
PHP_EXT_INI_DIR="${PHP_INI_DIR}/ext"
|
||||
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# In php-7.x, the FPM pool configuration files have been split off
|
||||
# of the main config. By default the pool config files go in
|
||||
# e.g. /etc/php-fpm.d, which isn't slotted. So here we move the
|
||||
# include directory to a subdirectory "fpm.d" of $PHP_INI_DIR. Later
|
||||
# we'll install the pool configuration file "www.conf" there.
|
||||
php_set_ini_dir fpm
|
||||
sed -i "s~^include=.*$~include=${PHP_INI_DIR}/fpm.d/*.conf~" \
|
||||
sapi/fpm/php-fpm.conf.in \
|
||||
|| die 'failed to move the include directory in php-fpm.conf'
|
||||
|
||||
# Emulate buildconf to support cross-compilation
|
||||
rm -fr aclocal.m4 autom4te.cache config.cache \
|
||||
configure main/php_config.h.in || die
|
||||
eautoconf --force
|
||||
eautoheader
|
||||
|
||||
# Remove false positive test failures
|
||||
# stream_isatty fails due to portage redirects
|
||||
# curl tests here fail for network sandbox issues
|
||||
# session tests here fail because we set the session directory to $T
|
||||
rm tests/output/stream_isatty_err.phpt \
|
||||
tests/output/stream_isatty_out-err.phpt \
|
||||
tests/output/stream_isatty_out.phpt \
|
||||
ext/curl/tests/bug76675.phpt \
|
||||
ext/curl/tests/bug77535.phpt \
|
||||
ext/curl/tests/curl_error_basic.phpt \
|
||||
ext/session/tests/bug74514.phpt \
|
||||
ext/session/tests/bug74936.phpt || die
|
||||
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addpredict /usr/share/snmp/mibs/.index #nowarn
|
||||
addpredict /var/lib/net-snmp/mib_indexes #nowarn
|
||||
|
||||
PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
|
||||
|
||||
# The php-fpm config file wants localstatedir to be ${EPREFIX}/var
|
||||
# and not the Gentoo default ${EPREFIX}/var/lib. See bug 572002.
|
||||
local our_conf=(
|
||||
--prefix="${PHP_DESTDIR}"
|
||||
--mandir="${PHP_DESTDIR}/man"
|
||||
--infodir="${PHP_DESTDIR}/info"
|
||||
--libdir="${PHP_DESTDIR}/lib"
|
||||
--with-libdir="$(get_libdir)"
|
||||
--localstatedir="${EPREFIX}/var"
|
||||
--without-pear
|
||||
$(use_enable threads zts)
|
||||
)
|
||||
|
||||
our_conf+=(
|
||||
$(use_with apparmor fpm-apparmor)
|
||||
$(use_with argon2 password-argon2 "${EPREFIX}/usr")
|
||||
$(use_enable bcmath)
|
||||
$(use_with bzip2 bz2 "${EPREFIX}/usr")
|
||||
$(use_enable calendar)
|
||||
$(use_enable coverage gcov)
|
||||
$(use_enable ctype)
|
||||
$(use_with curl)
|
||||
$(use_enable xml dom)
|
||||
$(use_with enchant)
|
||||
$(use_enable exif)
|
||||
$(use_with ffi)
|
||||
$(use_enable fileinfo)
|
||||
$(use_enable filter)
|
||||
$(use_enable ftp)
|
||||
$(use_with nls gettext "${EPREFIX}/usr")
|
||||
$(use_with gmp gmp "${EPREFIX}/usr")
|
||||
$(use_with mhash mhash "${EPREFIX}/usr")
|
||||
$(use_with iconv iconv \
|
||||
$(use elibc_glibc || use elibc_musl || echo "${EPREFIX}/usr"))
|
||||
$(use_enable intl)
|
||||
$(use_enable ipv6)
|
||||
$(use_with kerberos)
|
||||
$(use_with xml libxml)
|
||||
$(use_enable unicode mbstring)
|
||||
$(use_with ssl openssl)
|
||||
$(use_enable pcntl)
|
||||
$(use_enable phar)
|
||||
$(use_enable pdo)
|
||||
$(use_enable opcache)
|
||||
$(use_with postgres pgsql "${EPREFIX}/usr")
|
||||
$(use_enable posix)
|
||||
$(use_with spell pspell "${EPREFIX}/usr")
|
||||
$(use_enable simplexml)
|
||||
$(use_enable sharedmem shmop)
|
||||
$(use_with snmp snmp "${EPREFIX}/usr")
|
||||
$(use_enable soap)
|
||||
$(use_enable sockets)
|
||||
$(use_with sodium)
|
||||
$(use_with sqlite sqlite3)
|
||||
$(use_enable sysvipc sysvmsg)
|
||||
$(use_enable sysvipc sysvsem)
|
||||
$(use_enable sysvipc sysvshm)
|
||||
$(use_with tidy tidy "${EPREFIX}/usr")
|
||||
$(use_enable tokenizer)
|
||||
$(use_enable xml)
|
||||
$(use_enable xmlreader)
|
||||
$(use_enable xmlwriter)
|
||||
$(use_with xslt xsl)
|
||||
$(use_with zip)
|
||||
$(use_with zlib zlib "${EPREFIX}/usr")
|
||||
$(use_enable debug)
|
||||
)
|
||||
|
||||
# DBA support
|
||||
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|
||||
|| use qdbm || use lmdb || use tokyocabinet ; then
|
||||
our_conf+=( "--enable-dba" )
|
||||
fi
|
||||
|
||||
# DBA drivers support
|
||||
our_conf+=(
|
||||
$(use_with cdb)
|
||||
$(use_with berkdb db4 "${EPREFIX}/usr")
|
||||
$(use_enable flatfile)
|
||||
$(use_with gdbm gdbm "${EPREFIX}/usr")
|
||||
$(use_enable inifile)
|
||||
$(use_with qdbm qdbm "${EPREFIX}/usr")
|
||||
$(use_with tokyocabinet tcadb "${EPREFIX}/usr")
|
||||
$(use_with lmdb lmdb "${EPREFIX}/usr")
|
||||
)
|
||||
|
||||
# Support for the GD graphics library
|
||||
our_conf+=(
|
||||
$(use_with truetype freetype)
|
||||
$(use_enable cjk gd-jis-conv)
|
||||
$(use_with gd jpeg)
|
||||
$(use_with xpm)
|
||||
$(use_with webp)
|
||||
)
|
||||
# enable gd last, so configure can pick up the previous settings
|
||||
our_conf+=( $(use_enable gd) )
|
||||
|
||||
# IMAP support
|
||||
if use imap ; then
|
||||
our_conf+=(
|
||||
$(use_with imap imap "${EPREFIX}/usr")
|
||||
$(use_with ssl imap-ssl "${EPREFIX}/usr")
|
||||
)
|
||||
fi
|
||||
|
||||
# LDAP support
|
||||
if use ldap ; then
|
||||
our_conf+=(
|
||||
$(use_with ldap ldap "${EPREFIX}/usr")
|
||||
$(use_with ldap-sasl)
|
||||
)
|
||||
fi
|
||||
|
||||
# MySQL support
|
||||
local mysqllib="mysqlnd"
|
||||
local mysqlilib="mysqlnd"
|
||||
|
||||
our_conf+=( $(use_with mysqli mysqli "${mysqlilib}") )
|
||||
|
||||
local mysqlsock="${EPREFIX}/var/run/mysqld/mysqld.sock"
|
||||
if use mysql || use mysqli ; then
|
||||
our_conf+=( $(use_with mysql mysql-sock "${mysqlsock}") )
|
||||
fi
|
||||
|
||||
# ODBC support
|
||||
if use odbc && use iodbc ; then
|
||||
our_conf+=(
|
||||
--without-unixODBC
|
||||
--with-iodbc
|
||||
$(use_with pdo pdo-odbc "iODBC,${EPREFIX}/usr")
|
||||
)
|
||||
elif use odbc ; then
|
||||
our_conf+=(
|
||||
--with-unixODBC="${EPREFIX}/usr"
|
||||
--without-iodbc
|
||||
$(use_with pdo pdo-odbc "unixODBC,${EPREFIX}/usr")
|
||||
)
|
||||
else
|
||||
our_conf+=(
|
||||
--without-unixODBC
|
||||
--without-iodbc
|
||||
--without-pdo-odbc
|
||||
)
|
||||
fi
|
||||
|
||||
# Oracle support
|
||||
our_conf+=( $(use_with oci8-instant-client oci8) )
|
||||
|
||||
# PDO support
|
||||
if use pdo ; then
|
||||
our_conf+=(
|
||||
$(use_with mssql pdo-dblib "${EPREFIX}/usr")
|
||||
$(use_with mysql pdo-mysql "${mysqllib}")
|
||||
$(use_with postgres pdo-pgsql)
|
||||
$(use_with sqlite pdo-sqlite)
|
||||
$(use_with firebird pdo-firebird "${EPREFIX}/usr")
|
||||
$(use_with oci8-instant-client pdo-oci)
|
||||
)
|
||||
fi
|
||||
|
||||
# readline/libedit support
|
||||
our_conf+=(
|
||||
$(use_with readline readline "${EPREFIX}/usr")
|
||||
$(use_with libedit)
|
||||
)
|
||||
|
||||
# Session support
|
||||
if use session ; then
|
||||
our_conf+=( $(use_with session-mm mm "${EPREFIX}/usr") )
|
||||
else
|
||||
our_conf+=( $(use_enable session) )
|
||||
fi
|
||||
|
||||
# Use pic for shared modules such as apache2's mod_php
|
||||
our_conf+=( --with-pic )
|
||||
|
||||
# we use the system copy of pcre
|
||||
# --with-external-pcre affects ext/pcre
|
||||
our_conf+=(
|
||||
--with-external-pcre
|
||||
$(use_with jit pcre-jit)
|
||||
)
|
||||
|
||||
# Catch CFLAGS problems
|
||||
# Fixes bug #14067.
|
||||
# Changed order to run it in reverse for bug #32022 and #12021.
|
||||
replace-cpu-flags "k6*" "i586"
|
||||
|
||||
# Cache the ./configure test results between SAPIs.
|
||||
our_conf+=( --cache-file="${T}/config.cache" )
|
||||
|
||||
# Support user-passed configuration parameters
|
||||
our_conf+=( ${EXTRA_ECONF:-} )
|
||||
|
||||
# Support the Apache2 extras, they must be set globally for all
|
||||
# SAPIs to work correctly, especially for external PHP extensions
|
||||
|
||||
local one_sapi
|
||||
local sapi
|
||||
mkdir -p "${WORKDIR}/sapis-build" || die
|
||||
for one_sapi in $SAPIS ; do
|
||||
use "${one_sapi}" || continue
|
||||
php_set_ini_dir "${one_sapi}"
|
||||
|
||||
# The BUILD_DIR variable is used to determine where to output
|
||||
# the files that autotools creates. This was all originally
|
||||
# based on the autotools-utils eclass.
|
||||
BUILD_DIR="${WORKDIR}/sapis-build/${one_sapi}"
|
||||
cp -a "${S}" "${BUILD_DIR}" || die
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
local sapi_conf=(
|
||||
--with-config-file-path="${PHP_INI_DIR}"
|
||||
--with-config-file-scan-dir="${PHP_EXT_INI_DIR_ACTIVE}"
|
||||
)
|
||||
|
||||
for sapi in $SAPIS ; do
|
||||
case "$sapi" in
|
||||
cli|cgi|embed|fpm|phpdbg)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf+=( "--enable-${sapi}" )
|
||||
if [[ "fpm" == "${sapi}" ]] ; then
|
||||
sapi_conf+=(
|
||||
$(use_with acl fpm-acl)
|
||||
$(use_with systemd fpm-systemd)
|
||||
)
|
||||
fi
|
||||
else
|
||||
sapi_conf+=( "--disable-${sapi}" )
|
||||
fi
|
||||
;;
|
||||
|
||||
apache2)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf+=( --with-apxs2="${EPREFIX}/usr/bin/apxs" )
|
||||
else
|
||||
sapi_conf+=( --without-apxs2 )
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
# Construct the $myeconfargs array by concatenating $our_conf
|
||||
# (the common args) and $sapi_conf (the SAPI-specific args).
|
||||
local myeconfargs=( "${our_conf[@]}" )
|
||||
myeconfargs+=( "${sapi_conf[@]}" )
|
||||
|
||||
pushd "${BUILD_DIR}" > /dev/null || die
|
||||
econf "${myeconfargs[@]}"
|
||||
popd > /dev/null || die
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# snmp seems to run during src_compile, too (bug #324739)
|
||||
addpredict /usr/share/snmp/mibs/.index #nowarn
|
||||
addpredict /var/lib/net-snmp/mib_indexes #nowarn
|
||||
|
||||
local sapi
|
||||
for sapi in ${SAPIS} ; do
|
||||
if use "${sapi}"; then
|
||||
cd "${WORKDIR}/sapis-build/$sapi" || \
|
||||
die "Failed to change dir to ${WORKDIR}/sapis-build/$1"
|
||||
emake
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# see bug #324739 for what happens when we don't have that
|
||||
addpredict /usr/share/snmp/mibs/.index #nowarn
|
||||
|
||||
# grab the first SAPI that got built and install common files from there
|
||||
local first_sapi="", sapi=""
|
||||
for sapi in $SAPIS ; do
|
||||
if use $sapi ; then
|
||||
first_sapi=$sapi
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# Makefile forgets to create this before trying to write to it...
|
||||
dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
|
||||
|
||||
# Install php environment (without any sapis)
|
||||
cd "${WORKDIR}/sapis-build/$first_sapi" || die
|
||||
emake INSTALL_ROOT="${D}" \
|
||||
install-build install-headers install-programs
|
||||
|
||||
local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
|
||||
|
||||
# Create the directory where we'll put version-specific php scripts
|
||||
keepdir "/usr/share/php${PHP_MV}"
|
||||
|
||||
local file=""
|
||||
local sapi_list=""
|
||||
|
||||
for sapi in ${SAPIS}; do
|
||||
if use "${sapi}" ; then
|
||||
einfo "Installing SAPI: ${sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${sapi}" || die
|
||||
|
||||
if [[ "${sapi}" == "apache2" ]] ; then
|
||||
# We're specifically not using emake install-sapi as libtool
|
||||
# may cause unnecessary relink failures (see bug #351266)
|
||||
insinto "${PHP_DESTDIR#${EPREFIX}}/apache2/"
|
||||
newins ".libs/libphp$(get_libname)" \
|
||||
"libphp${PHP_MV}$(get_libname)"
|
||||
keepdir "/usr/$(get_libdir)/apache2/modules"
|
||||
else
|
||||
# needed each time, php_install_ini would reset it
|
||||
local dest="${PHP_DESTDIR#${EPREFIX}}"
|
||||
into "${dest}"
|
||||
case "$sapi" in
|
||||
cli)
|
||||
source="sapi/cli/php"
|
||||
# Install the "phar" archive utility.
|
||||
if use phar ; then
|
||||
emake INSTALL_ROOT="${D}" install-pharcmd
|
||||
dosym "..${dest#/usr}/bin/phar" "/usr/bin/phar${SLOT}"
|
||||
fi
|
||||
;;
|
||||
cgi)
|
||||
source="sapi/cgi/php-cgi"
|
||||
;;
|
||||
fpm)
|
||||
source="sapi/fpm/php-fpm"
|
||||
;;
|
||||
embed)
|
||||
source="libs/libphp$(get_libname)"
|
||||
;;
|
||||
phpdbg)
|
||||
source="sapi/phpdbg/phpdbg"
|
||||
;;
|
||||
*)
|
||||
die "unhandled sapi in src_install"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "${source}" == *"$(get_libname)" ]]; then
|
||||
dolib.so "${source}"
|
||||
else
|
||||
dobin "${source}"
|
||||
local name="$(basename ${source})"
|
||||
dosym "..${dest#/usr}/bin/${name}" "/usr/bin/${name}${SLOT}"
|
||||
fi
|
||||
fi
|
||||
|
||||
php_install_ini "${sapi}"
|
||||
|
||||
# construct correct SAPI string for php-config
|
||||
# thanks to ferringb for the bash voodoo
|
||||
if [[ "${sapi}" == "apache2" ]]; then
|
||||
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
|
||||
else
|
||||
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Installing opcache module
|
||||
if use opcache ; then
|
||||
into "${PHP_DESTDIR#${EPREFIX}}"
|
||||
dolib.so "modules/opcache$(get_libname)"
|
||||
fi
|
||||
|
||||
# Install env.d files
|
||||
newenvd "${FILESDIR}/20php5-envd" "20php${SLOT}"
|
||||
sed -e "s|/lib/|/$(get_libdir)/|g" -i "${ED}/etc/env.d/20php${SLOT}" || die
|
||||
sed -e "s|php5|php${SLOT}|g" -i "${ED}/etc/env.d/20php${SLOT}" || die
|
||||
|
||||
# set php-config variable correctly (bug #278439)
|
||||
sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \
|
||||
"${ED}/usr/$(get_libdir)/php${SLOT}/bin/php-config" || die
|
||||
|
||||
if use fpm ; then
|
||||
if use systemd; then
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at.service" \
|
||||
"php-fpm@${SLOT}.service"
|
||||
else
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at-simple.service" \
|
||||
"php-fpm@${SLOT}.service"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
|
||||
if [[ ! -x "${PHP_BIN}" ]] ; then
|
||||
ewarn "Test phase requires USE=cli, skipping"
|
||||
return
|
||||
else
|
||||
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis-build/cgi/sapi/cgi/php-cgi" ]] ; then
|
||||
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis-build/cgi/sapi/cgi/php-cgi"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis-build/phpdbg/sapi/phpdbg/phpdbg" ]] ; then
|
||||
export TEST_PHPDBG_EXECUTABLE="${WORKDIR}/sapis-build/phpdbg/sapi/phpdbg/phpdbg"
|
||||
fi
|
||||
|
||||
SKIP_ONLINE_TESTS=1 REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d \
|
||||
"session.save_path=${T}" \
|
||||
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d \
|
||||
"session.save_path=${T}"
|
||||
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
mv "${name}.out" "${name}.out.orig" 2>/dev/null || die
|
||||
done
|
||||
|
||||
local failed="$(find -name '*.out')"
|
||||
if [[ ${failed} != "" ]] ; then
|
||||
ewarn "The following test cases failed unexpectedly:"
|
||||
for name in ${failed}; do
|
||||
ewarn " ${name/.out/}"
|
||||
done
|
||||
else
|
||||
einfo "No unexpected test failures, all fine"
|
||||
fi
|
||||
|
||||
if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
|
||||
local passed=""
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
[[ -f "${name}.diff" ]] && continue
|
||||
passed="${passed} ${name}"
|
||||
done
|
||||
if [[ ${passed} != "" ]] ; then
|
||||
einfo "The following test cases passed unexpectedly:"
|
||||
for name in ${passed}; do
|
||||
ewarn " ${passed}"
|
||||
done
|
||||
else
|
||||
einfo "None of the known-to-fail tests passed, all fine"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Output some general info to the user
|
||||
if use apache2 ; then
|
||||
elog
|
||||
elog "To enable PHP in apache, you will need to add \"-D PHP\" to"
|
||||
elog "your apache2 command. OpenRC users can append that string to"
|
||||
elog "APACHE2_OPTS in /etc/conf.d/apache2."
|
||||
elog
|
||||
elog "The apache module configuration file 70_mod_php.conf is"
|
||||
elog "provided (and maintained) by eselect-php."
|
||||
elog
|
||||
fi
|
||||
|
||||
# Create the symlinks for php
|
||||
local m
|
||||
for m in ${SAPIS}; do
|
||||
[[ ${m} == 'embed' ]] && continue;
|
||||
if use $m ; then
|
||||
local ci=$(eselect php show $m)
|
||||
if [[ -z $ci ]]; then
|
||||
eselect php set $m php${SLOT} || die
|
||||
einfo "Switched ${m} to use php:${SLOT}"
|
||||
einfo
|
||||
elif [[ $ci != "php${SLOT}" ]] ; then
|
||||
elog "To switch $m to use php:${SLOT}, run"
|
||||
elog " eselect php set $m php${SLOT}"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Remove dead symlinks for SAPIs that were just disabled. For
|
||||
# example, if the user has the cgi SAPI enabled, then he has an
|
||||
# eselect-php symlink for it. If he later reinstalls PHP with
|
||||
# USE="-cgi", that symlink will break. This call to eselect is
|
||||
# supposed to remove that dead link per bug 572436.
|
||||
eselect php cleanup || die
|
||||
|
||||
if ! has "php${SLOT/./-}" ${PHP_TARGETS}; then
|
||||
elog "To build extensions for this version of PHP, you will need to"
|
||||
elog "add php${SLOT/./-} to your PHP_TARGETS USE_EXPAND variable."
|
||||
elog
|
||||
fi
|
||||
|
||||
# Warn about the removal of PHP_INI_VERSION if the user has it set.
|
||||
if [[ -n "${PHP_INI_VERSION}" ]]; then
|
||||
ewarn 'The PHP_INI_VERSION variable has been phased out. You may'
|
||||
ewarn 'remove it from your configuration at your convenience. See'
|
||||
ewarn
|
||||
ewarn ' https://bugs.gentoo.org/611214'
|
||||
ewarn
|
||||
ewarn 'for more information.'
|
||||
fi
|
||||
|
||||
elog "For details on how version slotting works, please see"
|
||||
elog "the wiki:"
|
||||
elog
|
||||
elog " https://wiki.gentoo.org/wiki/PHP"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# This serves two purposes. First, if we have just removed the last
|
||||
# installed version of PHP, then this will remove any dead symlinks
|
||||
# belonging to eselect-php. Second, if a user upgrades slots from
|
||||
# (say) 5.6 to 7.0 and depcleans the old slot, then this will update
|
||||
# his existing symlinks to point to the new 7.0 installation. The
|
||||
# latter is bug 432962.
|
||||
#
|
||||
# Note: the eselect-php package may not be installed at this point,
|
||||
# so we can't die() if this command fails.
|
||||
eselect php cleanup
|
||||
}
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST flatbuffers-2.0.0.tar.gz 1538022 BLAKE2B ccd827a43da39cf831727b439beed0cea216cdf50dbfe70954854bbe388b2c47ed4e78cc87e3fc0d5568034b13baa2ea96480914cc8129747bccbf8ea928847c SHA512 26a06b572c0e4c9685743bd2d2162ac7dcd74b9324624cc3f3ef5b154c0cee7c52a04b77cdc184245d2d6ae38dfdcc4fd66001c318aa8ca001d2bf1d85d66a89
|
||||
DIST flatbuffers-2.0.6.tar.gz 1724250 BLAKE2B b6969b28dba753c4551b33d27409d9925c10a640ae860264f8054c19a470ce3da366c0bf7917bf7fe4f6cb57acbfbe1837f175fde40b84d311df6d1378d146ce SHA512 be631f34064c28d81876bf137c796e9736623cf2cc4f2a05dd45372e7195729c99fad1fa795f8ce71a408756a842edbdc0c3bc714a7cf63203a1de8681d86fb6
|
||||
EBUILD flatbuffers-2.0.0-r1.ebuild 831 BLAKE2B 68d76c63ca1b7e7952029c697401b27d3d16917a1bace1b98df7ca5a4751f4e6d0c9be6f85a655c517add23d13b60c804004f243854a46cd2bf9feef71bc956a SHA512 dd77a7b4ede065ae9e6e8494a85f47f7350cb31cf5d861369f0e0f1f233b3e05847ab03ab528f52134caccae90b63dd8bf02f6e4672785592044eef5229d9435
|
||||
EBUILD flatbuffers-2.0.6.ebuild 915 BLAKE2B 88c4359a8c163cfafa64a7ff8100b88fc1c50dff33e7beb7defed3730b1293c720532dfc12dbb2537a294c864e4b284c0cab36b5f6e2a35e3078007ce4ddb0b6 SHA512 2383d41cc3e82415604d71cac9cb9a833702af2374eae812e8a0176213ed1177c45c8e5db5eab7f43b912c952763e66c96cbdf7e3d1f563224189cbecde97c55
|
||||
MISC metadata.xml 333 BLAKE2B 406420eb792181bdf5e8c93153e9306c84fd6f3fd1148454ec57e858b411b698cff132f5ee4695866ab8984d665201a8ebc942ae425545bd67641e9c1d364b21 SHA512 b9d41f9dc12a72fe220b3b9673fac2656d060be1ed80b1935142e4706e6dc0663dc2667e84245328c8968b5a534fe48800b9b2e8e2b2635365ae741c126f757e
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Memory efficient serialization library"
|
||||
HOMEPAGE="https://google.github.io/flatbuffers/"
|
||||
SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
# From 1.2.0->2.0.0, incremented SONAME, although the interface didn't actually change.
|
||||
# (Apparently to adopt semver.)
|
||||
SLOT="0/2"
|
||||
KEYWORDS="amd64 ~arm arm64 x86"
|
||||
IUSE="static-libs test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS=( readme.md )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DFLATBUFFERS_BUILD_FLATLIB=$(usex static-libs)
|
||||
-DFLATBUFFERS_BUILD_SHAREDLIB=ON
|
||||
-DFLATBUFFERS_BUILD_TESTS=$(usex test)
|
||||
)
|
||||
|
||||
use elibc_musl && mycmakeargs+=( -DFLATBUFFERS_LOCALE_INDEPENDENT=0 )
|
||||
|
||||
cmake_src_configure
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
AUX libmaa-1.3.2-libtool.patch 1058 BLAKE2B 6466bfd9a3776f64eda869910de9766a154654dcf20a924abe17a373e1489f39ba04469fbd69913525afcc47266db079217e0ef7cdf7328627beb33033937c48 SHA512 b5a5f725c0b4bac7246d5a94aeab99cbfc534edd462e1d0089967f6c1ce6bdc773f4a7d62d694782dde5f904709ac341ca0b25cb793365562f5a53eff8126e03
|
||||
DIST libmaa-1.3.2.tar.gz 287198 BLAKE2B 62432f7f21e353c68a0e9b8f843a5a5acafba5c0cc8e745b07596d7dcaaf9adf723342474b95895fbe1cf003d87d856892ea52196808937b4befdc50ce6d0155 SHA512 dde91e8bf1c08515ff4662282d16a03b18a1dfb16eb7b95be980ba398ed1e65d8cd88e58d454e03a03f48a5ecca8bf23b4ebaf475a98630a9178318c12a1b176
|
||||
EBUILD libmaa-1.3.2.ebuild 587 BLAKE2B 815e6414023ed8c83ad35e5d9d5c31341a42d21925538887dc36e8c32c4c23eb3a5e34c185315b03030c41374429f27cd32f16a6dc6a3e3292c44c11a679a387 SHA512 6cd823d83dc1af56831eab0f15b90f5b87243aff4cd189f2914304de0d6b45cf1991469b23c15c7a8f73a2c5181e0ca6ecccaed7bed9e741e6666abb8eb6fa1c
|
||||
MISC metadata.xml 787 BLAKE2B ea09adf2db0d3ad48fd100b3fdf9a8abb516fc9ce75e3503e5a6e5098f5beaded6195ff2c1dd987e92628657c9aee5d54cc2d71038658eab5150562a87f7ca32 SHA512 670545afb3368a782110664a5d3d463be36d4f1ea5ef09430f612ebbdd65456d35d72cba0023e7316358f555224c3c7024a37c07a276e05a5a67c4c937375060
|
||||
|
@ -0,0 +1,55 @@
|
||||
https://bugs.gentoo.org/778464
|
||||
|
||||
From: orbea <orbea@riseup.net>
|
||||
Date: Fri, 17 Jun 2022 15:59:49 -0700
|
||||
Subject: [PATCH] configure: Add missing LT_INIT
|
||||
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -27,6 +27,7 @@ VERSION=$(MAA_MAJOR).$(MAA_MINOR).$(MAA_TEENY)
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o
|
||||
|
||||
+top_builddir= @top_builddir@
|
||||
srcdir= @srcdir@
|
||||
VPATH= @srcdir@
|
||||
prefix= @prefix@
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -28,6 +28,8 @@ AC_INIT
|
||||
AC_CONFIG_SRCDIR([maa.h])
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
|
||||
+LT_INIT
|
||||
+
|
||||
MAA_MAJOR=1
|
||||
MAA_MINOR=3
|
||||
MAA_TEENY=2
|
||||
@@ -38,7 +40,7 @@ echo .
|
||||
AC_CANONICAL_HOST
|
||||
AC_PROG_AWK
|
||||
AC_PROG_CC
|
||||
-#AC_PROG_LIBTOOL
|
||||
+AC_PROG_LIBTOOL
|
||||
AC_ISC_POSIX
|
||||
|
||||
if test "$CC" = gcc; then
|
||||
@@ -57,8 +59,6 @@ AC_CHECK_PROGS(DVIPS,dvips)
|
||||
AC_CHECK_PROGS(REFBIBTEX,refbibtex)
|
||||
AC_CHECK_PROGS(BIBTEX,bibtex)
|
||||
|
||||
-AC_CHECK_PROG(LIBTOOL,libtool,libtool)
|
||||
-
|
||||
echo .
|
||||
echo Checking for header file support
|
||||
|
||||
--- a/doc/Makefile.in
|
||||
+++ b/doc/Makefile.in
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
.SUFFIXES:
|
||||
|
||||
+top_builddir= @top_builddir@
|
||||
srcdir= @srcdir@
|
||||
VPATH= @srcdir@
|
||||
prefix= @prefix@
|
Binary file not shown.
@ -0,0 +1,86 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
SAMPLE_COMMIT=d7ce88b71820fccaaa4738aa37cbace51f3ed3d9
|
||||
DESCRIPTION="Python library to work with PDF files"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/PyPDF2/
|
||||
https://github.com/py-pdf/PyPDF2/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/py-pdf/PyPDF2/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
test? (
|
||||
https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz
|
||||
-> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz
|
||||
)
|
||||
"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
' 3.8 3.9)
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# Needs network access
|
||||
tests/test_cmap.py
|
||||
tests/test_filters.py::test_decompress_zlib_error
|
||||
tests/test_filters.py::test_lzw_decode_neg1
|
||||
tests/test_generic.py::test_dict_read_from_stream
|
||||
tests/test_generic.py::test_parse_content_stream_peek_percentage
|
||||
tests/test_generic.py::test_read_inline_image_no_has_q
|
||||
tests/test_generic.py::test_read_inline_image_loc_neg_1
|
||||
tests/test_generic.py::test_text_string_write_to_stream
|
||||
tests/test_generic.py::test_name_object_read_from_stream_unicode_error
|
||||
tests/test_generic.py::test_bool_repr
|
||||
'tests/test_page.py::test_page_operations[https://arxiv.org/pdf/2201.00029.pdf-None]'
|
||||
tests/test_page.py::test_extract_text_single_quote_op
|
||||
tests/test_page.py::test_extract_text_page_pdf
|
||||
tests/test_page.py::test_extract_text_page_pdf_impossible_decode_xform
|
||||
tests/test_page.py::test_extract_text_operator_t_star
|
||||
tests/test_reader.py::test_iss925
|
||||
tests/test_reader.py::test_extract_text_xref_issue_2
|
||||
tests/test_reader.py::test_extract_text_xref_issue_3
|
||||
tests/test_reader.py::test_extract_text_pdf15
|
||||
tests/test_reader.py::test_extract_text_xref_table_21_bytes_clrf
|
||||
tests/test_reader.py::test_get_fields
|
||||
tests/test_reader.py::test_get_fields_read_else_block
|
||||
tests/test_reader.py::test_get_fields_read_else_block2
|
||||
tests/test_reader.py::test_get_fields_read_else_block3
|
||||
tests/test_reader.py::test_metadata_is_none
|
||||
tests/test_reader.py::test_get_fields_read_write_report
|
||||
tests/test_utils.py::test_deprecate_no_replacement
|
||||
tests/test_workflows.py::test_extract_textbench
|
||||
tests/test_xmp.py::test_xmpmm
|
||||
tests/test_xmp.py::test_dc_description
|
||||
tests/test_xmp.py::test_dc_creator
|
||||
tests/test_xmp.py::test_custom_properties
|
||||
tests/test_xmp.py::test_dc_subject
|
||||
|
||||
# Broken test
|
||||
tests/test_utils.py::test_deprecate_no_replacement
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
if use test; then
|
||||
mv "sample-files-${SAMPLE_COMMIT}"/* "${P}"/sample-files/ || die
|
||||
fi
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
AUX boltons-21.0.0-python3.10.patch 3393 BLAKE2B 24d9bf2368a0716332e85222fcf8965b9633aa26967e9f9bac6f5ee31fbd8aa71dc2e24bfeeaa6ad766511f8f09a68a1b4288fa66b9ab7ec58f1e01453d5adae SHA512 3db60c0a2cd8680fc58151ad788838b6d795c16b5162326382aba883a7fe86a294cc1d490d40ff40ecd3eecb37e518c85bee0c67910938e8d3623f0dc5f6d6df
|
||||
AUX boltons-21.0.0-python3.11-tests.patch 267 BLAKE2B 03af16f7f058094369f97aa4753833cfd43a0f0da7dbb6a423b3e4fb8b4f52692d993f22449232d8653075f1031d07a25d4a3a7f8d71268d62ba8a62562a1b81 SHA512 de99f35ed56c50122b531a9750225d5135d1b429fdb4a8312d04e4c1cb9cfffeaeec08fa718223d3e1952656f40dfb0698f40c855d09e9db63832c5be0ddcc04
|
||||
DIST boltons-21.0.0.gh.tar.gz 241010 BLAKE2B e8c7cba3aadc40fbf40b784c8060d7b4f9d89457a4416c8fe9c733c3a35cf292609b2cc4e43e20a1308add6b854c3e00cb55274328a14699b3c704b73c189318 SHA512 5f5d642ab8ce0bc26133f4bd5059071bc86ca8e6619ebac796d522a0e4c39b958176ccc9de9a56e0448b24bdcf569e73f51011d5a9fc875bdef12a363f106018
|
||||
EBUILD boltons-21.0.0-r1.ebuild 893 BLAKE2B 86c9f7f32975c177e2c5963e6ff150440457c249a61ca73e63fd7e98888b32fd31a603a0fafbf06df9bad381b869be716df2b020eae069c84d94c15c076eb94c SHA512 9d6ac5eb39563bce4e0dd50e655239e6292606705cd83a08a3ba39ed9a0cbdf0d463cc1bba4eb38e7e4d1baa8d3c7388189a69c5c1781f539327db8733876744
|
||||
EBUILD boltons-21.0.0-r1.ebuild 1010 BLAKE2B 90cc8d149df3a3f73bd01158861489b6795cd86b210cbd09309007455cef0ae7aff1c604aefb103a2c3ea4114e41b590f529850b5899ac8adaa12a3529c08e1e SHA512 d6cf43f761fc97d8d875febbe8ec100a6334e86fe932599ac0fe6f8822cbc69fc12bd10f566453b85c659a52a638b3e0fce2b54072076aa296362ad951d79e27
|
||||
MISC metadata.xml 395 BLAKE2B 6ed304f1dced75dfd795b9fe582ec669bf1c8ba5fefeb9e753b11aa20de8fc0966fc9a8a0ed40e460dd23a67ef0e5721a8dae27b3d799a4be629537bb18f54c9 SHA512 fb73041a95df230153dc686e21a88d91bb06367ae8c22a20777c4a0f13202cbaf59396f4ed2630265d331d6461a6da85f57ba62cc432c4d9105b8404753b383b
|
||||
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1 multiprocessing
|
||||
|
||||
DESCRIPTION="The AWS SDK for Python"
|
||||
HOMEPAGE="
|
||||
https://github.com/boto/boto3/
|
||||
https://pypi.org/project/boto3/
|
||||
"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/boto/boto3"
|
||||
inherit git-r3
|
||||
BOTOCORE_PV=${PV}
|
||||
else
|
||||
SRC_URI="
|
||||
https://github.com/boto/boto3/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
# botocore is x.(y+3).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs/source \
|
||||
'dev-python/guzzle_sphinx_theme'
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# don't lock versions to narrow ranges
|
||||
sed -e '/botocore/ d' \
|
||||
-e '/jmespath/ d' \
|
||||
-e '/s3transfer/ d' \
|
||||
-i setup.py || die
|
||||
|
||||
# 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
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)"
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1 multiprocessing
|
||||
|
||||
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||
HOMEPAGE="
|
||||
https://github.com/boto/botocore/
|
||||
https://pypi.org/project/botocore/
|
||||
"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/boto/botocore"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
<dev-python/jmespath-2[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs/source \
|
||||
'dev-python/guzzle_sphinx_theme'
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# unpin deps
|
||||
sed -i -e "s:>=.*':':" setup.py || die
|
||||
|
||||
# unbundle deps
|
||||
rm -r botocore/vendored || die
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# rely on bundled six
|
||||
tests/functional/test_six_imports.py::test_no_bare_six_imports
|
||||
tests/functional/test_six_threading.py::test_six_thread_safety
|
||||
)
|
||||
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)"
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST check-manifest-0.48.tar.gz 34732 BLAKE2B 9142ec4b4fb4ea96662ae5f1335127b2adb2c148e29d287384335e4b15f82597451bd7cfde856e80c485e00de20bd5591551b0e0a8446870c57d7ea3eb658708 SHA512 79df1ef54e2af669ce08b87d3ca9eb58bc02c6541687be11b270a30f83d89982583a470aff2c6bde0454476b27258c268cabfbb0f90c1188212375d0f95328d9
|
||||
EBUILD check-manifest-0.48.ebuild 777 BLAKE2B cf1476811dea42a6bad4ad0b5a8dab1936bfad6d82455ea476f6752f9634a6a0f209a6849580a12ea6a100197eb656a2c2720b6db661716c1076f48c32609a1c SHA512 fbae96a32d39542c578f39d9e5e1c1d9fd185fa6e6381e18478d1549d1106dff8fe32b0405d566900bdc3a749f2bb7f99e515d443644b01db37701346eacad1b
|
||||
MISC metadata.xml 638 BLAKE2B fdad63e4347e8d6ea2bb59e58b1319bc69ccf71117d711bd1e847cd19183210c84e2f1ab861bb1864cb536998d47186bfbf65ff1c2abe4e2152edd8a48badf2e SHA512 f970f0a5016c15779fe05633927f78c6da1c29adb3b704d26b3efc9841c23d1df7e942246ea453bfdc369c8d867175296904ecc86c898cd648c2f07809cad760
|
||||
MISC metadata.xml 638 BLAKE2B 14772337bfd69c8f030fbe8be11f9869a13c3af8195c8b9dd460c86a7e4d8aa89c6c9edfc7f03eeb560a289253fee937be75da41573b1cc732a6b96f5feed130 SHA512 508c5fcd062311ce972e152a6e956469c09c99f9b17d2e2da5f388eb644c11c3f0b2e0ca9e04f0db6f25a13cb4d18ce86e54da196d83ecd6410b0b564f380f5b
|
||||
|
@ -1,4 +1,7 @@
|
||||
AUX django-filter-21.1-test-skipIf.patch 1054 BLAKE2B 96b9c5bfd9cb5f530dab0ad8bb5b80507596a5ce28f694a1f84bc954ca9de596063bf9c88850e6c5db2758b362463de0f9ae451d34023918d313617fdf2b2715 SHA512 bb0d05b7ee78ef8e4b95f51ceddde7bb3068688bb4fc6805f73787c6a23b38c4230fef5cbf591738b6069eb897840d791b6f414b1a74ad21f776226ef2bfda38
|
||||
AUX django-filter-22.1-test-skipIf.patch 978 BLAKE2B b2b04b8cba223b58834e35ec45261f5c5d6245f4d073eebc0f73577dbf94681f0d14668b9443bb96f51e03b2ebc36508102e24611dfd467611f41e0689bb6d50 SHA512 6ac98c2f1562709c18d276ca1c6ec39db9cb4fa5d73f0a7d6d5e704b115045f40b330478b3d9684d3cad5603c2cbe0ff196bc25a03f5bce5c1b0dfa3a4b46c42
|
||||
DIST django-filter-21.1.tar.gz 154188 BLAKE2B f0ae3119a1dfa466e6630f7da44db1531172991b137fe9420ed533a7b3d4177f689f07fed115566854bd40e5e23f4e9f2f73be32188af2c067a81a95fbccc5a3 SHA512 df2b02bfa93874d9684a26394778203b827c6459ab8cc8c581677e6ccfeedf1323085f53fb52cfc3e0e0a3d27f86de655366bcd4be361502ce86e65b4a4e84d0
|
||||
DIST django-filter-22.1.gh.tar.gz 132450 BLAKE2B 9ef9a4ee15ebd3d461803b4dbbdf9a415e7004ee6b9eaaa75c87f9b3993461e6e294621182478ba0ad06595937c9b98fe89d16e9c48e34ced7dd525f40dc926f SHA512 9db2e684815a69c8b28b512c994ad1845c7a3e53da5dc762e5833c1ee4d90c5e513aa5cb3e59d9033c509b44fe9c27ce4fe798842aec50e040c06d33cb18ec0a
|
||||
EBUILD django-filter-21.1-r2.ebuild 822 BLAKE2B a4b15f39261721eb5fb5f1940c98bfcda4b7ca25c6f43457f6a6cf3946f2aba2ddb8a8a5e70c1f87d766a050af15a2654baef212a47f8b6fe3124bf0a7d94f60 SHA512 75ddd3aa481df16325dee6d20a0bcb136852dcbad88525f216e35be7c073473bee393a34e3955a7d8290580f88323109aaf3145f6721a1220fa57c3c05bef227
|
||||
EBUILD django-filter-22.1.ebuild 963 BLAKE2B 7f18f6f115bc90e8842a4c5bc0373558bea0bd37d8a89baf6cc1d8ac4eaf32ce434787cc9cf2009c5ee6231b0acc34b2afeb89098201a7827e77ae587a86c649 SHA512 e7b187ea4094264f3b6de5b6e7097e2d65e08f40f68c99138f55130cdc29dfdb5610689d0b59c4eb9d27dff240e3077c1e0b178d17d75a37160ffd0287335438
|
||||
MISC metadata.xml 384 BLAKE2B d1de931c4e164f99bc55c099b97a44887f5907fa487bb165d5c386458ecca7f18a13803e7be0180cddbc17195c5d5fe3219524f49b30e6c81303d221d6f764b9 SHA512 c316163f5ef1a02754589764a5a585fefc60b9921775d56a558ffcc87896071764d55c6c5cb4dd436eee17b0fee87330a4cca38884cca76521f8098e9fe2e60b
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Django app allowing declarative dynamic QuerySet filtering from URL parameters"
|
||||
HOMEPAGE="
|
||||
https://github.com/carltongibson/django-filter/
|
||||
https://pypi.org/project/django-filter/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/carltongibson/django-filter/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/django-3.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/coreapi[${PYTHON_USEDEP}]
|
||||
dev-python/djangorestframework[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-test-skipIf.patch
|
||||
)
|
||||
|
||||
python_test() {
|
||||
local -x DJANGO_SETTINGS_MODULE=tests.settings
|
||||
"${EPYTHON}" -m django test -v 2 || die
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
diff --git a/tests/rest_framework/test_filterset.py b/tests/rest_framework/test_filterset.py
|
||||
index d1cb51a..b6f89cf 100644
|
||||
--- a/tests/rest_framework/test_filterset.py
|
||||
+++ b/tests/rest_framework/test_filterset.py
|
||||
@@ -4,7 +4,7 @@ from django.conf import settings
|
||||
from django.test import TestCase
|
||||
from django.test.utils import override_settings
|
||||
|
||||
-from django_filters.compat import is_crispy
|
||||
+from django_filters.compat import crispy_forms
|
||||
from django_filters.rest_framework import FilterSet, filters
|
||||
from django_filters.widgets import BooleanWidget
|
||||
|
||||
@@ -37,7 +37,7 @@ class FilterSetFilterForFieldTests(TestCase):
|
||||
self.assertEqual(result.extra["widget"], BooleanWidget)
|
||||
|
||||
|
||||
-@skipIf(is_crispy(), "django_crispy_forms must be installed")
|
||||
+@skipIf(crispy_forms is None, "django_crispy_forms must be installed")
|
||||
@override_settings(INSTALLED_APPS=settings.INSTALLED_APPS + ("crispy_forms",))
|
||||
class CrispyFormsCompatTests(TestCase):
|
||||
def test_crispy_helper(self):
|
@ -1,4 +1,6 @@
|
||||
AUX jmespath-1.0.0-py311.patch 857 BLAKE2B 8cd99015c73adad7855c6d7f6aa171dd2a0ad44300a37d7eb0710e5a696c31dc785632a69bc3a961d7d141058baca7325593d4cc4589c99735b0e050ca090e0b SHA512 f6c140589ff6a9049021437f846b1cdc8a6afcd0078679f04ba1e29e3d8cddc0c88e1b147c101d137f730c028f622c45054c8db7e30e5b898d3ff9940fa3a943
|
||||
DIST jmespath.py-1.0.0.gh.tar.gz 80829 BLAKE2B dcd5e61ef846c5bcd9ac59480f909b05310dbe785c21e97c81981db90d104d17a3319f766b8926e8c8e3ae8b0e2164051d5312c74fa9c16979d802aafd286654 SHA512 d55ea1c4041e1a5043b3e3b7efcd1e561b92a394e3facbe96b069ff6a9a11c20553e62cfbc5fea966670c71376f9f9ccc24d8905f253e0f1d96dd7a588cc3e44
|
||||
DIST jmespath.py-1.0.1.gh.tar.gz 80936 BLAKE2B 9dfcdf4a8359d0e7c5f333e349d12e5c438693cf81b64df1a8a3b7211304ee228e9579be528a9b35ee0e4289539a5b4e214fcb9cb42d2b3fdbdd2e1a83975bc2 SHA512 c1676a4b7565d25c2948569005c503a0ca33908de6ed16536767da2c00c634e4ee345bcaf88a01bf6cd2996aaf722faaedff80061ab65ee77e5bc0f494f86a70
|
||||
EBUILD jmespath-1.0.0.ebuild 842 BLAKE2B 875c2eac8288ceef5d863e764b27be3db5d2ddda2e7c40001feff2bf01f0788cf0baeb0880ebf6a524af1dac261c5cf33b658271fbc588ad1954d0f95ac165e9 SHA512 8feedd4bfd68a5938f4fe03d3bed8ee892ce23c33cc7de4028ba3526c35434182cd66d30b9fa847e1f61724eef9d43795b933aab9d97a4c16434cc0d4c1f8fcc
|
||||
EBUILD jmespath-1.0.1.ebuild 702 BLAKE2B a9920494665680744737703a0994f387fd1bd3be0aa49bcb98556ea0088064e7aa03779791618c67cad56d36f1c41dfa79a992deba99b8c43043081b70da6fa8 SHA512 996de1ba4ff49484c3734b92b42f5bf4e4f7176f7f81985d018451d5f4460566e87b92f07e2e43ef8afa1e16f39d7c277972d3e983c6f298ddce0064c4590f4a
|
||||
MISC metadata.xml 409 BLAKE2B 7adc2c326ae16f921adb5958e2f80b3309c4b4321c529e11225a7db22dbdb441335a1f35132147ad651c747075078263870ace4e1472398e833fbffd8e90ffd1 SHA512 a4009dc996e7c9df5b5bc31d7504af2d315ec57326edad640ce075f232c435d2dcfe400a7cb10cc33bafc142651a712df570efbfb2592361c078942c1e9a59bb
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=jmespath.py-${PV}
|
||||
DESCRIPTION="JSON Matching Expressions"
|
||||
HOMEPAGE="
|
||||
https://github.com/jmespath/jmespath.py/
|
||||
https://pypi.org/project/jmespath/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/jmespath/jmespath.py/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
# fuzzing tests, they take forever
|
||||
extra/test_hypothesis.py
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,3 +1,5 @@
|
||||
DIST oslo.utils-4.13.0.tar.gz 101834 BLAKE2B 9d3457ee9ce1746869120bf66d83495b4e1f2b4ca005285fa121ff4c176e85148662cd1de52bdaf93dc18d85478f2cbfde9b310e748b895f01c77ef82019dc0e SHA512 1d97fdaab79cc6c4cc34efdafca7263a2679e60d446aadc46fe31d7fdda2051b37f9df79d149644d914c7274e7fa2d9ef6a1c1aeafad8a1333221dcbe65f4723
|
||||
DIST oslo.utils-5.0.0.tar.gz 101823 BLAKE2B be62ddc2fb9130e3f678366b6181f1f334f95846a09ede4a08917cd88427492978e53039a482a7158f234caf96c9e520026ab6009f1df5de588a9fe68aa0664f SHA512 8941caf086354c9066ef51e64dcab5854b8d99c2b51807cb2d8b75fac0983f5787e499b0727423b624791ead2b5c9b55b463d5ff47f7586f3e302dccec1f5408
|
||||
EBUILD oslo-utils-4.13.0-r1.ebuild 1669 BLAKE2B 7bada81a49796f1b4cb9cc7ad4feb1e9832149624076dd26fe8c8e610c394127f031d367c14abe46c22212b9882f9c82ff896aab1f984a8f762f40f721d7659d SHA512 b86f2f59fcd2f18bde993c47862462ba1becc45c2b99f27db40c32caf6fcc6b0c2f5c1ffb82547500cd2372f5b381efcfcc5c935a230d3e98b703e8eb5162dff
|
||||
EBUILD oslo-utils-5.0.0.ebuild 1672 BLAKE2B 5c9840e3cda6c0548860f3896dd2915e6f816990ad0ccd9e7f90656d52e8b199aa8063db0fdb6b6c0a0e2e6e908ac25b212256699c2ec52a5eb5c51a2c2fa42b SHA512 4f6dec1e7153b2858c7594b528c9b6552a710296a4b79fe77866514813e0a1d8b6f96a30823defcc0b53de45f7153ffb70693738d72b2eb78a23eb249a6790b5
|
||||
MISC metadata.xml 607 BLAKE2B 4bbcd1e819a4bd7ce0fd4f13d70dfa686c1731f4e7b73d49dbe9dad97d91d6d3bf8c323d0aa167a8ae94b037ef7ef70150debb5a45fc8ba0121e94b02bc688ca SHA512 2a1d9a822c4b6ee4a1cedd2e11970e04ac7ed0639fe6163196874784867a7b2796b840a46338ef53a748b9b6e2dbc6526798124f576a0017c0fe65ec5d46aca8
|
||||
|
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=${P/-/.}
|
||||
DESCRIPTION="Oslo Utility library"
|
||||
HOMEPAGE="https://launchpad.net/oslo"
|
||||
SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2013.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-20.4[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-python/pbr-2.2.0[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/eventlet-0.23.0[${PYTHON_USEDEP}]
|
||||
' python3_{8..9})
|
||||
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ddt-1.0.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_prepare() {
|
||||
# spurious rdep
|
||||
sed -i -e '/pbr/d' requirements.txt || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile
|
||||
if ! has "${EPYTHON}" python3.{8..9}; then
|
||||
find "${BUILD_DIR}"/install -name '*eventletutils*.py' -delete || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
|
||||
eunittest
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST peewee-3.14.10.tar.gz 896121 BLAKE2B c6d42dbca418475325e704e86dbf1d420426b1276a63ad1d49f3361478325b5a4b01bcbd875b32439bb497c4e18248efa6fe44c589c3247ee84043ca1bfc1a74 SHA512 1f423097c67c6a3976ed77586e3ea9db6db42e3c18e6f4c6046176a0e8942a9ce228cefd2a09e39fde359479e70a04e4c06030682442d96657d24984666b13d1
|
||||
DIST peewee-3.15.0.gh.tar.gz 903961 BLAKE2B d3e01171fb281c1b371bc6518366fec698144761d1a88da25200b8a68ab909ca195c7900cc9f7439456ac14472f4b611cdd6ffb512e2448192cb892fb514cc62 SHA512 63c7a765327aa89ec0cb1d6306fa121f25fba39c353b475d6be4c59a2f8cf99724c366a314c769dc78e3da453c888d48d4d6151647af1621cfa16aade7118e25
|
||||
EBUILD peewee-3.14.10-r1.ebuild 803 BLAKE2B a995c5f0079702eed30e2aa34c212a7f08cc62b5fa9e63ee92b943da586cdd31578719088689ee2a8fcb449a65933dedb479cfd4d6d2df423d41a0b5493306cf SHA512 6ac376ab1d7c7e81f3de257a723a0f057d30d48b2dfbf9261f2ef44c1c6fb56520a4542b9dae6a7e3c2308047b2041bb6f5e1b40fb1df5afebb590f815a098aa
|
||||
EBUILD peewee-3.15.0.ebuild 795 BLAKE2B de3dc99c82667838e28a99d3039a331f2061fe17c651f445ae91f5c8090cf085d0c8b84eb651299991d9d3d736a7f08d4219f9c28b49ae35198a597d6f88ca60 SHA512 1d66d6c42f9adc68b3fbc272cd4c0ac933994a863e0e01586f3c42a843d6c976a525a7f80cf6b0e0bde6a8291868d5b8228d3284b5ffa3b7d086dada07b3f4fc
|
||||
MISC metadata.xml 365 BLAKE2B 144b870f5470e3de971f47316313980f95a3453c684fb7c326da025bef8a4e29dc0731808eefdecbb059a49ad77dd4166b3595554ac42d0578bda75c17fc06bf SHA512 9445bc6cf059e5c95c1e9ce5eebad887a43133ea0fad3fb7b70f60395e79bf30a42d893aa65d4c328e7c304b24a86fbdf3939b9ecccad318db01e95c3b4521f3
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Small Python ORM"
|
||||
HOMEPAGE="
|
||||
https://github.com/coleifer/peewee/
|
||||
https://pypi.org/project/peewee/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/coleifer/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~riscv ~x86"
|
||||
IUSE="examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" runtests.py -v 2 || die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && DOCS=( examples/ )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
DIST pgspecial-1.13.1.tar.gz 50269 BLAKE2B 0566a7c2d8ee1ea350e27a4283f56c4cb1360f23ac9fe0147358ff68f527907c47650466dd41ae9c68e8a1f8ba658e452a88db360a7066f5562b7f0c578b8b62 SHA512 4b8f0495451db40087327640edc4bf8c29997b4f501dc5af6d093ad880fc337050d651676ae8ff434da3564e773f9e89e6e7d6bf0d6cfb7b70d8b4beea73a347
|
||||
DIST pgspecial-2.0.0.gh.tar.gz 50098 BLAKE2B 3e4c2b85c8d0e31bdd6d61fd1dd8e9a54b68fef23017e2a11238018d63fff8ba93ee5f8f5f4679321b1a757b4a504d86d9740bea91c95f0312a31cf0135378fa SHA512 59dfbc83be3f263fdf9fdad425675624f2738357f2b3f29abc37b90df1bdae30bee6145faa65715a7a166a9e8ee66201cc5344e697ce0121ae7c6bf9bb3af012
|
||||
DIST pgspecial-2.0.1.gh.tar.gz 50181 BLAKE2B 6f3f9f8feba717c18d3985d80a432eb7d127c65f7436bfc792a44cb5d7aad08e6e3b931cc289a051fbfea43cd5d8d7db44ede6de89683d462d51635c5caf2e04 SHA512 e89e7cd0f7e849fe93b8e8e79e409ee73ba6c22f3d76279415f236184f732d12cdd8b6bb7722b24ec2bd665f3429c0bf4e6905cd24c9739aa78906b12f841f13
|
||||
EBUILD pgspecial-1.13.1-r1.ebuild 1167 BLAKE2B 7b805cf0bb8abfa91ebf86060649ac2b6720a3da4a055ce1d8d02abb2e3a621b3a609ee7e85366d2610c26188f8f02ebe53f90f20f2e985c2746bce52d3b928d SHA512 41701fa1031422cb0c307c6c7899f490a3a600e6ac4276dc95a2621c8065befc2f39181277eae954a2be690655a3a9ed32147298692e5c6e9c3949045e9170e8
|
||||
EBUILD pgspecial-2.0.0.ebuild 1222 BLAKE2B 24a290eb5ff4ea49f43c4d4fc264ba7d39ae0522ec22966cb352f1ba6822954f3d44292ce5981841e7b9ab673540f8bc34707481ea733eaf92e25a80602d41da SHA512 acbc80b993be5310186288350929a0ca9de7d9df2ee129359ecb00980124000e3b41167ae2d3321de07232a270471892c821c98d2ec01f145faae0890fb51667
|
||||
EBUILD pgspecial-2.0.1.ebuild 1222 BLAKE2B a86e51aefbd23c19ac4d69e3fa9b6c4c6bf84a365434f3fe23f13148e72833283ff2225518feeb2d3a453bad8c56d3e262696c11730a3312a97bf57678e0b6ab SHA512 df60948d942ca3f18ac60c3d98520d15d9a1a601c086c17bb737917b5041c95695511d8624bdbaa40b8501c910983d44c534f57c52ad76427049ded1287a6775
|
||||
MISC metadata.xml 542 BLAKE2B f7c36257d672854f57623ce68e09e17b8bc734e0a2afa70308ff3c3dfee23274750a8d98034527e14c757546eb78b84f170b9a4d180e02cf491301ae34127c79 SHA512 cb1eac0516db3ff5f32efb6adcf2c39e5479f7bb2a44f3d7c75f4e38e07812db21fd8e8af94e97c613b54606c2660317b5dbb0221c88cc926968404898f19602
|
||||
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python implementation of PostgreSQL meta commands"
|
||||
HOMEPAGE="
|
||||
https://github.com/dbcli/pgspecial/
|
||||
https://pypi.org/project/pgspecial/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/dbcli/pgspecial/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/click-4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/configobj-5.0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/psycopg-3.0.10:0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlparse-0.1.19[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-db/postgresql-8.1[server]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
DOCS=( License.txt README.rst changelog.rst )
|
||||
|
||||
src_test() {
|
||||
local db=${T}/pgsql
|
||||
|
||||
initdb --username=postgres -D "${db}" || die
|
||||
# TODO: random port
|
||||
pg_ctl -w -D "${db}" start \
|
||||
-o "-h '127.0.0.1' -p 5432 -k '${T}'" || die
|
||||
psql -h "${T}" -U postgres -d postgres \
|
||||
-c "ALTER ROLE postgres WITH PASSWORD 'postgres';" || die
|
||||
createdb -h "${T}" -U postgres _test_db || die
|
||||
|
||||
distutils-r1_src_test
|
||||
|
||||
pg_ctl -w -D "${db}" stop || die
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
DIST python-distutils-extra-2.45.tar.bz2 38094 BLAKE2B b8c0adcb92d07e087e10389c9671e9eca78a9a634d0092c1633e184fb9d128b006903ce8f2c9deb504b3d1557a8afc78e3edea7f1a2e95734c55099b4a21dd41 SHA512 04d2be290726d7ceed599031bfa960468c6a8654c8d9105dd77cb5744f6908d1c9a6732095692aebde1f1e042ef70b2695d41586663e4d539ee96247a39f02a1
|
||||
DIST python-distutils-extra-2.46.tar.bz2 38178 BLAKE2B 66bded2a07a65a45e7b5a36c1846a0927db8cc38c158754c660ea854244736325b9b186de1739666e228199b32ff6184676a78f132689a996a9a417562dc0926 SHA512 78dd97f40e805dd106fae279770fbd28af75a01a0c514cdb937dccd87948cb8ae2413dbab43d624365b44a29e6da7b0a1290502a0a0d63e8abb700ae9b9c5cb1
|
||||
DIST python-distutils-extra-2.47.tar.bz2 38346 BLAKE2B 2f9ad3c8c429570bd45c06af3eb2b12bf5f539c49e3b3a40c3558e67a4e4fc9f0bca0c4217bac6c8792e0514d75ac2b4b112dbeaffa96d626fffcc237860342d SHA512 b848b8ccfd84289e5482ba264a8d8d81cdbeba97358c9fff6fb02040eeb740bacfcc19b302e56a95b400528f7e03390ea4073b8c80d1e5a5e61e1b6c46b39648
|
||||
EBUILD python-distutils-extra-2.45.ebuild 872 BLAKE2B ca19e571d86a908c826099ef9127ca91a8c47ceaee03b1ec4bb1ed3a04ed12464ccd2369dfd4de71e839a274b3fe81a994440c6b8a70ecb9fc215430134bc088 SHA512 9b3a89a7c8ed0e0f5960636064044c36cdb46847c75f7cfe0a0a2f459737030b670268ce71c2d888edcb8847401a072bc3f52d91fb501c176686e91f646736b9
|
||||
EBUILD python-distutils-extra-2.46.ebuild 957 BLAKE2B 1e0cf322dcdd07d8a468f6ac94967289de264f9146cd0db3649e0431b325a679c56286f62a3257e45a9f98a4793e0695497a6d413dfb949e49be219ed865a078 SHA512 5161b83a90a5f386302ec392ae7634b6ee5dd6c8fb0bcfb5003385269cec1a8cab109f84ef7c7a0bae5b38bc75e23e60b9f626d1619397850293832481a95622
|
||||
EBUILD python-distutils-extra-2.47.ebuild 957 BLAKE2B 1e0cf322dcdd07d8a468f6ac94967289de264f9146cd0db3649e0431b325a679c56286f62a3257e45a9f98a4793e0695497a6d413dfb949e49be219ed865a078 SHA512 5161b83a90a5f386302ec392ae7634b6ee5dd6c8fb0bcfb5003385269cec1a8cab109f84ef7c7a0bae5b38bc75e23e60b9f626d1619397850293832481a95622
|
||||
MISC metadata.xml 340 BLAKE2B 21821b0f3d5483e62c4e84a0d98acb7a9984cc7a72d9c3fd140dd37fb2b93b724c8b92a80da9880d2cf314cb457f7f328efa5313fecc361dcebb1d4ea61ae504 SHA512 a7413179a36b347c297d304e24ea7ba9995fb8e66d2d0498923da83dde5e657855e6d875bc9f10b62f4c7342bf0e07a42bb0c1033d74b7a07422d29273c46857
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Gettext support, themed icons and scrollkeeper-based documentation in distutils"
|
||||
HOMEPAGE="
|
||||
https://salsa.debian.org/python-team/packages/python-distutils-extra/
|
||||
https://launchpad.net/python-distutils-extra/
|
||||
"
|
||||
SRC_URI="
|
||||
https://salsa.debian.org/python-team/packages/python-distutils-extra/-/archive/${PV}/${P}.tar.bz2
|
||||
"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS=( doc/{README,FAQ} )
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-libs/gobject-introspection
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject[${PYTHON_USEDEP}]
|
||||
dev-util/intltool
|
||||
)
|
||||
"
|
||||
|
||||
python_test() {
|
||||
local -x SETUPTOOLS_USE_DISTUTILS=stdlib
|
||||
"${EPYTHON}" test/auto.py -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,123 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_PEP517=standalone
|
||||
PYTHON_TESTED=( python3_{8..11} pypy3 )
|
||||
PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit distutils-r1 multiprocessing
|
||||
|
||||
DESCRIPTION="Collection of extensions to Distutils"
|
||||
HOMEPAGE="
|
||||
https://github.com/pypa/setuptools/
|
||||
https://pypi.org/project/setuptools/
|
||||
"
|
||||
SRC_URI="
|
||||
mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/appdirs-1.4.4-r2[${PYTHON_USEDEP}]
|
||||
>=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}]
|
||||
>=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/importlib_metadata-4.11.1[${PYTHON_USEDEP}]
|
||||
' 3.8 3.9)
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/importlib_resources-5.4.0-r3[${PYTHON_USEDEP}]
|
||||
' 3.8)
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
>=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/build[${PYTHON_USEDEP}]
|
||||
>=dev-python/ini2toml-0.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/filelock-3.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pip[${PYTHON_USEDEP}]
|
||||
dev-python/pip-run[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
>=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/virtualenv-20[${PYTHON_USEDEP}]
|
||||
dev-python/wheel[${PYTHON_USEDEP}]
|
||||
' "${PYTHON_TESTED[@]}")
|
||||
)
|
||||
"
|
||||
PDEPEND="
|
||||
>=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
DOCS=( {CHANGES,README}.rst )
|
||||
|
||||
src_prepare() {
|
||||
local PATCHES=(
|
||||
# TODO: remove this when we're 100% PEP517 mode
|
||||
"${FILESDIR}"/setuptools-62.4.0-py-compile.patch
|
||||
)
|
||||
|
||||
# remove bundled dependencies, setuptools will switch to system deps
|
||||
# automatically
|
||||
rm -r */_vendor || die
|
||||
|
||||
# remove the ugly */extern hack that breaks on unvendored deps
|
||||
rm -r */extern || die
|
||||
find -name '*.py' -exec sed \
|
||||
-e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \
|
||||
-i {} + || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x SETUPTOOLS_USE_DISTUTILS=stdlib
|
||||
|
||||
if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
|
||||
return
|
||||
fi
|
||||
|
||||
local EPYTEST_DESELECT=(
|
||||
# network
|
||||
# TODO: see if PRE_BUILT_SETUPTOOLS_* helps
|
||||
setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg
|
||||
setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist
|
||||
setuptools/tests/test_distutils_adoption.py
|
||||
setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests
|
||||
setuptools/tests/test_virtualenv.py::test_clean_env_install
|
||||
setuptools/tests/test_virtualenv.py::test_no_missing_dependencies
|
||||
setuptools/tests/test_virtualenv.py::test_test_command_install_requirements
|
||||
# TODO
|
||||
setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic
|
||||
setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors
|
||||
setuptools/tests/test_extern.py::test_distribution_picklable
|
||||
# expects bundled deps in virtualenv
|
||||
setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist
|
||||
setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel
|
||||
setuptools/tests/test_editable_install.py::test_editable_with_pyproject
|
||||
)
|
||||
|
||||
epytest -n "$(makeopts_jobs)" setuptools
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
DIST stripe-3.2.0.tar.gz 245873 BLAKE2B c75864cebc4b62c116138bb3b9fcc7b521a7c89c7252bb2ad03520b0904ad701bab27fbe1a0ae500a2782bf737295218180991fe0d5f224038f7bdcfd2596598 SHA512 dbeb846294928fd608d547b8e4aedf188345ce68ce6e9b4c046e86e5a622d96281cf0507db4d1ba5834c68252bda573da7dac725aa1d7cbeb820c65e166f3a1a
|
||||
DIST stripe-3.3.0.tar.gz 246317 BLAKE2B f734df83509b6c77f865d52b2ec17ac5ac271661478706787616afde1f85cb356f05c2fff63289b3bb180658abab546d39245563f18f4f7a3e8b72a0e578fb34 SHA512 4f00fd9901a5b4d873c4a9a00483f57f4cd9359f8a440b3d783e7aeed250e33400a7405ca8ea5af29fd1b44bc84c65fa59c8121e4ffb4852584ffd3fc2099910
|
||||
DIST stripe-3.4.0.tar.gz 246528 BLAKE2B 81af648356734400c109d674e1f62f45c3b0540b0ed0bd94e407f5072f5bb996270b4edf12bd00e61bb790ee2c12d3d0fa633287a60e27087e64c15aa421650a SHA512 81a391b2fef02028a5680df2240238bd18cc31f522790ee72fd77c861d2f389be3ead9bc1de261ac7bced3061235ffc25b6baadb69a20a2a53ced75aee0119ba
|
||||
EBUILD stripe-3.2.0.ebuild 1816 BLAKE2B 846a6eea171f1d73863f6516db4721a7144180ca414467a9dd6cc815f6d29e7968158edd5b2bed7d9fb46b6245264f7957c715e1ed97439a2c51a7b7bc2af448 SHA512 cb4da8684e5f88a360274f02b300e52f3e741d2e71eadba00217f5ea61f7e443ee60c9efdc7270abb79558e10e61bc217816b53f30cdaa566dce19e33cb21297
|
||||
EBUILD stripe-3.3.0.ebuild 1818 BLAKE2B 07faeb2dbdcec4ff86156c6d77c0f036ce5fa03cd0d554a3b6b9d2038fdb61989aab488e8b79a7c3346b6ef30e308aa064c607ad7dec92f3b52392cc11a8e9d6 SHA512 864157a1a6bd6a34ef80b9f1c731c8e9d0a0b1d6f16134b42bf34cdf70ad80449d3e0197458c831018192d314a239123b4e0ff9243d75093a3310554168876d8
|
||||
EBUILD stripe-3.4.0.ebuild 1818 BLAKE2B 2e62e84762c936b0b92e13f72426398be3642e9ffd2f8147abe9cc4d67122a2d0141457483af3874fe1c2beffb44233a62d9bad44e9fb2f9e0a05eb96105820b SHA512 207206c66e98be9137b9a450e1d778ba75c311f7044c91949473cd5479eb64802205ef4580086865039a542eabbae4851cf74ed908436a63514f69f30f263ad1
|
||||
MISC metadata.xml 372 BLAKE2B e6a38fdec6fc016068e7a0522ba15e83bf358ba1475e54a9630b1e86c75bc14b790c59716317bd81438a1c770e4d31afbe04400ddcd5dd272715c251fd6cb1a2 SHA512 2d9672b242f2d38654f7906097e597dfbdf75afa3583ea331f61772db95d19a802e83ed523c67a6cf3da18411036055c0996fd04d99199618d5205be8a61bd77
|
||||
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Stripe python bindings"
|
||||
HOMEPAGE="
|
||||
https://github.com/stripe/stripe-python/
|
||||
https://pypi.org/project/stripe/
|
||||
"
|
||||
SRC_URI="mirror://pypi/s/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/requests-2.20[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-util/stripe-mock-0.135.0
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
net-misc/curl
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md )
|
||||
|
||||
python_test() {
|
||||
epytest tests
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local stripe_mock_port=12111
|
||||
local stripe_mock_max_port=12121
|
||||
local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log"
|
||||
# Try to start stripe-mock until we find a free port
|
||||
while [[ "${stripe_mock_port}" -le "${stripe_mock_max_port}" ]]; do
|
||||
ebegin "Trying to start stripe-mock on port ${stripe_mock_port}"
|
||||
stripe-mock --http-port ${stripe_mock_port} &> "${stripe_mock_logfile}" &
|
||||
local stripe_mock_pid=$!
|
||||
sleep 2
|
||||
# Did stripe-mock start?
|
||||
curl --fail -u "sk_test_123:" \
|
||||
http://127.0.0.1:${stripe_mock_port}/v1/customers &> /dev/null
|
||||
eend $? "Port ${stripe_mock_port} unavailable"
|
||||
if [[ $? -eq 0 ]]; then
|
||||
einfo "stripe-mock running on port ${stripe_mock_port}"
|
||||
break
|
||||
fi
|
||||
(( stripe_mock_port++ ))
|
||||
done
|
||||
if [[ "${stripe_mock_port}" -gt "${stripe_mock_max_port}" ]]; then
|
||||
eerror "Unable to start stripe-mock for tests"
|
||||
die "Please see the logfile located at: ${stripe_mock_logfile}"
|
||||
fi
|
||||
|
||||
local -x STRIPE_MOCK_PORT=${stripe_mock_port}
|
||||
distutils-r1_src_test
|
||||
|
||||
# Tear down stripe-mock
|
||||
kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock"
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
DIST svg-path-6.0.gh.tar.gz 39195 BLAKE2B a2fd54705a1c41057325a8d9f1151ca7393b4caf496157b4860dd8fb9cda05dcf5bdfe0d601b59c3e25a70e2e01042864936dc5e87b45b7a94e03f4861899884 SHA512 3d51b4912786a5d2bb38f1a98b8b7f4dd0b8e62cdd5e899802eff19bb95d43f4f4c278fbb02951e03e32eff031247a92c95699950be775076d24be37bb6ce70f
|
||||
DIST svg-path-6.1.gh.tar.gz 39240 BLAKE2B 4f7751f436086f4a01f158b59b446272c7d1b345c1f04d9e2d0b543a2227def4e271cc80ef9040fe4ffdcfc42a2572293fc5f1a6a427b631cda3392d18dec478 SHA512 1149c099f2fbc55f4ed4996f8c7c797e65ac6bfad478caf75d15c79f6b2f0bcc055b16254e8d9093c13748c1b44222069fb5e924975bd55aab4f56f3f087600e
|
||||
DIST svg-path-6.2.gh.tar.gz 39478 BLAKE2B ef5a5c7aca3dc0e3f383f5e2810bad8960e32a55d00b6300e30c81fbe837f380d073bae60b891d371f8a9be3ca556ef11821d5b7c2fe5db519465b099d35e3f9 SHA512 7c9a67467e888f4961d54daf2706125c4ae21bb0cd1010f335eb072df78f12b1da99ddcf64a33a85a0e82a8b347f19e876161e3da8ebf43e5e7b45bbaf7d3325
|
||||
EBUILD svg-path-6.0.ebuild 682 BLAKE2B a6f8bce65bc32aca14f6566ab36ee355850de0e350bd6664040b1801bd9213db212fa4c0a50ee970151d9a9eb4be986cd74bc57bc85b7d8bd2e0e48be5086ea3 SHA512 46af4b9e49304692498ee181452af3f02fd63c6b6c06cad6407a78b1e69f142bd62a0d3a281f66961d57bc599829c11cfa5a05455940d34db9c6e665aa1b6231
|
||||
EBUILD svg-path-6.1.ebuild 604 BLAKE2B 497f003a91718fe084bf3a3dc8bde93335b71da040e227ff3ff337d3a3046826b0406cb35e33289c7743041587a385b6e73d4a0a55cd5dcea1869df72cc11ab4 SHA512 6f29310f1097d8720feba3fa64c816ba1eda99b5d4721c32e49700fb1e301a910800463ed1ded8002b03307377e876429d8ee37d4723a080716748b9f8769c24
|
||||
EBUILD svg-path-6.2.ebuild 604 BLAKE2B 497f003a91718fe084bf3a3dc8bde93335b71da040e227ff3ff337d3a3046826b0406cb35e33289c7743041587a385b6e73d4a0a55cd5dcea1869df72cc11ab4 SHA512 6f29310f1097d8720feba3fa64c816ba1eda99b5d4721c32e49700fb1e301a910800463ed1ded8002b03307377e876429d8ee37d4723a080716748b9f8769c24
|
||||
MISC metadata.xml 861 BLAKE2B c1f1d0ab41fdc21c6134352e7261aef6f2b277aa94f9a5bfddac3281c8aef4111e1a3bd83e949fc5b7ffcc92b23bde7ede101552a06cacad9c7b82063ba64353 SHA512 5ac8a5bd6e6c46d9c5d9d320c004d2f0536acfe5cdaafad5288246a9a442a0bb6491746c767adf0d441417172d6e9ed995d4891f6959fa2b6b5b804c1c68d413
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=${P/-/.}
|
||||
DESCRIPTION="SVG path objects and parser"
|
||||
HOMEPAGE="
|
||||
https://github.com/regebro/svg.path/
|
||||
https://pypi.org/project/svg.path/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/regebro/svg.path/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,4 +1,4 @@
|
||||
DIST urllib3-1.26.9.tar.gz 295258 BLAKE2B 1c6b51e4243c18c25bcb53158e645ea71fe33e0d09ca029256bcbe05bf178ba600dd8911c71730bdefc3cf9f65cdfd5740f579d17d293f9ac7c5d3cbff478b6f SHA512 ac384291b02516dee781c98182625356ac7bc03972612577de5286e159cf161b541cc610b103e0eec1c9f40503049b41e972a9e0998fcd834efe2f40af0e7394
|
||||
EBUILD urllib3-1.26.9-r1.ebuild 1856 BLAKE2B e683674af3792d09dd991f44519fcb6d32ae3f6778e93bacf3f7f7aa6d21392d9c269b49123ae3204b7797cdf91bb895c5ca100e12d67bea17abe82d325be952 SHA512 2695a712964571c14a98f156b663c9a57fadb293ca2aad6d7ff969f1d03486d3e5783c139870a242d5992068d2e33437664676fd742b18896b67634364d6c8d9
|
||||
EBUILD urllib3-1.26.9-r2.ebuild 2281 BLAKE2B 66406e024e8f872e59872adc13bca62aa5bf4683d308bf069a3888567554d613d725627f9e414bf28c77065b853e18f00439201758baf3675fb53c216e29d54c SHA512 ee7d4f882d49ae28aff191b472fceb1863a7c8adb07ea90d3264514cf815f7336969b26233fe142fc6e20695ac0adbdee18b0ca45697ad5794b99d70bcddec7c
|
||||
EBUILD urllib3-1.26.9-r3.ebuild 2315 BLAKE2B ec115b8e76fca07a4b2c8405a97187ff99cb69647275300a0ceb884709ea311010b7f605db8076969e2c8db5682b3c5a8cda0d04e197ad97b698c1579e9e7c9e SHA512 ddef2fb641fa2cd8b4e1679716b8b914eeba0f7f0f38e10e7106bfe6487eb7d9bf93fe50142fc627bf8cb9f3b79297684276f92bfdcf71ffc1d56f40f4ee00e5
|
||||
MISC metadata.xml 531 BLAKE2B 3ddfea4b8817c827437a79abae8cf4e9cda95addb1c6505ef13018587720bba0cf0788041c0b4cc8b25f319e7cb1c94117ae25b3cbb567f24373e8e89bedaa7b SHA512 7e7191f0338c4c47f01bdceb3d2c6ed94de2241e77fb3be6cbf3ecf8a0682730392a9ee5adf24304d9a322acc06bd84f4f90f1dddcb258cb2e9ba0de9952b693
|
||||
|
@ -1,5 +1,7 @@
|
||||
DIST warlock-1.3.3.gh.tar.gz 11147 BLAKE2B 1281348076500315c5aa105691b8e5a50ccf2ba79335fb8581a0b89bfc96bb3076a797c4ebe011f6c347667a0971bbbdd2b1bf413d0692ae5977216c524cbee0 SHA512 8a9135a17ccc0d0939ad98eee16100ec68b911d672b3af549f7629edcd6e08129f9e4ab707082593274fc896bc405ab6d6ba9e4bf6fc40b8522ec99327c983ec
|
||||
DIST warlock-2.0.0.gh.tar.gz 19823 BLAKE2B 538f0b8797277ab067c22a5c43a0fc236fe9a5e1117a00d93fc390100f48503415e7db73bbf4639f7ffa08933b026aafc009eba3a2719f42727b78a4f4ac862d SHA512 56ef0aaf8d7bb706e79832d606eaa2c927dd43880a09d339388cae0d629815b2c31bf53ae6005d02fb4d91708ac889586e635b2cdd068f6498c97f6b2276b1b5
|
||||
DIST warlock-2.0.1.gh.tar.gz 19850 BLAKE2B 3ac4f92a68b4e1142a2baf0a0b5670c8b6ee89f22b0b48c061dc5bad8ccbb818ee8a4d7d27f2300562c6e3369662a1d1c8f12135eac1046b87187d1aed42cc54 SHA512 f354f0dd2af524a9e09ed03b072e1f68859fc70bf5ec083f8853fde2f1cec3172bef42318df176a3cf5fa48d93f030010db81d710961f2b05a092a4ee25041c1
|
||||
EBUILD warlock-1.3.3-r3.ebuild 1085 BLAKE2B ae84d28e0f3a4334bde91a9e31ef85ec10da2c7d99ffdc5d4a4fc007096bc79e90840af0718c0fc834b7ded2e59b2d55d767fa3ce1df88142267aabc2e734e1a SHA512 fed7734ca9fd360c511b926889e15f84b2e16255b46026ea1b6253d538718e154a2b0f0f897371cbfa15150c5aa6800119e7b9bcfe59a6f6e1304a895fd5d809
|
||||
EBUILD warlock-2.0.0.ebuild 848 BLAKE2B 9f3876d87499c8ce31ec220ec66c7f71220ddaa3d8b2c6310d3547dfd74de1e4a4607ee9105c999264a2ef2bc833bf54de0857fdcc73a7669026561c4524ec87 SHA512 9884047cd29091755882f10e7cfe6b7ee87906251c56dc326b6df061a1f310862b01b56804bb3823fbfe5b998681d77e7e96fef59f636d54dde425eb016f3f89
|
||||
EBUILD warlock-2.0.1.ebuild 848 BLAKE2B 9f3876d87499c8ce31ec220ec66c7f71220ddaa3d8b2c6310d3547dfd74de1e4a4607ee9105c999264a2ef2bc833bf54de0857fdcc73a7669026561c4524ec87 SHA512 9884047cd29091755882f10e7cfe6b7ee87906251c56dc326b6df061a1f310862b01b56804bb3823fbfe5b998681d77e7e96fef59f636d54dde425eb016f3f89
|
||||
MISC metadata.xml 482 BLAKE2B 28941971c8e9ae4f5d1685ac1b9e53497235a62180a4c18093b54c576211b39f3048433d317ffb587a1335042b3894b8bee32cd903a97eee249c4864cfdec357 SHA512 99840c6ff45fdd5a4cb6a06a9322cfcd167b89a540d092fd75851ceb5a03ebce26c7c4adf702b41cc209eb1efd924aab50809c2840799fbb711578185cfbd61b
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python object model built on JSON schema and JSON patch"
|
||||
HOMEPAGE="
|
||||
https://github.com/bcwaldon/warlock/
|
||||
https://pypi.org/project/warlock/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/bcwaldon/warlock/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/jsonpatch-1[${PYTHON_USEDEP}]
|
||||
<dev-python/jsonpatch-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/jsonschema-5[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/--cov/d' pytest.ini || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue