2771 changed files with 13916 additions and 14412 deletions
-
BINManifest.files.gz
-
BINapp-admin/Manifest.gz
-
3app-admin/ansible/Manifest
-
67app-admin/ansible/ansible-2.7.15.ebuild
-
72app-admin/ansible/ansible-2.8.7.ebuild
-
72app-admin/ansible/ansible-2.8.8.ebuild
-
1app-admin/lib_users/Manifest
-
44app-admin/lib_users/lib_users-0.14.ebuild
-
BINapp-crypt/Manifest.gz
-
2app-crypt/certbot/Manifest
-
50app-crypt/certbot/certbot-0.39.0.ebuild
-
50app-crypt/certbot/certbot-0.40.1.ebuild
-
49app-crypt/certbot/certbot-1.2.0-r1.ebuild
-
51app-crypt/certbot/certbot-1.2.0.ebuild
-
18app-crypt/certbot/certbot-9999.ebuild
-
BINapp-editors/Manifest.gz
-
367app-editors/gvim/gvim-8.2.0210-r1.ebuild
-
367app-editors/gvim/gvim-8.2.0210.ebuild
-
2app-editors/gvim/gvim-9999.ebuild
-
BINapp-emulation/Manifest.gz
-
35app-emulation/libvirt/files/libvirt-6.0.0-fix_paths_in_libvirt-guests_sh.patch
-
2app-emulation/libvirt/libvirt-5.10.0.ebuild
-
3app-emulation/libvirt/libvirt-6.0.0.ebuild
-
11app-emulation/libvirt/libvirt-9999.ebuild
-
16app-emulation/qemu/files/qemu-4.2.0-cflags.patch
-
3app-emulation/qemu/qemu-9999.ebuild
-
BINapp-text/Manifest.gz
-
1app-text/calibre/Manifest
-
269app-text/calibre/calibre-4.10.0.ebuild
-
40app-text/gtkspell/gtkspell-2.0.16-r1.ebuild
-
15app-text/nuspell/nuspell-3.0.0.ebuild
-
1app-text/qpdf/Manifest
-
55app-text/qpdf/qpdf-9.1.1-r1.ebuild
-
BINdev-libs/Manifest.gz
-
1dev-libs/libbytesize/Manifest
-
80dev-libs/libbytesize/libbytesize-2.2.ebuild
-
2dev-libs/libtasn1/Manifest
-
52dev-libs/libtasn1/libtasn1-4.14.ebuild
-
54dev-libs/libtasn1/libtasn1-4.16.0.ebuild
-
48dev-libs/zziplib/files/zziplib-0.13.69-disable-docs.patch
-
BINdev-perl/Manifest.gz
-
2dev-perl/Test-Inter/Test-Inter-1.90.0.ebuild
-
BINdev-python/Manifest.gz
-
2dev-python/flup/flup-1.0.2-r1.ebuild
-
2dev-python/jeepney/jeepney-0.4.1.ebuild
-
2dev-python/munch/munch-2.5.0.ebuild
-
1dev-python/nototools/Manifest
-
36dev-python/nototools/nototools-0_pre20200207.ebuild
-
2dev-python/passlib/passlib-1.7.2.ebuild
-
2dev-python/pkginfo/pkginfo-1.5.0.1.ebuild
-
2dev-python/pytest-timeout/pytest-timeout-1.3.3.ebuild
-
2dev-python/python-magic/python-magic-0.4.15-r1.ebuild
-
2dev-python/rst-linker/rst-linker-1.11.ebuild
-
2dev-python/testpath/testpath-0.4.4.ebuild
-
2dev-python/tqdm/tqdm-4.40.0.ebuild
-
1dev-python/whisper/Manifest
-
33dev-python/whisper/whisper-1.1.3.ebuild
-
BINdev-ruby/Manifest.gz
-
4dev-ruby/request_store/request_store-1.5.0.ebuild
-
BINdev-util/Manifest.gz
-
2dev-util/checkbashisms/Manifest
-
40dev-util/checkbashisms/checkbashisms-2.19.6.ebuild
-
4dev-util/checkbashisms/checkbashisms-2.19.7.ebuild
-
40dev-util/checkbashisms/checkbashisms-2.20.1.ebuild
-
2dev-util/cmake/Manifest
-
217dev-util/cmake/cmake-3.16.2-r1.ebuild
-
217dev-util/cmake/cmake-3.16.4.ebuild
-
2dev-util/strace/Manifest
-
75dev-util/strace/files/strace-5.2-linux-5.3-compat.patch
-
97dev-util/strace/strace-5.2.ebuild
-
99dev-util/strace/strace-5.5.ebuild
-
BINeclass/Manifest.gz
-
158eclass/user-info.eclass
-
149eclass/user.eclass
-
BINkde-apps/Manifest.gz
-
2kde-apps/akonadi-calendar/Manifest
-
49kde-apps/akonadi-calendar/akonadi-calendar-19.12.1.ebuild
-
48kde-apps/akonadi-calendar/akonadi-calendar-19.12.2.ebuild
-
2kde-apps/akonadi-contacts/Manifest
-
47kde-apps/akonadi-contacts/akonadi-contacts-19.12.1.ebuild
-
46kde-apps/akonadi-contacts/akonadi-contacts-19.12.2.ebuild
-
2kde-apps/akonadi-import-wizard/Manifest
-
46kde-apps/akonadi-import-wizard/akonadi-import-wizard-19.12.1.ebuild
-
43kde-apps/akonadi-import-wizard/akonadi-import-wizard-19.12.2.ebuild
-
2kde-apps/akonadi-mime/Manifest
-
42kde-apps/akonadi-mime/akonadi-mime-19.12.1.ebuild
-
40kde-apps/akonadi-mime/akonadi-mime-19.12.2.ebuild
-
2kde-apps/akonadi-notes/Manifest
-
27kde-apps/akonadi-notes/akonadi-notes-19.12.1.ebuild
-
25kde-apps/akonadi-notes/akonadi-notes-19.12.2.ebuild
-
2kde-apps/akonadi-search/Manifest
-
50kde-apps/akonadi-search/akonadi-search-19.12.1.ebuild
-
47kde-apps/akonadi-search/akonadi-search-19.12.2.ebuild
-
2kde-apps/akonadi/Manifest
-
134kde-apps/akonadi/akonadi-19.12.1.ebuild
-
132kde-apps/akonadi/akonadi-19.12.2.ebuild
-
2kde-apps/akonadiconsole/Manifest
-
0kde-apps/akonadiconsole/akonadiconsole-19.12.2.ebuild
-
2kde-apps/akregator/Manifest
-
59kde-apps/akregator/akregator-19.12.1.ebuild
@ -1,6 +1,3 @@ |
|||
DIST ansible-2.7.15.tar.gz 10205890 BLAKE2B 30b0c83ad646cdcd918472be4512ee8cf00e966b9c7ed0431bcf915e858dae6aeb26cdff4eee5d480b751a4c33f30c2b213d8bc67d17bc8774c5ca2bcf897632 SHA512 7140fdb80456f5dd9f34226a9f38ce567ad13e4cd6b4058ae22012867554c9ed19e3cfa0ae7e745bf56d109fbe8dde8e264efce2f537b5bdae48cf606ee38f52 |
|||
DIST ansible-2.8.7.tar.gz 12697144 BLAKE2B f88225b358ff9fad352c04a053100c5aa612f54ba7ad8e3a700d61e030fd0b5850055b83861d3ad76e614d3e786a2ed719f63b7f452ce24d7e27d79d386b8eed SHA512 166009780c8bb5b35beb9604412d4e5e3874e13b04f3ce694d726dc5bfb064f73a17ec3c814c8a67e28d57e7c327276b6cb66a9a0dba7138d702427ec13b4de3 |
|||
DIST ansible-2.8.8.tar.gz 12703583 BLAKE2B 0352646b495514d5a7a88fcd8e8437ef323f6d754f4704923b357c0f11c47932a2671a342e24f2de88479436f6f36664dbb0b26ee46fa98bc2d53d4f681595d0 SHA512 fb7705f3d0b8c0ee87d2954cccb7d00e12851693bbe995c062316577f66488f48d8180f11c8d87e025f4082a48ec27f25cb877be4c0ce96ed39951360e8679bd |
|||
DIST ansible-2.9.2.tar.gz 14157188 BLAKE2B 4c1207bd43f7797d8d9cb1d4612e866eebbf8c19ee060cf1eb7daa68415be5d7718c79d756454648e66a13434eacba6a07c8de31c4ec4b12e0474563d8844e46 SHA512 522dd84af9493ceafd95ff0fc806a671f3d1f10d0ca074ef41875eb966d39e64b834e0b98a35d81d9d9d96efef8069db604c8080ce8cbb1ce2e8b13bf5c30a6a |
|||
DIST ansible-2.9.3.tar.gz 14170666 BLAKE2B bb27d249e2390888ee3c28fdb48c1ceff346d2903089c70b451f793742238498aed7c33be056cce9790f44f5cdb74b5020b6decf4f1242904bd9c8f7b5077ea0 SHA512 02cfa2c7c43506dc602e92aed66c920243222b82bc4852f1a4d786cd3ff26fe17eda18d35ac7301cd9bf26366df9b18776e2a27e8d54fc92c3128f52ec7f58e8 |
|||
DIST ansible-2.9.4.tar.gz 14170264 BLAKE2B e230837360d29df460906d118b3c2ebb9a9dc1ac2a4427809a16716e67a79db8e737ed1beca757bd8a75b631c8cb6c26e58b1caeaaeb613731d63031f1e4e34e SHA512 21020548100fc31b59d4ee1b461f2a14359f2f18752d431cd041eb987c8c8b308f1aa1687461a9b3f5a086485b77b3a38c8f006b942cc24cb2157b45e6582822 |
@ -1,67 +0,0 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
PYTHON_COMPAT=( python3_{6,7} ) |
|||
|
|||
inherit distutils-r1 eutils |
|||
|
|||
DESCRIPTION="Model-driven deployment, config management, and command execution framework" |
|||
HOMEPAGE="https://ansible.com/" |
|||
SRC_URI="https://releases.ansible.com/${PN}/${P}.tar.gz" |
|||
|
|||
LICENSE="GPL-3" |
|||
SLOT="0" |
|||
KEYWORDS="amd64 ~arm ~arm64 x86 ~x64-macos" |
|||
IUSE="doc test" |
|||
|
|||
RDEPEND=" |
|||
dev-python/paramiko[${PYTHON_USEDEP}] |
|||
dev-python/jinja[${PYTHON_USEDEP}] |
|||
dev-python/pyyaml[${PYTHON_USEDEP}] |
|||
dev-python/setuptools[${PYTHON_USEDEP}] |
|||
dev-python/cryptography[${PYTHON_USEDEP}] |
|||
dev-python/httplib2[${PYTHON_USEDEP}] |
|||
dev-python/six[${PYTHON_USEDEP}] |
|||
dev-python/netaddr[${PYTHON_USEDEP}] |
|||
dev-python/pexpect[${PYTHON_USEDEP}] |
|||
net-misc/sshpass |
|||
virtual/ssh |
|||
" |
|||
DEPEND=" |
|||
dev-python/setuptools[${PYTHON_USEDEP}] |
|||
>=dev-python/packaging-16.6[${PYTHON_USEDEP}] |
|||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
|||
test? ( |
|||
${RDEPEND} |
|||
dev-python/nose[${PYTHON_USEDEP}] |
|||
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}] |
|||
dev-python/passlib[${PYTHON_USEDEP}] |
|||
dev-python/coverage[${PYTHON_USEDEP}] |
|||
dev-python/unittest2[${PYTHON_USEDEP}] |
|||
dev-vcs/git |
|||
)" |
|||
|
|||
# not included in release tarball |
|||
RESTRICT="test" |
|||
|
|||
python_compile_all() { |
|||
if use doc; then |
|||
cd docs/docsite || die |
|||
export CPUS=4 |
|||
emake -f Makefile.sphinx html |
|||
fi |
|||
} |
|||
|
|||
python_test() { |
|||
nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die |
|||
} |
|||
|
|||
python_install_all() { |
|||
use doc && local HTML_DOCS=( docs/docsite/_build/html/. ) |
|||
distutils-r1_python_install_all |
|||
|
|||
doman docs/man/man1/*.1 |
|||
dodoc -r examples |
|||
} |
@ -1,72 +0,0 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
PYTHON_COMPAT=( python3_{6,7} ) |
|||
|
|||
inherit distutils-r1 eutils |
|||
|
|||
DESCRIPTION="Model-driven deployment, config management, and command execution framework" |
|||
HOMEPAGE="https://ansible.com/" |
|||
SRC_URI="https://releases.ansible.com/${PN}/${P}.tar.gz" |
|||
|
|||
LICENSE="GPL-3" |
|||
SLOT="0" |
|||
KEYWORDS="amd64 ~arm ~arm64 x86 ~x64-macos" |
|||
IUSE="doc test" |
|||
RESTRICT="test" |
|||
|
|||
RDEPEND=" |
|||
dev-python/paramiko[${PYTHON_USEDEP}] |
|||
dev-python/jinja[${PYTHON_USEDEP}] |
|||
dev-python/pyyaml[${PYTHON_USEDEP}] |
|||
dev-python/setuptools[${PYTHON_USEDEP}] |
|||
dev-python/cryptography[${PYTHON_USEDEP}] |
|||
dev-python/httplib2[${PYTHON_USEDEP}] |
|||
dev-python/six[${PYTHON_USEDEP}] |
|||
dev-python/netaddr[${PYTHON_USEDEP}] |
|||
dev-python/pexpect[${PYTHON_USEDEP}] |
|||
net-misc/sshpass |
|||
virtual/ssh |
|||
" |
|||
DEPEND=" |
|||
dev-python/setuptools[${PYTHON_USEDEP}] |
|||
>=dev-python/packaging-16.6[${PYTHON_USEDEP}] |
|||
doc? ( |
|||
dev-python/sphinx[${PYTHON_USEDEP}] |
|||
dev-python/sphinx-notfound-page[${PYTHON_USEDEP}] |
|||
) |
|||
test? ( |
|||
${RDEPEND} |
|||
dev-python/nose[${PYTHON_USEDEP}] |
|||
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}] |
|||
dev-python/passlib[${PYTHON_USEDEP}] |
|||
dev-python/coverage[${PYTHON_USEDEP}] |
|||
dev-python/unittest2[${PYTHON_USEDEP}] |
|||
dev-vcs/git |
|||
)" |
|||
|
|||
python_compile_all() { |
|||
if use doc; then |
|||
cd docs/docsite || die |
|||
export CPUS=4 |
|||
emake -f Makefile.sphinx html |
|||
fi |
|||
} |
|||
|
|||
python_prepare_all() { |
|||
rm -fv MANIFEST.in || die |
|||
distutils-r1_python_prepare_all |
|||
} |
|||
|
|||
python_test() { |
|||
nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die |
|||
} |
|||
|
|||
python_install_all() { |
|||
use doc && local HTML_DOCS=( docs/docsite/_build/html/. ) |
|||
distutils-r1_python_install_all |
|||
|
|||
dodoc -r examples |
|||
} |
@ -1,72 +0,0 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
PYTHON_COMPAT=( python3_{6,7} ) |
|||
|
|||
inherit distutils-r1 eutils |
|||
|
|||
DESCRIPTION="Model-driven deployment, config management, and command execution framework" |
|||
HOMEPAGE="https://ansible.com/" |
|||
SRC_URI="https://releases.ansible.com/${PN}/${P}.tar.gz" |
|||
|
|||
LICENSE="GPL-3" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~x64-macos" |
|||
IUSE="doc test" |
|||
RESTRICT="test" |
|||
|
|||
RDEPEND=" |
|||
dev-python/paramiko[${PYTHON_USEDEP}] |
|||
dev-python/jinja[${PYTHON_USEDEP}] |
|||
dev-python/pyyaml[${PYTHON_USEDEP}] |
|||
dev-python/setuptools[${PYTHON_USEDEP}] |
|||
dev-python/cryptography[${PYTHON_USEDEP}] |
|||
dev-python/httplib2[${PYTHON_USEDEP}] |
|||
dev-python/six[${PYTHON_USEDEP}] |
|||
dev-python/netaddr[${PYTHON_USEDEP}] |
|||
dev-python/pexpect[${PYTHON_USEDEP}] |
|||
net-misc/sshpass |
|||
virtual/ssh |
|||
" |
|||
DEPEND=" |
|||
dev-python/setuptools[${PYTHON_USEDEP}] |
|||
>=dev-python/packaging-16.6[${PYTHON_USEDEP}] |
|||
doc? ( |
|||
dev-python/sphinx[${PYTHON_USEDEP}] |
|||
dev-python/sphinx-notfound-page[${PYTHON_USEDEP}] |
|||
) |
|||
test? ( |
|||
${RDEPEND} |
|||
dev-python/nose[${PYTHON_USEDEP}] |
|||
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}] |
|||
dev-python/passlib[${PYTHON_USEDEP}] |
|||
dev-python/coverage[${PYTHON_USEDEP}] |
|||
dev-python/unittest2[${PYTHON_USEDEP}] |
|||
dev-vcs/git |
|||
)" |
|||
|
|||
python_compile_all() { |
|||
if use doc; then |
|||
cd docs/docsite || die |
|||
export CPUS=4 |
|||
emake -f Makefile.sphinx html |
|||
fi |
|||
} |
|||
|
|||
python_prepare_all() { |
|||
rm -fv MANIFEST.in || die |
|||
distutils-r1_python_prepare_all |
|||
} |
|||
|
|||
python_test() { |
|||
nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die |
|||
} |
|||
|
|||
python_install_all() { |
|||
use doc && local HTML_DOCS=( docs/docsite/_build/html/. ) |
|||
distutils-r1_python_install_all |
|||
|
|||
dodoc -r examples |
|||
} |
@ -1 +1,2 @@ |
|||
DIST lib_users-0.13.tar.gz 25704 BLAKE2B 895f8b721216339fe4306158bf6282353d79584573091cc4e7c63c8096a9f9cfe380a8bce7229f168e44fe5d3641ceb8c91bd751316a6c6a467ace4ec0dce723 SHA512 588af7068728810832bcf4d1526f271e255d07c75d152fb41844c66f3598a71e9a96bee3426b31b58cd26af889bc42c0a7248731fdfe3623fd4567d2b6b7275e |
|||
DIST lib_users-0.14.tar.gz 25746 BLAKE2B 4aa2dbbd7c53be13f79988a62c7997f0787ea9b773fc57681a021ff75ba9ff0988ac3032b21150c4e4958849a6195df09d388b6341e1ac139f34ce9555786233 SHA512 533c6e8f486e58d0fd22aea9a30adf91c3a8340a8a3719f6374ddfa8120d402c8202ab8ceb0e78aedd46e3e5875795392ed40497a66d51de5c2ca6a275a1a777 |
@ -0,0 +1,44 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=6 |
|||
|
|||
PYTHON_COMPAT=( python{3_6,3_7} ) |
|||
|
|||
inherit python-r1 |
|||
|
|||
DESCRIPTION="Check for mapped libs and open files that are marked as deleted" |
|||
HOMEPAGE="https://github.com/klausman/lib_users" |
|||
SRC_URI="https://github.com/klausman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|||
|
|||
LICENSE="GPL-2" |
|||
SLOT="0" |
|||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
|||
IUSE="test" |
|||
RESTRICT="!test? ( test )" |
|||
|
|||
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
|||
|
|||
DEPEND="${PYTHON_DEPS} |
|||
test? ( |
|||
dev-python/nose[${PYTHON_USEDEP}] |
|||
)" |
|||
RDEPEND="${PYTHON_DEPS}" |
|||
|
|||
src_test() { |
|||
python_foreach_impl nosetests --verbosity=2 |
|||
} |
|||
|
|||
my_install() { |
|||
python_newscript lib_users.py lib_users |
|||
python_newscript fd_users.py fd_users |
|||
# lib_users_util/ contains a test script we don't want, so do things by hand |
|||
python_moduleinto lib_users_util |
|||
python_domodule lib_users_util/common.py |
|||
python_domodule lib_users_util/__init__.py |
|||
} |
|||
|
|||
src_install() { |
|||
python_foreach_impl my_install |
|||
dodoc README.md TODO |
|||
} |
@ -1,3 +1,5 @@ |
|||
DIST certbot-0.39.0.tar.gz 1350312 BLAKE2B 5f21c45d25754cb1ed0ad92e8d03637928a274637de09903509c7e78c40fd197e95cfa1f3effecef938d6ab8369dc6811714ddb5a93a806048e0998d1032e4f9 SHA512 17ab17a5f74e3fba58b1a8b9afe0c3656c7b2a5ea3585edb05ad84e36250c6a8d4d28bd692bc97d033c95eb0bbeff4eb84981ae0006e36d55846cd38373b86a0 |
|||
DIST certbot-0.40.1.tar.gz 1353347 BLAKE2B 86b3df4047101d00d5f17cf3a1a11e5800e850f5a9f736507ad373e552c27e9e4a3a17695f5a817d191cad383fc17336214fc1d8de7a99354ce4d2f5c6e728c1 SHA512 e5517a20cf26efba850728b3f81db5d6c3c5570b0a1c8eeeec9d4a4401ac04bcf44c6a2f1c248bf6e0b1be4a21b54f6168ccd11dc766304805f13b4cb16336b3 |
|||
DIST certbot-1.0.0.tar.gz 1336032 BLAKE2B ca26cfd3d9f802b09eaf387225f24fbb01385f81dfa661dfb5acbd97982a6fc773c56abf6b3f99db7f2b0cdc8c5a7175d264714592858b38217e444d4e1d2b4b SHA512 649ddd3d9305e166ef36de4e4e48b1171d5f369d9d60c026ab37a03e7b221cd815e93e69460662e6436b56cec076005582457e9d45499114306ad808a2497912 |
|||
DIST certbot-1.1.0.tar.gz 1346768 BLAKE2B 5c86edec3102ce0eb822465458ec86cbc98eb5e76c3c582d8a72ecab91e709f16e7a1576c684bc04bfd0c70918f34e84e0b3b264f949a1fb9bf9503fa9d6b179 SHA512 905b21a8a50b4df4eb92b464d10dec094ba4e7f5eaf3ad3dae1704a794952df6b51873ca919246a9b6698fd652a7c264efc742617ba0a25757ab99397759c343 |
|||
DIST certbot-1.2.0.tar.gz 1354262 BLAKE2B 1abdf4cb99ecdac6b9b8d2ebdd6897a3182a147f0175e2db4c6b0feaa3f6c615ee3146dd63627a83266c223456c5aba44b018be4059574d0209aec89065d9925 SHA512 ed52a31a71b3762b8cd217ea2784d9cb01f7c1a50cef3b7e0d99483ca3ab623b90ab7d4896674e0d1c06e2e8370c02162418d934de7d3048b0471416616146fe |
@ -0,0 +1,50 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
PYTHON_COMPAT=(python{3_6,3_7}) |
|||
|
|||
if [[ ${PV} == 9999* ]]; then |
|||
EGIT_REPO_URI="https://github.com/certbot/certbot.git" |
|||
inherit git-r3 |
|||
else |
|||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|||
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" |
|||
fi |
|||
|
|||
inherit distutils-r1 |
|||
|
|||
DESCRIPTION="Let's encrypt client to automate deployment of X.509 certificates" |
|||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/" |
|||
|
|||
LICENSE="Apache-2.0" |
|||
SLOT="0" |
|||
IUSE="test" |
|||
RESTRICT="!test? ( test )" |
|||
|
|||
CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
|||
RDEPEND=" |
|||
${CDEPEND} |
|||
>=app-crypt/acme-0.29.0[${PYTHON_USEDEP}] |
|||
>=dev-python/configargparse-0.9.3[${PYTHON_USEDEP}] |
|||
dev-python/configobj[${PYTHON_USEDEP}] |
|||
>=dev-python/cryptography-1.2.3[${PYTHON_USEDEP}] |
|||
>=dev-python/distro-1.0.1[${PYTHON_USEDEP}] |
|||
>=dev-python/josepy-1.1.0[${PYTHON_USEDEP}] |
|||
dev-python/mock[${PYTHON_USEDEP}] |
|||
>=dev-python/parsedatetime-1.3[${PYTHON_USEDEP}] |
|||
dev-python/pyrfc3339[${PYTHON_USEDEP}] |
|||
dev-python/pytz[${PYTHON_USEDEP}] |
|||
dev-python/zope-component[${PYTHON_USEDEP}] |
|||
dev-python/zope-interface[${PYTHON_USEDEP}]" |
|||
DEPEND=" |
|||
${CDEPEND} |
|||
test? ( |
|||
dev-python/pytest[${PYTHON_USEDEP}] |
|||
)" |
|||
|
|||
python_test() { |
|||
# acme is not installed, removing it here is fine, the dir just confuses tests |
|||
rm -R acme |
|||
pytest -vv ${PN} || die |
|||
} |
@ -0,0 +1,50 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
PYTHON_COMPAT=(python{3_6,3_7}) |
|||
|
|||
if [[ ${PV} == 9999* ]]; then |
|||
EGIT_REPO_URI="https://github.com/certbot/certbot.git" |
|||
inherit git-r3 |
|||
else |
|||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|||
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" |
|||
fi |
|||
|
|||
inherit distutils-r1 |
|||
|
|||
DESCRIPTION="Let's encrypt client to automate deployment of X.509 certificates" |
|||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/" |
|||
|
|||
LICENSE="Apache-2.0" |
|||
SLOT="0" |
|||
IUSE="test" |
|||
RESTRICT="!test? ( test )" |
|||
|
|||
CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
|||
RDEPEND=" |
|||
${CDEPEND} |
|||
>=app-crypt/acme-0.40.0[${PYTHON_USEDEP}] |
|||
>=dev-python/configargparse-0.9.3[${PYTHON_USEDEP}] |
|||
dev-python/configobj[${PYTHON_USEDEP}] |
|||
>=dev-python/cryptography-1.2.3[${PYTHON_USEDEP}] |
|||
>=dev-python/distro-1.0.1[${PYTHON_USEDEP}] |
|||
>=dev-python/josepy-1.1.0[${PYTHON_USEDEP}] |
|||
dev-python/mock[${PYTHON_USEDEP}] |
|||
>=dev-python/parsedatetime-1.3[${PYTHON_USEDEP}] |
|||
dev-python/pyrfc3339[${PYTHON_USEDEP}] |
|||
dev-python/pytz[${PYTHON_USEDEP}] |
|||
dev-python/zope-component[${PYTHON_USEDEP}] |
|||
dev-python/zope-interface[${PYTHON_USEDEP}]" |
|||
DEPEND=" |
|||
${CDEPEND} |
|||
test? ( |
|||
dev-python/pytest[${PYTHON_USEDEP}] |
|||
)" |
|||
|
|||
python_test() { |
|||
# acme is not installed, removing it here is fine, the dir just confuses tests |
|||
rm -R acme |
|||
pytest -vv ${PN} || die |
|||
} |
@ -0,0 +1,49 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
PYTHON_COMPAT=(python{3_6,3_7}) |
|||
|
|||
if [[ ${PV} == 9999* ]]; then |
|||
EGIT_REPO_URI="https://github.com/certbot/certbot.git" |
|||
inherit git-r3 |
|||
else |
|||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
|||
fi |
|||
S=${WORKDIR}/${P}/${PN} |
|||
|
|||
inherit distutils-r1 |
|||
|
|||
DESCRIPTION="Let's encrypt client to automate deployment of X.509 certificates" |
|||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/" |
|||
|
|||
LICENSE="Apache-2.0" |
|||
SLOT="0" |
|||
IUSE="test" |
|||
RESTRICT="!test? ( test )" |
|||
|
|||
CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
|||
RDEPEND=" |
|||
${CDEPEND} |
|||
>=app-crypt/acme-0.40.0[${PYTHON_USEDEP}] |
|||
>=dev-python/configargparse-0.9.3[${PYTHON_USEDEP}] |
|||
dev-python/configobj[${PYTHON_USEDEP}] |
|||
>=dev-python/cryptography-2.8[${PYTHON_USEDEP}] |
|||
>=dev-python/distro-1.0.1[${PYTHON_USEDEP}] |
|||
>=dev-python/josepy-1.1.0[${PYTHON_USEDEP}] |
|||
dev-python/mock[${PYTHON_USEDEP}] |
|||
>=dev-python/parsedatetime-1.3[${PYTHON_USEDEP}] |
|||
dev-python/pyrfc3339[${PYTHON_USEDEP}] |
|||
dev-python/pytz[${PYTHON_USEDEP}] |
|||
dev-python/zope-component[${PYTHON_USEDEP}] |
|||
dev-python/zope-interface[${PYTHON_USEDEP}]" |
|||
DEPEND="${CDEPEND}" |
|||
|
|||
distutils_enable_tests pytest |
|||
|
|||
python_prepare_all() { |
|||
# required as deps of deps can trigger this too... |
|||
echo ' ignore:.*collections\.abc:DeprecationWarning' >> ../pytest.ini |
|||
distutils-r1_python_prepare_all |
|||
} |
@ -1,51 +0,0 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
PYTHON_COMPAT=(python{3_6,3_7}) |
|||
|
|||
if [[ ${PV} == 9999* ]]; then |
|||
EGIT_REPO_URI="https://github.com/certbot/certbot.git" |
|||
inherit git-r3 |
|||
else |
|||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
|||
fi |
|||
S=${WORKDIR}/${P}/${PN} |
|||
|
|||
inherit distutils-r1 |
|||
|
|||
DESCRIPTION="Let's encrypt client to automate deployment of X.509 certificates" |
|||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/" |
|||
|
|||
LICENSE="Apache-2.0" |
|||
SLOT="0" |
|||
IUSE="test" |
|||
RESTRICT="!test? ( test )" |
|||
|
|||
CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
|||
RDEPEND=" |
|||
${CDEPEND} |
|||
>=app-crypt/acme-0.40.0[${PYTHON_USEDEP}] |
|||
>=dev-python/configargparse-0.9.3[${PYTHON_USEDEP}] |
|||
dev-python/configobj[${PYTHON_USEDEP}] |
|||
>=dev-python/cryptography-2.8[${PYTHON_USEDEP}] |
|||
>=dev-python/distro-1.0.1[${PYTHON_USEDEP}] |
|||
>=dev-python/josepy-1.1.0[${PYTHON_USEDEP}] |
|||
dev-python/mock[${PYTHON_USEDEP}] |
|||
>=dev-python/parsedatetime-1.3[${PYTHON_USEDEP}] |
|||
dev-python/pyrfc3339[${PYTHON_USEDEP}] |
|||
dev-python/pytz[${PYTHON_USEDEP}] |
|||
dev-python/zope-component[${PYTHON_USEDEP}] |
|||
dev-python/zope-interface[${PYTHON_USEDEP}]" |
|||
DEPEND=" |
|||
${CDEPEND} |
|||
test? ( |
|||
dev-python/pytest[${PYTHON_USEDEP}] |
|||
)" |
|||
|
|||
python_test() { |
|||
# acme is not installed, removing it here is fine, the dir just confuses tests |
|||
rm -R ../acme |
|||
pytest -vv ${PN} || die |
|||
} |
@ -0,0 +1,367 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
VIM_VERSION="8.2" |
|||
PYTHON_COMPAT=( python3_{6,7,8} ) |
|||
PYTHON_REQ_USE="threads(+)" |
|||
USE_RUBY="ruby24 ruby25 ruby26 ruby27" |
|||
|
|||
inherit vim-doc flag-o-matic xdg-utils bash-completion-r1 prefix python-single-r1 ruby-single |
|||
|
|||
if [[ ${PV} == 9999* ]]; then |
|||
inherit git-r3 |
|||
EGIT_REPO_URI="https://github.com/vim/vim.git" |
|||
EGIT_CHECKOUT_DIR=${WORKDIR}/vim-${PV} |
|||
else |
|||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz |
|||
https://dev.gentoo.org/~radhermit/vim/vim-8.2.0210-gentoo-patches.tar.bz2" |
|||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" |
|||
fi |
|||
|
|||
DESCRIPTION="GUI version of the Vim text editor" |
|||
HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim" |
|||
|
|||
SLOT="0" |
|||
LICENSE="vim" |
|||
IUSE="acl aqua cscope debug gtk gtk2 lua luajit motif neXt netbeans nls perl python racket ruby selinux session sound tcl" |
|||
REQUIRED_USE=" |
|||
python? ( ${PYTHON_REQUIRED_USE} ) |
|||
" |
|||
|
|||
RDEPEND=" |
|||
~app-editors/vim-core-${PV} |
|||
>=app-eselect/eselect-vi-1.1 |
|||
>=sys-libs/ncurses-5.2-r2:0= |
|||
x11-libs/libICE |
|||
x11-libs/libSM |
|||
x11-libs/libXext |
|||
x11-libs/libXt |
|||
acl? ( kernel_linux? ( sys-apps/acl ) ) |
|||
!aqua? ( |
|||
gtk? ( |
|||
x11-libs/gtk+:3 |
|||
x11-libs/libXft |
|||
) |
|||
!gtk? ( |
|||
gtk2? ( |
|||
>=x11-libs/gtk+-2.6:2 |
|||
x11-libs/libXft |
|||
) |
|||
!gtk2? ( |
|||
motif? ( >=x11-libs/motif-2.3:0 ) |
|||
!motif? ( |
|||
neXt? ( x11-libs/neXtaw ) |
|||
!neXt? ( x11-libs/libXaw ) |
|||
) |
|||
) |
|||
) |
|||
) |
|||
cscope? ( dev-util/cscope ) |
|||
lua? ( |
|||
luajit? ( dev-lang/luajit:2= ) |
|||
!luajit? ( dev-lang/lua:0[deprecated] ) |
|||
) |
|||
nls? ( virtual/libintl ) |
|||
perl? ( dev-lang/perl:= ) |
|||
python? ( ${PYTHON_DEPS} ) |
|||
racket? ( dev-scheme/racket ) |
|||
ruby? ( ${RUBY_DEPS} ) |
|||
selinux? ( sys-libs/libselinux ) |
|||
session? ( x11-libs/libSM ) |
|||
sound? ( media-libs/libcanberra ) |
|||
tcl? ( dev-lang/tcl:0= ) |
|||
" |
|||
DEPEND="${RDEPEND} |
|||
sys-devel/autoconf |
|||
virtual/pkgconfig |
|||
nls? ( sys-devel/gettext ) |
|||
" |
|||
|
|||
# various failures (bugs #630042 and #682320) |
|||
RESTRICT="test" |
|||
|
|||
S=${WORKDIR}/vim-${PV} |
|||
|
|||
pkg_setup() { |
|||
# people with broken alphabets run into trouble. bug 82186. |
|||
unset LANG LC_ALL |
|||
export LC_COLLATE="C" |
|||
|
|||
# Gnome sandbox silliness. bug #114475. |
|||
mkdir -p "${T}"/home || die |
|||
export HOME="${T}"/home |
|||
|
|||
use python && python-single-r1_pkg_setup |
|||
} |
|||
|
|||
src_prepare() { |
|||
if [[ ${PV} != 9999* ]]; then |
|||
# Gentoo patches to fix runtime issues, cross-compile errors, etc |
|||
eapply "${WORKDIR}"/patches/ |
|||
fi |
|||
|
|||
# Fixup a script to use awk instead of nawk |
|||
sed -i -e \ |
|||
'1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \ |
|||
"${S}"/runtime/tools/mve.awk || die "mve.awk sed failed" |
|||
|
|||
# Read vimrc and gvimrc from /etc/vim |
|||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' \ |
|||
>> "${S}"/src/feature.h || die "echo failed" |
|||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' \ |
|||
>> "${S}"/src/feature.h || die "echo failed" |
|||
|
|||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags. |
|||
# Hopefully this pattern won't break for a while at least. |
|||
# This fixes bug 29398 (27 Sep 2003 agriffis) |
|||
sed -i -e \ |
|||
's/\<ctags\("\| [-*.]\)/exuberant-&/g' \ |
|||
"${S}"/runtime/doc/syntax.txt \ |
|||
"${S}"/runtime/doc/tagsrch.txt \ |
|||
"${S}"/runtime/doc/usr_29.txt \ |
|||
"${S}"/runtime/menu.vim \ |
|||
"${S}"/src/configure.ac || die 'sed failed' |
|||
|
|||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks |
|||
# this is NeXT, but it's actually just a file in dev-libs/9libs |
|||
# This fixes bug 43885 (20 Mar 2004 agriffis) |
|||
sed -i -e \ |
|||
's/ libc\.h / /' "${S}"/src/configure.ac || die 'sed failed' |
|||
|
|||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF |
|||
# correctly. To avoid some really entertaining error messages about stuff |
|||
# which isn't even in the source file being invalid, we'll do some trickery |
|||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm) |
|||
find "${S}" -name '*.c' | while read c; do |
|||
echo >> "$c" || die "echo failed" |
|||
done |
|||
|
|||
# Try to avoid sandbox problems. Bug #114475. |
|||
if [[ -d "${S}"/src/po ]]; then |
|||
sed -i -e \ |
|||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \ |
|||
"${S}"/src/po/Makefile || die |
|||
fi |
|||
|
|||
cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed" |
|||
|
|||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0 |
|||
sed -i -e \ |
|||
"s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \ |
|||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed' |
|||
|
|||
eapply_user |
|||
} |
|||
|
|||
src_configure() { |
|||
local myconf=() |
|||
|
|||
# Fix bug 37354: Disallow -funroll-all-loops on amd64 |
|||
# Bug 57859 suggests that we want to do this for all archs |
|||
filter-flags -funroll-all-loops |
|||
|
|||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for |
|||
# everyone since previous flag filtering bugs have turned out to affect |
|||
# multiple archs... |
|||
replace-flags -O3 -O2 |
|||
|
|||
# Fix bug 18245: Prevent "make" from the following chain: |
|||
# (1) Notice configure.ac is newer than auto/configure |
|||
# (2) Rebuild auto/configure |
|||
# (3) Notice auto/configure is newer than auto/config.mk |
|||
# (4) Run ./configure (with wrong args) to remake auto/config.mk |
|||
sed -i -e \ |
|||
's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed" |
|||
rm -v src/auto/configure || die "rm failed" |
|||
emake -j1 -C src autoconf |
|||
|
|||
# This should fix a sandbox violation (see bug 24447). The hvc |
|||
# things are for ppc64, see bug 86433. |
|||
local file |
|||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do |
|||
if [[ -e ${file} ]]; then |
|||
addwrite $file |
|||
fi |
|||
done |
|||
|
|||
use debug && append-flags "-DDEBUG" |
|||
|
|||
myconf=( |
|||
--with-features=huge |
|||
--disable-gpm |
|||
--with-gnome=no |
|||
$(use_enable sound canberra) |
|||
$(use_enable acl) |
|||
$(use_enable cscope) |
|||
$(use_enable lua luainterp) |
|||
$(use_with luajit) |
|||
$(use_enable netbeans) |
|||
$(use_enable nls) |
|||
$(use_enable perl perlinterp) |
|||
$(use_enable python python3interp) |
|||
$(use_with python python3-command $(type -P $(eselect python show --python3))) |
|||
$(use_enable racket mzschemeinterp) |
|||
$(use_enable ruby rubyinterp) |
|||
$(use_enable selinux) |
|||
$(use_enable session xsmp) |
|||
$(use_enable tcl tclinterp) |
|||
) |
|||
|
|||
# --with-features=huge forces on cscope even if we --disable it. We need |
|||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm) |
|||
if ! use cscope; then |
|||
sed -i -e \ |
|||
'/# define FEAT_CSCOPE/d' src/feature.h || die "couldn't disable cscope" |
|||
fi |
|||
|
|||
# gvim's GUI preference order is as follows: |
|||
# aqua CARBON (not tested) |
|||
# -aqua gtk GTK3 |
|||
# -aqua -gtk gtk2 GTK2 |
|||
# -aqua -gtk -gtk motif MOTIF |
|||
# -aqua -gtk -gtk -motif neXt NEXTAW |
|||
# -aqua -gtk -gtk -motif -neXt ATHENA |
|||
echo ; echo |
|||
if use aqua; then |
|||
einfo "Building gvim with the Carbon GUI" |
|||
myconf+=( |
|||
--enable-darwin |
|||
--enable-gui=carbon |
|||
) |
|||
elif use gtk; then |
|||
myconf+=( --enable-gtk3-check ) |
|||
einfo "Building gvim with the gtk+-3 GUI" |
|||
myconf+=( --enable-gui=gtk3 ) |
|||
elif use gtk2; then |
|||
myconf+=( --enable-gtk2-check ) |
|||
einfo "Building gvim with the gtk+-2 GUI" |
|||
myconf+=( --enable-gui=gtk2 ) |
|||
elif use motif; then |
|||
einfo "Building gvim with the MOTIF GUI" |
|||
myconf+=( --enable-gui=motif ) |
|||
elif use neXt; then |
|||
einfo "Building gvim with the neXtaw GUI" |
|||
myconf+=( --enable-gui=nextaw ) |
|||
else |
|||
einfo "Building gvim with the Athena GUI" |
|||
myconf+=( --enable-gui=athena ) |
|||
fi |
|||
echo ; echo |
|||
|
|||
# let package manager strip binaries |
|||
export ac_cv_prog_STRIP="$(type -P true ) faking strip" |
|||
|
|||
# keep prefix env contained within the EPREFIX |
|||
use prefix && myconf+=( --without-local-dir ) |
|||
|
|||
if [[ ${CHOST} == *-interix* ]]; then |
|||
# avoid finding of this function, to avoid having to patch either |
|||
# configure or the source, which would be much more hackish. |
|||
# after all vim does it right, only interix is badly broken (again) |
|||
export ac_cv_func_sigaction=no |
|||
fi |
|||
|
|||
econf \ |
|||
--with-modified-by=Gentoo-${PVR} \ |
|||
--with-vim-name=gvim \ |
|||
--with-x \ |
|||
"${myconf[@]}" |
|||
} |
|||
|
|||
src_compile() { |
|||
# The following allows emake to be used |
|||
emake -j1 -C src auto/osdef.h objects |
|||
|
|||
emake |
|||
} |
|||
|
|||
src_test() { |
|||
einfo |
|||
einfo "Starting vim tests. Several error messages will be shown" |
|||
einfo "while the tests run. This is normal behaviour and does not" |
|||
einfo "indicate a fault." |
|||
einfo |
|||
ewarn "If the tests fail, your terminal may be left in a strange" |
|||
ewarn "state. Usually, running 'reset' will fix this." |
|||
einfo |
|||
|
|||
# Don't let vim talk to X |
|||
unset DISPLAY |
|||
|
|||
# Make gvim not try to connect to X. See :help gui-x11-start in vim for how |
|||
# this evil trickery works. |
|||
ln -s "${S}"/src/gvim "${S}"/src/testvim || die |
|||
|
|||
# Make sure our VIMPROG is used. |
|||
sed -i -e 's:\.\./vim:../testvim:' src/testdir/test49.vim || die |
|||
|
|||
# Don't do additional GUI tests. |
|||
emake -j1 VIMPROG=../testvim -C src/testdir nongui |
|||
} |
|||
|
|||
# Call eselect vi update with --if-unset |
|||
# to respect user's choice (bug 187449) |
|||
eselect_vi_update() { |
|||
einfo "Calling eselect vi update..." |
|||
eselect vi update --if-unset |
|||
eend $? |
|||
} |
|||
|
|||
src_install() { |
|||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.} |
|||
|
|||
dobin src/gvim |
|||
dosym gvim /usr/bin/gvimdiff |
|||
dosym gvim /usr/bin/evim |
|||
dosym gvim /usr/bin/eview |
|||
dosym gvim /usr/bin/gview |
|||
dosym gvim /usr/bin/rgvim |
|||
dosym gvim /usr/bin/rgview |
|||
|
|||
emake -C src DESTDIR="${D}" DATADIR="${EPREFIX}"/usr/share install-icons |
|||
|
|||
dodir /usr/share/man/man1 |
|||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gvim.1 || die "echo failed" |
|||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gview.1 || die "echo failed" |
|||
echo ".so vimdiff.1" > "${ED}"/usr/share/man/man1/gvimdiff.1 || \ |
|||
die "echo failed" |
|||
|
|||
insinto /etc/vim |
|||
newins "${FILESDIR}"/gvimrc-r1 gvimrc |
|||
eprefixify "${ED}"/etc/vim/gvimrc |
|||
|
|||
# bash completion script, bug #79018. |
|||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN} |
|||
|
|||
# don't install vim desktop file |
|||
rm -v "${ED}"/usr/share/applications/vim.desktop || die "failed to remove vim.desktop" |
|||
} |
|||
|
|||
pkg_postinst() { |
|||
# update documentation tags (from vim-doc.eclass) |
|||
update_vim_helptags |
|||
|
|||
# update fdo mime stuff, bug #78394 |
|||
xdg_desktop_database_update |
|||
|
|||
# update icon cache |
|||
xdg_icon_cache_update |
|||
|
|||
# call eselect vi update |
|||
eselect_vi_update |
|||
} |
|||
|
|||
pkg_postrm() { |
|||
# update documentation tags (from vim-doc.eclass) |
|||
update_vim_helptags |
|||
|
|||
# update fdo mime stuff, bug #78394 |
|||
xdg_desktop_database_update |
|||
|
|||
# update icon cache |
|||
xdg_icon_cache_update |
|||
|
|||
# call eselect vi update |
|||
eselect_vi_update |
|||
} |
@ -1,367 +0,0 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
VIM_VERSION="8.2" |
|||
PYTHON_COMPAT=( python3_{6,7,8} ) |
|||
PYTHON_REQ_USE="threads(+)" |
|||
USE_RUBY="ruby24 ruby25 ruby26 ruby27" |
|||
|
|||
inherit vim-doc flag-o-matic xdg-utils bash-completion-r1 prefix python-single-r1 ruby-single |
|||
|
|||
if [[ ${PV} == 9999* ]]; then |
|||
inherit git-r3 |
|||
EGIT_REPO_URI="https://github.com/vim/vim.git" |
|||
EGIT_CHECKOUT_DIR=${WORKDIR}/vim-${PV} |
|||
else |
|||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz |
|||
https://dev.gentoo.org/~radhermit/vim/vim-8.2.0210-gentoo-patches.tar.bz2" |
|||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" |
|||
fi |
|||
|
|||
DESCRIPTION="GUI version of the Vim text editor" |
|||
HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim" |
|||
|
|||
SLOT="0" |
|||
LICENSE="vim" |
|||
IUSE="acl aqua cscope debug gtk gtk2 lua luajit motif neXt netbeans nls perl python racket ruby selinux session sound tcl" |
|||
REQUIRED_USE=" |
|||
python? ( ${PYTHON_REQUIRED_USE} ) |
|||
" |
|||
|
|||
RDEPEND=" |
|||
~app-editors/vim-core-${PV} |
|||
>=app-eselect/eselect-vi-1.1 |
|||
>=sys-libs/ncurses-5.2-r2:0= |
|||
x11-libs/libICE |
|||
x11-libs/libSM |
|||
x11-libs/libXext |
|||
x11-libs/libXt |
|||
acl? ( kernel_linux? ( sys-apps/acl ) ) |
|||
!aqua? ( |
|||
gtk? ( |
|||
x11-libs/gtk+:3 |
|||
x11-libs/libXft |
|||
) |
|||
!gtk? ( |
|||
gtk2? ( |
|||
>=x11-libs/gtk+-2.6:2 |
|||
x11-libs/libXft |
|||
) |
|||
!gtk2? ( |
|||
motif? ( >=x11-libs/motif-2.3:0 ) |
|||
!motif? ( |
|||
neXt? ( x11-libs/neXtaw ) |
|||
!neXt? ( x11-libs/libXaw ) |
|||
) |
|||
) |
|||
) |
|||
) |
|||
cscope? ( dev-util/cscope ) |
|||
lua? ( |
|||
luajit? ( dev-lang/luajit:2= ) |
|||
!luajit? ( dev-lang/lua:0[deprecated] ) |
|||
) |
|||
nls? ( virtual/libintl ) |
|||
perl? ( dev-lang/perl:= ) |
|||
python? ( ${PYTHON_DEPS} ) |
|||
racket? ( dev-scheme/racket ) |
|||
ruby? ( ${RUBY_DEPS} ) |
|||
selinux? ( sys-libs/libselinux ) |
|||
session? ( x11-libs/libSM ) |
|||
sound? ( media-libs/libcanberra ) |
|||
tcl? ( dev-lang/tcl:0= ) |
|||
" |
|||
DEPEND="${RDEPEND} |
|||
sys-devel/autoconf |
|||
virtual/pkgconfig |
|||
nls? ( sys-devel/gettext ) |
|||
" |
|||
|
|||
# various failures (bugs #630042 and #682320) |
|||
RESTRICT="test" |
|||
|
|||
S=${WORKDIR}/vim-${PV} |
|||
|
|||
pkg_setup() { |
|||
# people with broken alphabets run into trouble. bug 82186. |
|||
unset LANG LC_ALL |
|||
export LC_COLLATE="C" |
|||
|
|||
# Gnome sandbox silliness. bug #114475. |
|||
mkdir -p "${T}"/home || die |
|||
export HOME="${T}"/home |
|||
|
|||
use python && python-single-r1_pkg_setup |
|||
} |
|||
|
|||
src_prepare() { |
|||
if [[ ${PV} != 9999* ]]; then |
|||
# Gentoo patches to fix runtime issues, cross-compile errors, etc |
|||
eapply "${WORKDIR}"/patches/ |
|||
fi |
|||
|
|||
# Fixup a script to use awk instead of nawk |
|||
sed -i -e \ |
|||
'1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \ |
|||
"${S}"/runtime/tools/mve.awk || die "mve.awk sed failed" |
|||
|
|||
# Read vimrc and gvimrc from /etc/vim |
|||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' \ |
|||
>> "${S}"/src/feature.h || die "echo failed" |
|||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' \ |
|||
>> "${S}"/src/feature.h || die "echo failed" |
|||
|
|||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags. |
|||
# Hopefully this pattern won't break for a while at least. |
|||
# This fixes bug 29398 (27 Sep 2003 agriffis) |
|||
sed -i -e \ |
|||
's/\<ctags\("\| [-*.]\)/exuberant-&/g' \ |
|||
"${S}"/runtime/doc/syntax.txt \ |
|||
"${S}"/runtime/doc/tagsrch.txt \ |
|||
"${S}"/runtime/doc/usr_29.txt \ |
|||
"${S}"/runtime/menu.vim \ |
|||
"${S}"/src/configure.ac || die 'sed failed' |
|||
|
|||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks |
|||
# this is NeXT, but it's actually just a file in dev-libs/9libs |
|||
# This fixes bug 43885 (20 Mar 2004 agriffis) |
|||
sed -i -e \ |
|||
's/ libc\.h / /' "${S}"/src/configure.ac || die 'sed failed' |
|||
|
|||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF |
|||
# correctly. To avoid some really entertaining error messages about stuff |
|||
# which isn't even in the source file being invalid, we'll do some trickery |
|||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm) |
|||
find "${S}" -name '*.c' | while read c; do |
|||
echo >> "$c" || die "echo failed" |
|||
done |
|||
|
|||
# Try to avoid sandbox problems. Bug #114475. |
|||
if [[ -d "${S}"/src/po ]]; then |
|||
sed -i -e \ |
|||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \ |
|||
"${S}"/src/po/Makefile || die |
|||
fi |
|||
|
|||
cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed" |
|||
|
|||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0 |
|||
sed -i -e \ |
|||
"s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \ |
|||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed' |
|||
|
|||
eapply_user |
|||
} |
|||
|
|||
src_configure() { |
|||
local myconf=() |
|||
|
|||
# Fix bug 37354: Disallow -funroll-all-loops on amd64 |
|||
# Bug 57859 suggests that we want to do this for all archs |
|||
filter-flags -funroll-all-loops |
|||
|
|||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for |
|||
# everyone since previous flag filtering bugs have turned out to affect |
|||
# multiple archs... |
|||
replace-flags -O3 -O2 |
|||
|
|||
# Fix bug 18245: Prevent "make" from the following chain: |
|||
# (1) Notice configure.ac is newer than auto/configure |
|||
# (2) Rebuild auto/configure |
|||
# (3) Notice auto/configure is newer than auto/config.mk |
|||
# (4) Run ./configure (with wrong args) to remake auto/config.mk |
|||
sed -i -e \ |
|||
's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed" |
|||
rm -v src/auto/configure || die "rm failed" |
|||
emake -j1 -C src autoconf |
|||
|
|||
# This should fix a sandbox violation (see bug 24447). The hvc |
|||
# things are for ppc64, see bug 86433. |
|||
local file |
|||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do |
|||
if [[ -e ${file} ]]; then |
|||
addwrite $file |
|||
fi |
|||
done |
|||
|
|||
use debug && append-flags "-DDEBUG" |
|||
|
|||
myconf=( |
|||
--with-features=huge |
|||
--disable-gpm |
|||
--with-gnome=no |
|||
$(use_enable sound canberra) |
|||
$(use_enable acl) |
|||
$(use_enable cscope) |
|||
$(use_enable lua luainterp) |
|||
$(use_with luajit) |
|||
$(use_enable netbeans) |
|||
$(use_enable nls) |
|||
$(use_enable perl perlinterp) |
|||
$(use_enable python python3interp dynamic) |
|||
$(use_with python python3-command $(type -P $(eselect python show --python3))) |
|||
$(use_enable racket mzschemeinterp) |
|||
$(use_enable ruby rubyinterp) |
|||
$(use_enable selinux) |
|||
$(use_enable session xsmp) |
|||
$(use_enable tcl tclinterp) |
|||
) |
|||
|
|||
# --with-features=huge forces on cscope even if we --disable it. We need |
|||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm) |
|||
if ! use cscope; then |
|||
sed -i -e \ |
|||
'/# define FEAT_CSCOPE/d' src/feature.h || die "couldn't disable cscope" |
|||
fi |
|||
|
|||
# gvim's GUI preference order is as follows: |
|||
# aqua CARBON (not tested) |
|||
# -aqua gtk GTK3 |
|||
# -aqua -gtk gtk2 GTK2 |
|||
# -aqua -gtk -gtk motif MOTIF |
|||
# -aqua -gtk -gtk -motif neXt NEXTAW |
|||
# -aqua -gtk -gtk -motif -neXt ATHENA |
|||
echo ; echo |
|||
if use aqua; then |
|||
einfo "Building gvim with the Carbon GUI" |
|||
myconf+=( |
|||
--enable-darwin |
|||
--enable-gui=carbon |
|||
) |
|||
elif use gtk; then |
|||
myconf+=( --enable-gtk3-check ) |
|||
einfo "Building gvim with the gtk+-3 GUI" |
|||
myconf+=( --enable-gui=gtk3 ) |
|||
elif use gtk2; then |
|||
myconf+=( --enable-gtk2-check ) |
|||
einfo "Building gvim with the gtk+-2 GUI" |
|||
myconf+=( --enable-gui=gtk2 ) |
|||
elif use motif; then |
|||
einfo "Building gvim with the MOTIF GUI" |
|||
myconf+=( --enable-gui=motif ) |
|||
elif use neXt; then |
|||
einfo "Building gvim with the neXtaw GUI" |
|||
myconf+=( --enable-gui=nextaw ) |
|||
else |
|||
einfo "Building gvim with the Athena GUI" |
|||
myconf+=( --enable-gui=athena ) |
|||
fi |
|||
echo ; echo |
|||
|
|||
# let package manager strip binaries |
|||
export ac_cv_prog_STRIP="$(type -P true ) faking strip" |
|||
|
|||
# keep prefix env contained within the EPREFIX |
|||
use prefix && myconf+=( --without-local-dir ) |
|||
|
|||
if [[ ${CHOST} == *-interix* ]]; then |
|||
# avoid finding of this function, to avoid having to patch either |
|||
# configure or the source, which would be much more hackish. |
|||
# after all vim does it right, only interix is badly broken (again) |
|||
export ac_cv_func_sigaction=no |
|||
fi |
|||
|
|||
econf \ |
|||
--with-modified-by=Gentoo-${PVR} \ |
|||
--with-vim-name=gvim \ |
|||
--with-x \ |
|||
"${myconf[@]}" |
|||
} |
|||
|
|||
src_compile() { |
|||
# The following allows emake to be used |
|||
emake -j1 -C src auto/osdef.h objects |
|||
|
|||
emake |
|||
} |
|||
|
|||
src_test() { |
|||
einfo |
|||
einfo "Starting vim tests. Several error messages will be shown" |
|||
einfo "while the tests run. This is normal behaviour and does not" |
|||
einfo "indicate a fault." |
|||
einfo |
|||
ewarn "If the tests fail, your terminal may be left in a strange" |
|||
ewarn "state. Usually, running 'reset' will fix this." |
|||
einfo |
|||
|
|||
# Don't let vim talk to X |
|||
unset DISPLAY |
|||
|
|||
# Make gvim not try to connect to X. See :help gui-x11-start in vim for how |
|||
# this evil trickery works. |
|||
ln -s "${S}"/src/gvim "${S}"/src/testvim || die |
|||
|
|||
# Make sure our VIMPROG is used. |
|||
sed -i -e 's:\.\./vim:../testvim:' src/testdir/test49.vim || die |
|||
|
|||
# Don't do additional GUI tests. |
|||
emake -j1 VIMPROG=../testvim -C src/testdir nongui |
|||
} |
|||
|
|||
# Call eselect vi update with --if-unset |
|||
# to respect user's choice (bug 187449) |
|||
eselect_vi_update() { |
|||
einfo "Calling eselect vi update..." |
|||
eselect vi update --if-unset |
|||
eend $? |
|||
} |
|||
|
|||
src_install() { |
|||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.} |
|||
|
|||
dobin src/gvim |
|||
dosym gvim /usr/bin/gvimdiff |
|||
dosym gvim /usr/bin/evim |
|||
dosym gvim /usr/bin/eview |
|||
dosym gvim /usr/bin/gview |
|||
dosym gvim /usr/bin/rgvim |
|||
dosym gvim /usr/bin/rgview |
|||
|
|||
emake -C src DESTDIR="${D}" DATADIR="${EPREFIX}"/usr/share install-icons |
|||
|
|||
dodir /usr/share/man/man1 |
|||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gvim.1 || die "echo failed" |
|||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gview.1 || die "echo failed" |
|||
echo ".so vimdiff.1" > "${ED}"/usr/share/man/man1/gvimdiff.1 || \ |
|||
die "echo failed" |
|||
|
|||
insinto /etc/vim |
|||
newins "${FILESDIR}"/gvimrc-r1 gvimrc |
|||
eprefixify "${ED}"/etc/vim/gvimrc |
|||
|
|||
# bash completion script, bug #79018. |
|||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN} |
|||
|
|||
# don't install vim desktop file |
|||
rm -v "${ED}"/usr/share/applications/vim.desktop || die "failed to remove vim.desktop" |
|||
} |
|||
|
|||
pkg_postinst() { |
|||
# update documentation tags (from vim-doc.eclass) |
|||
update_vim_helptags |
|||
|
|||
# update fdo mime stuff, bug #78394 |
|||
xdg_desktop_database_update |
|||
|
|||
# update icon cache |
|||
xdg_icon_cache_update |
|||
|
|||
# call eselect vi update |
|||
eselect_vi_update |
|||
} |
|||
|
|||
pkg_postrm() { |
|||
# update documentation tags (from vim-doc.eclass) |
|||
update_vim_helptags |
|||
|
|||
# update fdo mime stuff, bug #78394 |
|||
xdg_desktop_database_update |
|||
|
|||
# update icon cache |
|||
xdg_icon_cache_update |
|||
|
|||
# call eselect vi update |
|||
eselect_vi_update |
|||
} |
@ -0,0 +1,35 @@ |
|||
From e97700d867ffa949c97f8a635a76b9ce510e806f Mon Sep 17 00:00:00 2001 |
|||
Message-Id: <e97700d867ffa949c97f8a635a76b9ce510e806f.1580460243.git.mprivozn@redhat.com> |
|||
In-Reply-To: <5965f20fe0275b324c9b84ab7f48dd7db0494495.1580460243.git.mprivozn@redhat.com> |
|||
References: <5965f20fe0275b324c9b84ab7f48dd7db0494495.1580460243.git.mprivozn@redhat.com> |
|||
From: Michal Privoznik <mprivozn@redhat.com> |
|||
Date: Fri, 31 Jan 2020 09:42:14 +0100 |
|||
Subject: [PATCH 2/3] Fix paths in libvirt-guests.sh.in |
|||
|
|||
Signed-off-by: Michal Privoznik <mprivozn@redhat.com> |
|||
---
|
|||
tools/libvirt-guests.sh.in | 6 +++--- |
|||
1 file changed, 3 insertions(+), 3 deletions(-) |
|||
|
|||
diff --git a/tools/libvirt-guests.sh.in b/tools/libvirt-guests.sh.in
|
|||
index a881f6266e..79d38b3e9a 100644
|
|||
--- a/tools/libvirt-guests.sh.in
|
|||
+++ b/tools/libvirt-guests.sh.in
|
|||
@@ -39,11 +39,11 @@ START_DELAY=0
|
|||
BYPASS_CACHE=0 |
|||
SYNC_TIME=0 |
|||
|
|||
-test -f "$sysconfdir"/sysconfig/libvirt-guests &&
|
|||
- . "$sysconfdir"/sysconfig/libvirt-guests
|
|||
+test -f "$sysconfdir"/libvirt/libvirt-guests.conf &&
|
|||
+ . "$sysconfdir"/libvirt/libvirt-guests.conf
|
|||
|
|||
LISTFILE="$localstatedir"/lib/libvirt/libvirt-guests |
|||
-VAR_SUBSYS_LIBVIRT_GUESTS="$localstatedir"/lock/subsys/libvirt-guests
|
|||
+VAR_SUBSYS_LIBVIRT_GUESTS="$localstatedir"/lock/libvirt-guests
|
|||
|
|||
RETVAL=0 |
|||
|
|||
--
|
|||
2.24.1 |
|||
|
@ -0,0 +1,16 @@ |
|||
diff --git i/configure w/configure
|
|||
index a72a5def57..546d757603 100755
|
|||
--- i/configure
|
|||
+++ w/configure
|
|||
@@ -6093,10 +6093,6 @@ write_c_skeleton
|
|||
if test "$gcov" = "yes" ; then |
|||
QEMU_CFLAGS="-fprofile-arcs -ftest-coverage -g $QEMU_CFLAGS" |
|||
QEMU_LDFLAGS="-fprofile-arcs -ftest-coverage $QEMU_LDFLAGS" |
|||
-elif test "$fortify_source" = "yes" ; then
|
|||
- CFLAGS="-O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $CFLAGS"
|
|||
-elif test "$debug" = "no"; then
|
|||
- CFLAGS="-O2 $CFLAGS"
|
|||
fi |
|||
|
|||
if test "$have_asan" = "yes"; then |
|||
|
@ -1,2 +1,3 @@ |
|||
DIST calibre-3.48.0.tar.xz 38777408 BLAKE2B 9a7fae20487ae93120cfdc06a312a42d54d68935fdd2bc18dc41be5f8d359c79eae24e0409ba8e7f4df85e2f073f80ce6bab56cba0638cead6693600fa93cb41 SHA512 6cee28fb560e2e00b8ac2f32756f094146c6fe744cfc343d68f1fb54b3f8b0ca16129a5b35018af54a103790faa2eb03ac186c01003f21c874d2ed5218441220 |
|||
DIST calibre-4.10.0.tar.xz 37021688 BLAKE2B 80a8ee99d07b73bb770df54d57ad43d48407909822b0d1a101e3ece328935910e5197df531b0730faf0131eee2ae853c3606894fb46d438f7d0c00bc0fedd7e4 SHA512 71777151130fdafa4c4540017f0b9353811cfed68daf69d6d832151651010bb903d91866c1fde30df9fdea85a10b6350bdfd4838547f81af3ff540d674096c6e |
|||
DIST calibre-4.9.1.tar.xz 37529656 BLAKE2B 5d703ca0c398b43cc26a54e0628d0fe938c6a5027a4fd0c9cac83944e5143eb08439bf79b2098182be7727eaa042748f17866788b02c7744178dce131f6b1d1e SHA512 bf06aa3cbc8d255934f3f7f3ce20b4798edf107ed9f822943d2b4ae7d95473842928ed79f8ba7571f7e0ebdc267c441916d543d5b7630aae5cb151bcc3184b71 |
@ -0,0 +1,269 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
PYTHON_COMPAT=( python2_7 python3_{6,7} ) |
|||
PYTHON_REQ_USE="sqlite,ssl" |
|||
|
|||
inherit bash-completion-r1 desktop toolchain-funcs python-single-r1 xdg-utils |
|||
|
|||
DESCRIPTION="Ebook management application" |
|||
HOMEPAGE="https://calibre-ebook.com/" |
|||
SRC_URI="https://download.calibre-ebook.com/${PV}/${P}.tar.xz" |
|||
|
|||
LICENSE=" |
|||
GPL-3+ |
|||
GPL-3 |
|||
GPL-2+ |
|||
GPL-2 |
|||
GPL-1+ |
|||
LGPL-3+ |
|||
LGPL-2.1+ |
|||
LGPL-2.1 |
|||
BSD |
|||
MIT |
|||
Old-MIT |
|||
Apache-2.0 |
|||
public-domain |
|||
|| ( Artistic GPL-1+ ) |
|||
CC-BY-3.0 |
|||
OFL-1.1 |
|||
PSF-2 |
|||
" |
|||
KEYWORDS="~amd64 ~arm ~x86" |
|||
SLOT="0" |
|||
IUSE="ios +udisks" |
|||
|
|||
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
|||
|
|||
COMMON_DEPEND="${PYTHON_DEPS} |
|||
>=app-text/hunspell-1.7:= |
|||
>=app-text/podofo-0.9.6_pre20171027:= |
|||
>=app-text/poppler-0.26.5[qt5] |
|||
>=dev-libs/chmlib-0.40:= |
|||
dev-libs/glib:2= |
|||
dev-libs/hyphen:= |
|||
>=dev-libs/icu-57.1:= |
|||
dev-libs/libinput:= |
|||
>=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}] |
|||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
|||
>=dev-python/chardet-3.0.3[${PYTHON_USEDEP}] |
|||
>=dev-python/cssselect-0.7.1[${PYTHON_USEDEP}] |
|||
>=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}] |
|||
>=dev-python/dbus-python-1.2.4[${PYTHON_USEDEP}] |
|||
>=dev-libs/dbus-glib-0.106 |
|||
>=sys-apps/dbus-1.10.8 |
|||
dev-python/dnspython[${PYTHON_USEDEP}] |
|||
>=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}] |
|||
>=dev-python/html2text-2019.8.11[${PYTHON_USEDEP}] |
|||
>=dev-python/html5-parser-0.4.9[${PYTHON_USEDEP}] |
|||
>=dev-python/lxml-3.8.0[${PYTHON_USEDEP}] |
|||
>=dev-python/markdown-3.0.1[${PYTHON_USEDEP}] |
|||
>=dev-python/mechanize-0.3.5[${PYTHON_USEDEP}] |
|||
>=dev-python/msgpack-0.5.6[${PYTHON_USEDEP}] |
|||
>=dev-python/netifaces-0.10.5[${PYTHON_USEDEP}] |
|||
>=dev-python/pillow-3.2.0[${PYTHON_USEDEP}] |
|||
>=dev-python/psutil-4.3.0[${PYTHON_USEDEP}] |
|||
>=dev-python/pygments-2.3.1[${PYTHON_USEDEP}] |
|||
>=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}] |
|||
>=dev-python/PyQt5-5.12[gui,svg,widgets,network,printsupport,${PYTHON_USEDEP}] |
|||
>=dev-python/PyQtWebEngine-5.12[${PYTHON_USEDEP}] |
|||
dev-python/regex[${PYTHON_USEDEP}] |
|||
dev-qt/qtcore:5= |
|||
dev-qt/qtdbus:5= |
|||
dev-qt/qtgui:5= |
|||
>=dev-qt/qtwebengine-5.12 |
|||
dev-qt/qtwidgets:5= |
|||
dev-util/desktop-file-utils |
|||
dev-util/gtk-update-icon-cache |
|||
media-fonts/liberation-fonts |
|||
media-libs/fontconfig:= |
|||
>=media-libs/freetype-2:= |
|||
>=media-libs/libmtp-1.1.11:= |
|||
>=media-libs/libwmf-0.2.8 |
|||
>=media-gfx/optipng-0.7.6 |
|||
>=sys-libs/zlib-1.2.11:= |
|||
virtual/libusb:1= |
|||
x11-libs/libxkbcommon:= |
|||
x11-libs/libX11:= |
|||
x11-libs/libXext:= |
|||
x11-libs/libXrender:= |
|||
x11-misc/shared-mime-info |
|||
>=x11-misc/xdg-utils-1.0.2-r2 |
|||
ios? ( |
|||
>=app-pda/usbmuxd-1.0.8 |
|||
>=app-pda/libimobiledevice-1.2.0 |
|||
) |
|||
udisks? ( virtual/libudev )" |
|||
RDEPEND="${COMMON_DEPEND} |
|||
udisks? ( || ( sys-fs/udisks:2 sys-fs/udisks:0 ) )" |
|||
DEPEND="${COMMON_DEPEND} |
|||
>=dev-python/setuptools-23.1.0[${PYTHON_USEDEP}] |
|||
dev-python/sip[${PYTHON_USEDEP}] |
|||
>=virtual/podofo-build-0.9.6_pre20171027 |
|||
virtual/pkgconfig" |
|||
|
|||
pkg_pretend() { |
|||
if [[ ${MERGE_TYPE} != binary && $(gcc-major-version) -lt 6 ]]; then |
|||
eerror "Calibre cannot be built with this version of gcc." |
|||
eerror "You need at least gcc-6.0" |
|||
die "Your C compiler is too old for this package." |
|||
fi |
|||
} |
|||
|
|||
src_prepare() { |
|||
# no_updates: do not annoy user with "new version is availible all the time |
|||
# disable_plugins: walking sec-hole, wait for upstream to use GHNS interface |
|||
eapply \ |
|||
"${FILESDIR}/${PN}-2.9.0-no_updates_dialog.patch" \ |
|||
"${FILESDIR}/${PN}-disable_plugins.patch" |
|||
|
|||
eapply_user |
|||
|
|||
# Fix outdated version constant. |
|||
#sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \ |
|||
# -i src/calibre/constants.py || \ |
|||
# die "sed failed to patch constants.py" |
|||
|
|||
# Avoid sandbox violation in /usr/share/gnome/apps when linux.py |
|||
# calls xdg-* (bug #258938). |
|||
sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \ |
|||
-e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \ |
|||
-e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \ |
|||
-e "s|, PreserveMIMEDefaults():|:|" \ |
|||
-e "s|'xdg-icon-resource', 'install'|\\0, '--mode', 'user'|" \ |
|||
-e "s|cmd\[2\]|cmd[4]|" \ |
|||
-e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \ |
|||
-e "s|'xdg-mime', 'install'|\\0, '--mode', 'user'|" \ |
|||
-i src/calibre/linux.py || die "sed failed to patch linux.py" |
|||
|
|||
# Disable unnecessary privilege dropping for bug #287067. |
|||
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \ |
|||
-i setup/install.py || die "sed failed to patch install.py" |
|||
|
|||
sed -e "/^ self.check_call(\\[QMAKE\\] + qmc + \\[proname\\])$/a\ |
|||
\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \ |
|||
'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \ |
|||
'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \ |
|||
'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \ |
|||
'-i', 'Makefile'])" \ |
|||
-i setup/build.py || die "sed failed to patch build.py" |
|||
} |
|||
|
|||
src_install() { |
|||
# calibre works with python 3, so remove the python 2 constraint |
|||
export CALIBRE_PY3_PORT=1 |
|||
|
|||
# Bypass kbuildsycoca and update-mime-database in order to |
|||
# avoid sandbox violations if xdg-mime tries to call them. |
|||
cat - > "${T}/kbuildsycoca" <<-EOF |
|||
#!${BASH} |
|||
echo $0 : $@ |
|||
exit 0 |
|||
EOF |
|||
|
|||
cp "${T}"/{kbuildsycoca,update-mime-database} || die |
|||
chmod +x "${T}"/{kbuildsycoca,update-mime-database} || die |
|||
|
|||
export QMAKE="${EPREFIX}/usr/$(get_libdir)/qt5/bin/qmake" |
|||
|
|||
# Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox |
|||
# violation with kbuildsycoca as in bug #287067, comment #13. |
|||
export -n DISPLAY |
|||
|
|||
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError: |
|||
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale |
|||
# return _parse_localename(localename) |
|||
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename |
|||
# raise ValueError, 'unknown locale: %s' % localename |
|||
#ValueError: unknown locale: 46 |
|||
export -n LANG LANGUAGE ${!LC_*} |
|||
export LC_ALL=C #684484 |
|||
|
|||
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing |
|||
# variables to point to our fake temporary $HOME. |
|||
export HOME="${T}/fake_homedir" |
|||
export XDG_CONFIG_HOME="${HOME}/.config" |
|||
export XDG_DATA_HOME="${HOME}/.local/share" |
|||
export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre" |
|||
mkdir -p "${XDG_DATA_HOME}" "${CALIBRE_CONFIG_DIRECTORY}" || die |
|||
|
|||
tc-export CC CXX |
|||
# Bug #334243 - respect LDFLAGS when building extensions |
|||
export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS" |
|||
local libdir=$(get_libdir) |
|||
[[ -n $libdir ]] || die "get_libdir returned an empty string" |
|||
|
|||
addpredict /dev/dri #665310 |
|||
|
|||
PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \ |
|||
"${PYTHON}" setup.py install \ |
|||
--root="${D}" \ |
|||
--prefix="${EPREFIX}/usr" \ |
|||
--libdir="${EPREFIX}/usr/${libdir}" \ |
|||
--staging-root="${ED}/usr" \ |
|||
--staging-libdir="${ED}/usr/${libdir}" || die |
|||
|
|||