parent
74f2b1860b
commit
b416ca158e
Binary file not shown.
Binary file not shown.
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>systemd@gentoo.org</email>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,8 @@
|
|||||||
|
# Copyright 2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit acct-group
|
||||||
|
|
||||||
|
ACCT_GROUP_ID=405
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST gnome-autoar-0.3.0.tar.xz 297072 BLAKE2B 7c7204d605c80a6e0735e0be6dec1024e6073cb99d6bde885a1c8b10b7f6e6476a181c99b5bbb755abfdf86bc56aff3d9b174189ff29cc58d24607b482f242ab SHA512 2f5962e115b25be9578ecad51d9906e426bb60b675e42b364d9f0b67f0751cf59d4afd4dbfc8adc0d13256e5dcee445c5195262e6ff0839ef88350b1c6e5293a
|
|
||||||
DIST gnome-autoar-0.3.1.tar.xz 297904 BLAKE2B 607c9b3a26cf23eed3b9b19c32e2e0b3b9127977b5836b0b263cc3163490fd10052716e073264bbe946e351ec096021dd243560f6e7781400029263705308328 SHA512 a8ece09f66d7f1761fb4217f267b8a6dd1dee2266cc10f9944b1860c364e0d671286c6bf9477bdee5d0dd231b959ebefdd7a7003d679c38fe1553863033311dc
|
DIST gnome-autoar-0.3.1.tar.xz 297904 BLAKE2B 607c9b3a26cf23eed3b9b19c32e2e0b3b9127977b5836b0b263cc3163490fd10052716e073264bbe946e351ec096021dd243560f6e7781400029263705308328 SHA512 a8ece09f66d7f1761fb4217f267b8a6dd1dee2266cc10f9944b1860c364e0d671286c6bf9477bdee5d0dd231b959ebefdd7a7003d679c38fe1553863033311dc
|
||||||
|
@ -1,43 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
VALA_USE_DEPEND="vapigen"
|
|
||||||
|
|
||||||
inherit gnome2 vala
|
|
||||||
|
|
||||||
DESCRIPTION="Automatic archives creating and extracting library"
|
|
||||||
HOMEPAGE="https://git.gnome.org/browse/gnome-autoar"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1+"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="gtk +introspection vala"
|
|
||||||
REQUIRED_USE="vala? ( introspection )"
|
|
||||||
|
|
||||||
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=app-arch/libarchive-3.2.0
|
|
||||||
>=dev-libs/glib-2.35.6:2
|
|
||||||
gtk? ( >=x11-libs/gtk+-3.2:3[introspection?] )
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-1.30.0:= )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
BDEPEND="
|
|
||||||
>=dev-util/gtk-doc-am-1.14
|
|
||||||
virtual/pkgconfig
|
|
||||||
vala? ( $(vala_depend) )
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
use vala && vala_src_prepare
|
|
||||||
gnome2_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
gnome2_src_configure \
|
|
||||||
--disable-static \
|
|
||||||
$(use_enable introspection) \
|
|
||||||
$(use_enable vala) \
|
|
||||||
$(use_enable gtk)
|
|
||||||
}
|
|
Binary file not shown.
@ -1,4 +1,2 @@
|
|||||||
DIST borgbackup-1.1.11.tar.gz 3718055 BLAKE2B ea03d538bd7936cc12705f73c3f8e63dc28167f1930e84bdd04fc13bcc34c2b9f35e7e6ed945ba20b647dbdefe12c66c04645414c7efc974e53a312e3dff6991 SHA512 cf629f31d38d27ce6350670ff27b4937f2f30eddf9e0cd9209cd9d57a4ffa653f5a291ea1e1c79614dd2c08bcf5c50bc3e4e0f222e0d3cd1bbfb2d756b4a4573
|
|
||||||
DIST borgbackup-1.1.13.tar.gz 3754457 BLAKE2B 3d3dce66ad685fbde53cb78e288b4edc53af449ed54379e5f0b9ab3b10d8cf43ae983de5abeccb1874fbf1283f3e2796ac35ff9de349905d03d0b0c560f4fa93 SHA512 2480dba6c842659a248361b35b478120e50df3525b8f07d89dac4e78369bb1dad2679b9efa6a4d6f38637759666095dc2dcbb7750edccd97972e2c8980a51b84
|
|
||||||
DIST borgbackup-1.1.14.tar.gz 3769460 BLAKE2B b5a7025d9f7f0764d6532e9e0fd867b3e4c8bac3c584f7a83331a5e7ec39fda14f3f82465e9bf483596453b7cd96bffac3f273ba6171ed109e8a83fb4a1d766e SHA512 2aae851d38ec2431cd09f9390b3afa41ec44c2891a3698b01f036cebc5b64d7b7f328d7c95bf30fc29016b4bd2d2ada2613f895091e22148f3d4861f4facd35f
|
|
||||||
DIST borgbackup-1.1.15.tar.gz 3777355 BLAKE2B 388f3cd33280c9d1a27b9cd43509d317aa1c95d08418a43c176146243d83cf07b3033707ab5423eeb097e92bb31cf016f65fc3738ebff1bb8c704a54c6e8dd12 SHA512 db2f06a96897c07a71e9c4531d4f219ef5451009c08ae933348b1a02b7d6c95b4e814a25b4cf465c0021ff670fdd46076c486c2a466d056dd931cb7eee8b1ef3
|
DIST borgbackup-1.1.15.tar.gz 3777355 BLAKE2B 388f3cd33280c9d1a27b9cd43509d317aa1c95d08418a43c176146243d83cf07b3033707ab5423eeb097e92bb31cf016f65fc3738ebff1bb8c704a54c6e8dd12 SHA512 db2f06a96897c07a71e9c4531d4f219ef5451009c08ae933348b1a02b7d6c95b4e814a25b4cf465c0021ff670fdd46076c486c2a466d056dd931cb7eee8b1ef3
|
||||||
|
DIST borgbackup-1.1.16.tar.gz 3777030 BLAKE2B bf5ad487fd0cdcce341b14ad950bc447d89d025b1b3434c5d270539d1fc4aec92b52a750ab1079911e53478411f91c92be4f053c09289b1e38285caa03453f17 SHA512 9cdfe794329821c784461382633fd29f7f9b3cc6ef9e7fa2463ed178efd64ea367e56d49128d88b86bd516d36971282207ec173735ecb4eabc4ec7b4604ed773
|
||||||
|
@ -1,44 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_7 )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
if [[ ${PV} == "9999" ]] ; then
|
|
||||||
EGIT_REPO_URI="https://github.com/${PN}/borg.git"
|
|
||||||
inherit git-r3
|
|
||||||
else
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Deduplicating backup program with compression and authenticated encryption"
|
|
||||||
HOMEPAGE="https://borgbackup.readthedocs.io/"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="libressl"
|
|
||||||
|
|
||||||
# Unfortunately we have a file conflict with app-office/borg, bug #580402
|
|
||||||
RDEPEND="
|
|
||||||
!!app-office/borg
|
|
||||||
app-arch/lz4
|
|
||||||
virtual/acl
|
|
||||||
dev-python/llfuse[${PYTHON_USEDEP}]
|
|
||||||
!libressl? ( dev-libs/openssl:0= )
|
|
||||||
libressl? ( dev-libs/libressl:0= )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
|
||||||
dev-python/cython[${PYTHON_USEDEP}]
|
|
||||||
${RDEPEND}
|
|
||||||
"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
distutils-r1_src_install
|
|
||||||
doman docs/man/*
|
|
||||||
}
|
|
@ -1,44 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7,8} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
if [[ ${PV} == "9999" ]] ; then
|
|
||||||
EGIT_REPO_URI="https://github.com/${PN}/borg.git"
|
|
||||||
inherit git-r3
|
|
||||||
else
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
KEYWORDS="amd64 ~ppc64 x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Deduplicating backup program with compression and authenticated encryption"
|
|
||||||
HOMEPAGE="https://borgbackup.readthedocs.io/"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="libressl"
|
|
||||||
|
|
||||||
# Unfortunately we have a file conflict with app-office/borg, bug #580402
|
|
||||||
RDEPEND="
|
|
||||||
!!app-office/borg
|
|
||||||
app-arch/lz4
|
|
||||||
virtual/acl
|
|
||||||
dev-python/llfuse[${PYTHON_USEDEP}]
|
|
||||||
!libressl? ( dev-libs/openssl:0= )
|
|
||||||
libressl? ( dev-libs/libressl:0= )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
|
||||||
dev-python/cython[${PYTHON_USEDEP}]
|
|
||||||
${RDEPEND}
|
|
||||||
"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
distutils-r1_src_install
|
|
||||||
doman docs/man/*
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,11 @@
|
|||||||
|
--- a/filladapt.el
|
||||||
|
+++ b/filladapt.el
|
||||||
|
@@ -86,7 +86,7 @@
|
||||||
|
(defmacro defgroup (&rest args)
|
||||||
|
nil)
|
||||||
|
(defmacro defcustom (var value doc &rest args)
|
||||||
|
- (` (defvar (, var) (, value) (, doc))))))
|
||||||
|
+ `(defvar ,var ,value ,doc))))
|
||||||
|
|
||||||
|
(defgroup filladapt nil
|
||||||
|
"Enhanced filling"
|
@ -0,0 +1,21 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit elisp readme.gentoo-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Filladapt enhances the behavior of Emacs' fill functions"
|
||||||
|
HOMEPAGE="http://www.wonderworks.com/"
|
||||||
|
SRC_URI="mirror://gentoo/${P}.el.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86"
|
||||||
|
|
||||||
|
PATCHES=("${FILESDIR}"/${P}-backquote.patch)
|
||||||
|
SITEFILE="50${PN}-gentoo.el"
|
||||||
|
DOC_CONTENTS="Filladapt is not enabled as a site default. Add the following
|
||||||
|
lines to your ~/.emacs file to enable adaptive fill by default:
|
||||||
|
\n\t(require 'filladapt)
|
||||||
|
\n\t(setq-default filladapt-mode t)"
|
@ -1 +1,2 @@
|
|||||||
DIST gnuplot-mode-0.7.0.tar.gz 373475 BLAKE2B 6aa547b90922fa445de10825ae8f0c05249a335a1cc531118200bc49c4b62f610e07a7c5bd694a3c6bf6605b937a520a8008d67263d2e83cabf009fb855e7a97 SHA512 fdf04a3a32755892d422de8a535682ff44d1b635ecdc814738564376f5c7027a82c23807439835f2b7bf959f4f8b7a7d38d07a643f84ab2056ba187f3558e596
|
DIST gnuplot-mode-0.7.0.tar.gz 373475 BLAKE2B 6aa547b90922fa445de10825ae8f0c05249a335a1cc531118200bc49c4b62f610e07a7c5bd694a3c6bf6605b937a520a8008d67263d2e83cabf009fb855e7a97 SHA512 fdf04a3a32755892d422de8a535682ff44d1b635ecdc814738564376f5c7027a82c23807439835f2b7bf959f4f8b7a7d38d07a643f84ab2056ba187f3558e596
|
||||||
|
DIST gnuplot-mode-0.8.0.tar.gz 352106 BLAKE2B 5408cc682b205ee712d2e0ff94b57a585d4040a62d1c61b3248cac63c16c76899b4ebe9b8e6ff091216beac3c9c79ea1425e018b275145d8ed5aff3b64e524bf SHA512 d1f93f0a28036ed66869ce228ff7c7007cdd463006d29930f01a6c5fa31c0487f603f0394f423fb8831b054e8d465f669f11ec2c3f8115ef1c84d828f77056cf
|
||||||
|
@ -0,0 +1,36 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit elisp readme.gentoo-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Gnuplot mode for Emacs"
|
||||||
|
HOMEPAGE="https://github.com/emacsorphanage/gnuplot"
|
||||||
|
SRC_URI="https://github.com/emacsorphanage/${PN%-mode}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PN%-mode}-${PV}"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+ gnuplot"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||||
|
IUSE="doc"
|
||||||
|
|
||||||
|
BDEPEND="doc? ( virtual/latex-base )"
|
||||||
|
RDEPEND="sci-visualization/gnuplot[-emacs(-)]"
|
||||||
|
|
||||||
|
SITEFILE="50${PN}-gentoo.el"
|
||||||
|
DOCS=(CHANGELOG.org README.org)
|
||||||
|
DOC_CONTENTS="Please see ${SITELISP}/${PN}/gnuplot.el for the complete
|
||||||
|
documentation."
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
elisp_src_compile
|
||||||
|
use doc && { pdflatex gpelcard || die; }
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
elisp_src_install
|
||||||
|
doinfo gnuplot.info
|
||||||
|
use doc && dodoc gpelcard.pdf
|
||||||
|
}
|
Binary file not shown.
@ -1,10 +1,10 @@
|
|||||||
DIST gentoo-wine-patches-20200523.tar.xz 59740 BLAKE2B 951d7f305a6e5b3759c8095629d48de4830b8a0c9558de859a9e02d9824fe85553fda2bc0820ca97022a0ca63ac28473dadfe827821220445dbf1a7fd15c7c98 SHA512 46eea45c982b475e3ff444cbd87c6a0a235fc8dcaf3d83d89655a10ed8841a9ddb09e5a638a05803f3bf2c3bd34165c16067aba561efa4c183ee396dc31cdf75
|
DIST gentoo-wine-patches-20200523.tar.xz 59740 BLAKE2B 951d7f305a6e5b3759c8095629d48de4830b8a0c9558de859a9e02d9824fe85553fda2bc0820ca97022a0ca63ac28473dadfe827821220445dbf1a7fd15c7c98 SHA512 46eea45c982b475e3ff444cbd87c6a0a235fc8dcaf3d83d89655a10ed8841a9ddb09e5a638a05803f3bf2c3bd34165c16067aba561efa4c183ee396dc31cdf75
|
||||||
DIST gentoo-wine-patches-20210302.tar.xz 60112 BLAKE2B 993cc671da00e5f44022af14f7b14f41155db4f2a02a971d17e7d40c3aece59e6b0dcd2793157c91bfe1f240a4b9e59a731f07dcb3314688f978e2f79e8062f1 SHA512 623cfa1420350d76d4b3897310bb81ce86740306a16ec974762cae886ae6717194b726cb4bfa588ea451414b399c50cca72125020738cdc3e13f6cc84983f858
|
DIST gentoo-wine-patches-20210302.tar.xz 60112 BLAKE2B 993cc671da00e5f44022af14f7b14f41155db4f2a02a971d17e7d40c3aece59e6b0dcd2793157c91bfe1f240a4b9e59a731f07dcb3314688f978e2f79e8062f1 SHA512 623cfa1420350d76d4b3897310bb81ce86740306a16ec974762cae886ae6717194b726cb4bfa588ea451414b399c50cca72125020738cdc3e13f6cc84983f858
|
||||||
DIST wine-6.1.tar.xz 24227160 BLAKE2B 968405fb8a4060732a6070687e28aecc9169692bf18e058d358e859a2626281b5adb67b94d849628ecbfa87ad772a367f62fd3c5f45aecdf7d0a7e7aa8167c33 SHA512 49ee77c41e2fb1c4f22417117b26f8a467ec6c99583fca66f147003f776fcaf5ca42227153c7ca3325dfe70141ae9bfb88e3eb6e4cf25dd31a5ba5115d2685d0
|
|
||||||
DIST wine-6.2.tar.xz 24270924 BLAKE2B b83e7ff097d8f48cc46588a672515e8c1eafeafd592d4ced6a8347eaa33c31f9c5a2603958a10ce02463993c8ca5db77b227d0fbce452c1e3a637e5ea42cf635 SHA512 d28870ba58fc4ed9dc083f843d7f4ee8921722bb33e0b84c89f281fc27e5f827c0998ad629eb21c92f860dade77194d3c8a0f5b4c6ae3407fe7acef245cfa9a4
|
DIST wine-6.2.tar.xz 24270924 BLAKE2B b83e7ff097d8f48cc46588a672515e8c1eafeafd592d4ced6a8347eaa33c31f9c5a2603958a10ce02463993c8ca5db77b227d0fbce452c1e3a637e5ea42cf635 SHA512 d28870ba58fc4ed9dc083f843d7f4ee8921722bb33e0b84c89f281fc27e5f827c0998ad629eb21c92f860dade77194d3c8a0f5b4c6ae3407fe7acef245cfa9a4
|
||||||
DIST wine-6.3.tar.xz 24301496 BLAKE2B d36e46e369abc619d351dd3209c0c86c5e5924509fe98a9e158fd10b9ca57650b9bc20e64dc801ec1b09315ed77fd81b549ebce7f383a3f772717a2031878588 SHA512 20108ea5036d612e8dd61fe9254d67cad02d757ede87174ed27774e4e3537e0d1f4d67156fd430f1d01d5c68b899cb0c7b4be298d897a1ce823913efef822242
|
DIST wine-6.3.tar.xz 24301496 BLAKE2B d36e46e369abc619d351dd3209c0c86c5e5924509fe98a9e158fd10b9ca57650b9bc20e64dc801ec1b09315ed77fd81b549ebce7f383a3f772717a2031878588 SHA512 20108ea5036d612e8dd61fe9254d67cad02d757ede87174ed27774e4e3537e0d1f4d67156fd430f1d01d5c68b899cb0c7b4be298d897a1ce823913efef822242
|
||||||
DIST wine-6.4.tar.xz 24340220 BLAKE2B b09ea9237b71856184a03e64ef8cf7aa30591ebd6534a550e9365ea9ab773d81283520ca6b0efc8aa69063cdeae8da35fc22e08a40c73c6268db4d57b0442ad2 SHA512 f190e1b97defb4620e33d1a4e2afffd475f6b3998153c67c6d06840b4f3b93a50f88c6844de15e7f54ca712330f6fea857310861a78b961feb7f64a4869f3fe1
|
DIST wine-6.4.tar.xz 24340220 BLAKE2B b09ea9237b71856184a03e64ef8cf7aa30591ebd6534a550e9365ea9ab773d81283520ca6b0efc8aa69063cdeae8da35fc22e08a40c73c6268db4d57b0442ad2 SHA512 f190e1b97defb4620e33d1a4e2afffd475f6b3998153c67c6d06840b4f3b93a50f88c6844de15e7f54ca712330f6fea857310861a78b961feb7f64a4869f3fe1
|
||||||
DIST wine-staging-6.1.tar.gz 9855125 BLAKE2B e5bd41294b7f17cd283d4ab90cce4f362740c2b3de2a867ef50c44639f5472392b3c11e199a66da63018f18df2f2a99579b50f27d6dd0163bd989efe1e7983e2 SHA512 50bf3f07cf8008731cee131852cbce43c5ec44219e8e96fb70a0fc82954b0a2a9d25ee8b25b7c62b47abd131591ca8fe0461214287601465edccda80be6d598f
|
DIST wine-6.5.tar.xz 24375196 BLAKE2B c30f606d268bf39f9424dd2e65f98f75b3538c82df6a931ea4955040a625ff07a2272f7d83f4343f8997ac2660a934528279ff31555ef062c81487e897c429f9 SHA512 11f9d2bb515c63429d397b97ecc1f13d0dbb717780d674229b851b819d707e0fd6fbf8bbae9a41dbf7b2ceb3729c4f5643d1ec5e414d6694d192072081f96fe4
|
||||||
DIST wine-staging-6.2.tar.gz 9820682 BLAKE2B 3de0c0ecbdabc1ffb965e6d5ebf5689fbeaf24ee33aaa2ff078db39d1542aa935b6d4d940fef570f1c60260748f4ef52b9789625b840f73e70ed3482995d505d SHA512 558c46250babaacda92885c35c438797baff7b8eb45cb3cdf7f7572c35e6412e621182061a3a4e31444cc7580f99a61de6bd433bf2bb2b8139cdd718afd9cd2e
|
DIST wine-staging-6.2.tar.gz 9820682 BLAKE2B 3de0c0ecbdabc1ffb965e6d5ebf5689fbeaf24ee33aaa2ff078db39d1542aa935b6d4d940fef570f1c60260748f4ef52b9789625b840f73e70ed3482995d505d SHA512 558c46250babaacda92885c35c438797baff7b8eb45cb3cdf7f7572c35e6412e621182061a3a4e31444cc7580f99a61de6bd433bf2bb2b8139cdd718afd9cd2e
|
||||||
DIST wine-staging-6.3.tar.gz 9796930 BLAKE2B b24e5ec57435a0d797e4d913b027226b3c891477d9df5d098be52348dff4eb704275c7c59d09f6cbdf7f86940a0e6c96bf28f94bd703fd32d6770a31426043fc SHA512 ed9b3b03c466de03941d7fec00c73ff77df863c3f4ba201e7f920810675ff416995557cb62b6701dcec6928f2ab9e4d608f17b79eda0267094e506a5e66f47f2
|
DIST wine-staging-6.3.tar.gz 9796930 BLAKE2B b24e5ec57435a0d797e4d913b027226b3c891477d9df5d098be52348dff4eb704275c7c59d09f6cbdf7f86940a0e6c96bf28f94bd703fd32d6770a31426043fc SHA512 ed9b3b03c466de03941d7fec00c73ff77df863c3f4ba201e7f920810675ff416995557cb62b6701dcec6928f2ab9e4d608f17b79eda0267094e506a5e66f47f2
|
||||||
DIST wine-staging-6.4.tar.gz 9778866 BLAKE2B 9fe69f359dd70433118695881c5254223f4e2ef0b78868fc87df6a8a5789004fa5173987a04f4c3f8b51ab70d0c4b573c2ce867765b7009346790dcca6824347 SHA512 9229ff6f56120c64cf79d2b817ce2e1f43f1f02e77356f7d371104a4d8a6455a090555ad80b0efd18f69edd019a2caac7bdf59aaba097ac01d311dac927e48b5
|
DIST wine-staging-6.4.tar.gz 9778866 BLAKE2B 9fe69f359dd70433118695881c5254223f4e2ef0b78868fc87df6a8a5789004fa5173987a04f4c3f8b51ab70d0c4b573c2ce867765b7009346790dcca6824347 SHA512 9229ff6f56120c64cf79d2b817ce2e1f43f1f02e77356f7d371104a4d8a6455a090555ad80b0efd18f69edd019a2caac7bdf59aaba097ac01d311dac927e48b5
|
||||||
|
DIST wine-staging-6.5.tar.gz 9743825 BLAKE2B 606377c33a789e092f044bb610746e54fba77a9af0e3da674d16c8ce0f51c59d82f78f0e63c5915fb6f1ab10d6ee91d7b95a7634f1177a6455de6e0c0517ef01 SHA512 bb5199419a22a4536ff95fb0e6257d7c870fe79f40346d56101579edae5c44086fac0db975e04452fcc1d7cda0d5392ff703e1c39504ec4ee63610e2e89fd1e1
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
DIST gentoo-wine-patches-20200523.tar.xz 59740 BLAKE2B 951d7f305a6e5b3759c8095629d48de4830b8a0c9558de859a9e02d9824fe85553fda2bc0820ca97022a0ca63ac28473dadfe827821220445dbf1a7fd15c7c98 SHA512 46eea45c982b475e3ff444cbd87c6a0a235fc8dcaf3d83d89655a10ed8841a9ddb09e5a638a05803f3bf2c3bd34165c16067aba561efa4c183ee396dc31cdf75
|
DIST gentoo-wine-patches-20200523.tar.xz 59740 BLAKE2B 951d7f305a6e5b3759c8095629d48de4830b8a0c9558de859a9e02d9824fe85553fda2bc0820ca97022a0ca63ac28473dadfe827821220445dbf1a7fd15c7c98 SHA512 46eea45c982b475e3ff444cbd87c6a0a235fc8dcaf3d83d89655a10ed8841a9ddb09e5a638a05803f3bf2c3bd34165c16067aba561efa4c183ee396dc31cdf75
|
||||||
DIST gentoo-wine-patches-20210302.tar.xz 60112 BLAKE2B 993cc671da00e5f44022af14f7b14f41155db4f2a02a971d17e7d40c3aece59e6b0dcd2793157c91bfe1f240a4b9e59a731f07dcb3314688f978e2f79e8062f1 SHA512 623cfa1420350d76d4b3897310bb81ce86740306a16ec974762cae886ae6717194b726cb4bfa588ea451414b399c50cca72125020738cdc3e13f6cc84983f858
|
DIST gentoo-wine-patches-20210302.tar.xz 60112 BLAKE2B 993cc671da00e5f44022af14f7b14f41155db4f2a02a971d17e7d40c3aece59e6b0dcd2793157c91bfe1f240a4b9e59a731f07dcb3314688f978e2f79e8062f1 SHA512 623cfa1420350d76d4b3897310bb81ce86740306a16ec974762cae886ae6717194b726cb4bfa588ea451414b399c50cca72125020738cdc3e13f6cc84983f858
|
||||||
DIST wine-6.0.tar.xz 24192280 BLAKE2B baf0eee582190ede8d210390b51d330c1879cb442100bc2e957052898fbd84bcc047a885065f9bf96ac4f072f92eee44f0e1c3baddc68937286e7cc6f976bd4e SHA512 c0732fbab1da8737d595a876b28ce87eef1440c317746e798642b59b44b34e890de562e0c0cc674e97096f39db82f8e9c3b1cc1ba9edc246b7266a0f7cb00057
|
DIST wine-6.0.tar.xz 24192280 BLAKE2B baf0eee582190ede8d210390b51d330c1879cb442100bc2e957052898fbd84bcc047a885065f9bf96ac4f072f92eee44f0e1c3baddc68937286e7cc6f976bd4e SHA512 c0732fbab1da8737d595a876b28ce87eef1440c317746e798642b59b44b34e890de562e0c0cc674e97096f39db82f8e9c3b1cc1ba9edc246b7266a0f7cb00057
|
||||||
DIST wine-6.1.tar.xz 24227160 BLAKE2B 968405fb8a4060732a6070687e28aecc9169692bf18e058d358e859a2626281b5adb67b94d849628ecbfa87ad772a367f62fd3c5f45aecdf7d0a7e7aa8167c33 SHA512 49ee77c41e2fb1c4f22417117b26f8a467ec6c99583fca66f147003f776fcaf5ca42227153c7ca3325dfe70141ae9bfb88e3eb6e4cf25dd31a5ba5115d2685d0
|
|
||||||
DIST wine-6.2.tar.xz 24270924 BLAKE2B b83e7ff097d8f48cc46588a672515e8c1eafeafd592d4ced6a8347eaa33c31f9c5a2603958a10ce02463993c8ca5db77b227d0fbce452c1e3a637e5ea42cf635 SHA512 d28870ba58fc4ed9dc083f843d7f4ee8921722bb33e0b84c89f281fc27e5f827c0998ad629eb21c92f860dade77194d3c8a0f5b4c6ae3407fe7acef245cfa9a4
|
DIST wine-6.2.tar.xz 24270924 BLAKE2B b83e7ff097d8f48cc46588a672515e8c1eafeafd592d4ced6a8347eaa33c31f9c5a2603958a10ce02463993c8ca5db77b227d0fbce452c1e3a637e5ea42cf635 SHA512 d28870ba58fc4ed9dc083f843d7f4ee8921722bb33e0b84c89f281fc27e5f827c0998ad629eb21c92f860dade77194d3c8a0f5b4c6ae3407fe7acef245cfa9a4
|
||||||
DIST wine-6.3.tar.xz 24301496 BLAKE2B d36e46e369abc619d351dd3209c0c86c5e5924509fe98a9e158fd10b9ca57650b9bc20e64dc801ec1b09315ed77fd81b549ebce7f383a3f772717a2031878588 SHA512 20108ea5036d612e8dd61fe9254d67cad02d757ede87174ed27774e4e3537e0d1f4d67156fd430f1d01d5c68b899cb0c7b4be298d897a1ce823913efef822242
|
DIST wine-6.3.tar.xz 24301496 BLAKE2B d36e46e369abc619d351dd3209c0c86c5e5924509fe98a9e158fd10b9ca57650b9bc20e64dc801ec1b09315ed77fd81b549ebce7f383a3f772717a2031878588 SHA512 20108ea5036d612e8dd61fe9254d67cad02d757ede87174ed27774e4e3537e0d1f4d67156fd430f1d01d5c68b899cb0c7b4be298d897a1ce823913efef822242
|
||||||
DIST wine-6.4.tar.xz 24340220 BLAKE2B b09ea9237b71856184a03e64ef8cf7aa30591ebd6534a550e9365ea9ab773d81283520ca6b0efc8aa69063cdeae8da35fc22e08a40c73c6268db4d57b0442ad2 SHA512 f190e1b97defb4620e33d1a4e2afffd475f6b3998153c67c6d06840b4f3b93a50f88c6844de15e7f54ca712330f6fea857310861a78b961feb7f64a4869f3fe1
|
DIST wine-6.4.tar.xz 24340220 BLAKE2B b09ea9237b71856184a03e64ef8cf7aa30591ebd6534a550e9365ea9ab773d81283520ca6b0efc8aa69063cdeae8da35fc22e08a40c73c6268db4d57b0442ad2 SHA512 f190e1b97defb4620e33d1a4e2afffd475f6b3998153c67c6d06840b4f3b93a50f88c6844de15e7f54ca712330f6fea857310861a78b961feb7f64a4869f3fe1
|
||||||
|
DIST wine-6.5.tar.xz 24375196 BLAKE2B c30f606d268bf39f9424dd2e65f98f75b3538c82df6a931ea4955040a625ff07a2272f7d83f4343f8997ac2660a934528279ff31555ef062c81487e897c429f9 SHA512 11f9d2bb515c63429d397b97ecc1f13d0dbb717780d674229b851b819d707e0fd6fbf8bbae9a41dbf7b2ceb3729c4f5643d1ec5e414d6694d192072081f96fe4
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST manpages-l10n-v4.0.0.tar.bz2 34796889 BLAKE2B 6413278ab2c9482ffdd2cf6ef1f4c6e05f2f1d7be8c8d556cb137ca4c5c2d6297f9547725f3afcf8023478c05e41d99d595a0b5a44da0d0188ed0287c630e5b6 SHA512 9c83363ffaa9ff9015934869623958594e64f1cbb52367dd8274425a5cb45dac06109d231fd7f165eb35248b4229f3bbf252a6a4630e7d5a47edbf41d4a646a9
|
|
||||||
DIST manpages-l10n-v4.2.0.tar.bz2 51747352 BLAKE2B 97c3e3fdb11b47753c9c179751fb001af0a9f79324d594d297981735f82b3917bd31fc5c100462d6093e621a98773f23543548efb957113ade39e9c315cd4d72 SHA512 b2de542fdb97868b5fa96f24947c7a37216dc6a6a5ee66142023dd1036017f7128ca26ac8367b0edbd76cfa049174892749efafef9dbf4221e90dd9166b82652
|
DIST manpages-l10n-v4.2.0.tar.bz2 51747352 BLAKE2B 97c3e3fdb11b47753c9c179751fb001af0a9f79324d594d297981735f82b3917bd31fc5c100462d6093e621a98773f23543548efb957113ade39e9c315cd4d72 SHA512 b2de542fdb97868b5fa96f24947c7a37216dc6a6a5ee66142023dd1036017f7128ca26ac8367b0edbd76cfa049174892749efafef9dbf4221e90dd9166b82652
|
||||||
|
@ -1,66 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
MY_P="${PN/-}-v${PV}"
|
|
||||||
DESCRIPTION="A somewhat comprehensive collection of man page translations"
|
|
||||||
HOMEPAGE="https://manpages-l10n-team.pages.debian.net/manpages-l10n/"
|
|
||||||
SRC_URI="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/archive/v${PV}/${MY_P}.tar.bz2"
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux"
|
|
||||||
# omit pt-BR and ro for now, because they each install only two man pages
|
|
||||||
MY_L10N=(de fr nl pl)
|
|
||||||
IUSE="${MY_L10N[@]/#/l10n_}"
|
|
||||||
REQUIRED_USE="|| ( ${MY_L10N[@]/#/l10n_} )"
|
|
||||||
|
|
||||||
RDEPEND="virtual/man
|
|
||||||
!>=sys-process/procps-3.3.17
|
|
||||||
!>=sys-process/psmisc-23.4
|
|
||||||
l10n_de? ( !app-i18n/man-pages-de )
|
|
||||||
l10n_fr? ( !app-i18n/man-pages-fr )
|
|
||||||
l10n_nl? ( !app-i18n/man-pages-nl )
|
|
||||||
l10n_pl? ( !app-i18n/man-pages-pl )"
|
|
||||||
|
|
||||||
BDEPEND="app-text/po4a
|
|
||||||
dev-lang/perl"
|
|
||||||
|
|
||||||
DOCS=(AUTHORS.md CHANGES.md README.md)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
sed -i -e "/^SUBDIRS/s/=.*/= ${L10N//-/_}/" po/Makefile.{am,in} || die
|
|
||||||
|
|
||||||
# some packages have their own translations
|
|
||||||
local noinst_manpages=(
|
|
||||||
# app-arch/xz-utils
|
|
||||||
de/xz.1
|
|
||||||
de/xzdiff.1
|
|
||||||
de/xzgrep.1
|
|
||||||
de/xzless.1
|
|
||||||
de/xzmore.1
|
|
||||||
# sys-apps/shadow
|
|
||||||
{de,pl}/groups.1
|
|
||||||
de/su.1
|
|
||||||
# sys-process/procps
|
|
||||||
{de,pl}/free.1
|
|
||||||
{de,fr}/pgrep.1
|
|
||||||
{de,fr}/pmap.1
|
|
||||||
{de,fr}/pwdx.1
|
|
||||||
{de,fr}/tload.1
|
|
||||||
{de,fr,pl}/uptime.1
|
|
||||||
{de,fr}/sysctl.conf.5
|
|
||||||
{de,fr}/sysctl.8
|
|
||||||
{de,fr}/vmstat.8
|
|
||||||
)
|
|
||||||
printf '%s\n' "${noinst_manpages[@]}" \
|
|
||||||
| sed 's%^\(.*\)/\(.*\)\.\(.*\)$%po/\1/man\3/\2.\3.po%' | xargs rm
|
|
||||||
assert
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf --enable-compression=none
|
|
||||||
}
|
|
Binary file not shown.
@ -0,0 +1,73 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
inherit linux-info readme.gentoo-r1 systemd
|
||||||
|
|
||||||
|
DESCRIPTION="IBM ThinkPad Hard Drive Active Protection System (HDAPS) daemon"
|
||||||
|
HOMEPAGE="https://github.com/evgeni/hdapsd/"
|
||||||
|
SRC_URI="https://github.com/evgeni/${PN}/releases/download/${PV}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="libconfig"
|
||||||
|
|
||||||
|
BDEPEND=""
|
||||||
|
DEPEND="libconfig? ( dev-libs/libconfig:= )"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
# We require the hdaps module which can either come from either the
|
||||||
|
# kernel itself (CONFIG_SENSORS_HDAPS) or from the tp_smapi package.
|
||||||
|
if ! has_version app-laptop/tp_smapi[hdaps]; then
|
||||||
|
CONFIG_CHECK="~SENSORS_HDAPS"
|
||||||
|
ERROR_SENSORS_HDAPS="${P} requires app-laptop/tp_smapi[hdaps] or "
|
||||||
|
ERROR_SENSORS_HDAPS+="kernel support for CONFIG_SENSORS_HDAPS enabled"
|
||||||
|
linux-info_pkg_setup
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
$(use_enable libconfig) \
|
||||||
|
--with-systemdsystemunitdir=$(systemd_get_systemunitdir) \
|
||||||
|
--docdir="/usr/share/doc/${PF}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
newconfd "${FILESDIR}/hdapsd.conf-20141024" hdapsd
|
||||||
|
newinitd "${FILESDIR}/hdapsd.init-20141024" hdapsd
|
||||||
|
readme.gentoo_create_doc
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
[[ -z $(ls "${ROOT}"/sys/block/*/queue/protect 2>/dev/null) ]] && \
|
||||||
|
[[ -z $(ls "${ROOT}"/sys/block/*/device/unload_heads 2>/dev/null) ]] && \
|
||||||
|
ewarn "Your kernel does NOT support shock protection."
|
||||||
|
|
||||||
|
readme.gentoo_print_elog
|
||||||
|
}
|
||||||
|
|
||||||
|
DISABLE_AUTOFORMATTING=1
|
||||||
|
DOC_CONTENTS="
|
||||||
|
${PN} requires a kernel module to function properly. The recommended
|
||||||
|
approach is to install app-laptop/tp_smapi[hdaps], but the in-tree
|
||||||
|
module provided by CONFIG_SENSORS_HDAPS may work as well.
|
||||||
|
|
||||||
|
Common daemon parameters can be set in ${EROOT}/etc/conf.d/${PN}. If the
|
||||||
|
package was installed with USE=libconfig, then the parameters can also
|
||||||
|
be set in ${EROOT}/etc/${PN}.conf, although the former will take
|
||||||
|
precedence over the latter if both are used.
|
||||||
|
|
||||||
|
You can change the default sampling rate by modifing
|
||||||
|
|
||||||
|
/sys/devices/platform/hdaps/sampling_rate
|
||||||
|
|
||||||
|
and you may need to enable shock protection manually by running
|
||||||
|
|
||||||
|
# echo -1 > /sys/block/<disk>/device/unload_heads
|
||||||
|
|
||||||
|
as root.
|
||||||
|
"
|
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST logiops-0.2.2.tar.gz 64350 BLAKE2B 84a8a0a7efd9c1cb87f78ad8bb685f75f34952a95879d93a4db6782dcc1b416a28402cd68affdea25c127013be801a819bbf91a614718ec413374c47c8282c34 SHA512 49803fe383b04a3c6cb6b1d094c73b29dd30534c8faad0ff1a0b3a35cf031c8b2751d1368d6bb2fcb1be84c83a97b70bc31a0fad1e898904b5371a210a6e88f5
|
DIST logiops-0.2.3.tar.gz 69321 BLAKE2B f188c39bcf4a9d386a34a97612fed45db1bf93858717d4c6fc4ba08a78acd1ae020cef875421d4131cdc3f0219c848c67b7793888ac13e064539ebea293b4afd SHA512 5a7b7e76a89759a30e25da6117992e96d0a1a0db25af3d524d725e753fb5ce5fc67c8a5bdeb8b707a81f99eadfc8f24035a3a5e4544b1153bdedd2373a65173d
|
||||||
DIST logiops-0.2.2_p20200108.tar.gz 69366 BLAKE2B 3a688123c6167ec365c2f538c8f36818662bf63f3b1cd98e26bb4fd32eaa6e026b3e1b9e8dc116a6b6988d7abcd34fe7506329a9453bbd678bbf6b0ec53fd4f5 SHA512 5072f85f7c9c2505a8e3e5e089383a22c6ff659ece35f6761f77c2b3c7bd65a8ace7351cefb387a46c2d9e1a904573c96bf5ef3d11f12300b699c1df2ffae3d1
|
|
||||||
|
@ -1,53 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
EGIT_COMMIT="a0687c8f18e312824ac04043c410b637ce89e371"
|
|
||||||
|
|
||||||
inherit cmake linux-info
|
|
||||||
|
|
||||||
DESCRIPTION="An unofficial userspace driver for HID++ Logitech devices"
|
|
||||||
HOMEPAGE="https://github.com/PixlOne/logiops"
|
|
||||||
SRC_URI="https://github.com/PixlOne/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="systemd"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
dev-libs/libconfig:=[cxx]
|
|
||||||
dev-libs/libevdev
|
|
||||||
virtual/libudev
|
|
||||||
systemd? ( sys-apps/systemd )
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
BDEPEND="virtual/pkgconfig"
|
|
||||||
|
|
||||||
DOCS=( "README.md" "TESTED.md" )
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
local CHECK_CONFIG="~HID_LOGITECH ~HID_LOGITECH_HIDPP"
|
|
||||||
|
|
||||||
check_extra_config
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
cmake_src_install
|
|
||||||
|
|
||||||
insinto /etc
|
|
||||||
newins logid.example.cfg logid.cfg
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/logid.initd logid
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
einfo "An example config file has been installed as /etc/logid.cfg."
|
|
||||||
einfo "See https://github.com/PixlOne/logiops/wiki/Configuration for more information."
|
|
||||||
}
|
|
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST homebank-5.4.3.tar.gz 3014659 BLAKE2B 7ec6aa1c8bdc7d26bae8ae751200a4ad9effd9aac08bd39a1969897d7904468f60606307be1b6e6587a662fd7874c8f73460e559c6d06820056811dd4e8fb85f SHA512 e2b3b45a6d35205c3d2bf24d4c0c065889fa4e7d92cc9551db873b8b33cc15e6c1dd721936b438db0725509233bf265446b0512e23973cbebae7af4a7dce96ba
|
DIST homebank-5.4.3.tar.gz 3014659 BLAKE2B 7ec6aa1c8bdc7d26bae8ae751200a4ad9effd9aac08bd39a1969897d7904468f60606307be1b6e6587a662fd7874c8f73460e559c6d06820056811dd4e8fb85f SHA512 e2b3b45a6d35205c3d2bf24d4c0c065889fa4e7d92cc9551db873b8b33cc15e6c1dd721936b438db0725509233bf265446b0512e23973cbebae7af4a7dce96ba
|
||||||
|
DIST homebank-5.5.1.tar.gz 3054854 BLAKE2B 8cfab126069b3404223645e3f37038db44040d873c2edbc06a5286ca936584016044d6e8dd4444166910b4c5a87874db5bdad43452aca2aa8f96ba0e7f648fbe SHA512 a13eccf92882d5bfe6b09a99d6c805337f68d5169c58615b750bf5994abd4df0709065e12d4cdc8eb0c80f758f602548b0279dc7eb089f7417f5da8fd1955626
|
||||||
|
@ -0,0 +1,41 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
|
||||||
|
inherit xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Free, easy, personal accounting for everyone"
|
||||||
|
HOMEPAGE="http://homebank.free.fr/index.php"
|
||||||
|
SRC_URI="http://homebank.free.fr/public/${P}.tar.gz"
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="+ofx"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND=">=dev-libs/glib-2.39
|
||||||
|
>=net-libs/libsoup-2.26
|
||||||
|
x11-libs/cairo
|
||||||
|
x11-libs/gdk-pixbuf
|
||||||
|
>=x11-libs/gtk+-3.22:3
|
||||||
|
x11-libs/pango
|
||||||
|
ofx? ( >=dev-libs/libofx-0.8.3:= )"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND=">=dev-lang/perl-5.8.1
|
||||||
|
dev-perl/XML-Parser
|
||||||
|
>=dev-util/intltool-0.40.5
|
||||||
|
sys-devel/gettext
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
DOCS=( AUTHORS ChangeLog README )
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# avoid using eautoreconf
|
||||||
|
sed -i -e 's|\$(datadir)/appdata|\$(datadir)/metainfo|' data/Makefile.{am,in} || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf $(use_with ofx)
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST repoman-2.3.23.tar.bz2 87108 BLAKE2B c1190433bd8aedf59e1ddf192dd14cca13e3bdae7367decd6bf64a79021f54a63f21ec49d5737b90c46be3894f4d3ff11bf5bd2868c9ebf65e44b4eb3bb4eee0 SHA512 9d01fadc5820501a9bfb9c1b6d9634ecbc14aacdc448bb440d1e37d47f7e4bcdea8269f8ba90e3783d84f31121870a9d7b165f58b78f0d0f0f4e822a25687d1b
|
DIST repoman-2.3.23.tar.bz2 87108 BLAKE2B c1190433bd8aedf59e1ddf192dd14cca13e3bdae7367decd6bf64a79021f54a63f21ec49d5737b90c46be3894f4d3ff11bf5bd2868c9ebf65e44b4eb3bb4eee0 SHA512 9d01fadc5820501a9bfb9c1b6d9634ecbc14aacdc448bb440d1e37d47f7e4bcdea8269f8ba90e3783d84f31121870a9d7b165f58b78f0d0f0f4e822a25687d1b
|
||||||
DIST repoman-3.0.2.tar.bz2 88258 BLAKE2B 32c4d6750fd225cf9fc071be0ffbb38563ffdaf50f1f1ac7247ce3733bd781cd699052101df8b6565fd3d32ec6d9a54efb611b815a722b7954d8100ce01de146 SHA512 fd5b4549a0b108ed1ad37fc0766fc73db127bba8b023a74566ee0167e2a9c56c8597b83ead16522aaf84f158a9a5d0d59e4b5bcc908e6024724c087c837e1fa2
|
DIST repoman-3.0.2.tar.bz2 88258 BLAKE2B 32c4d6750fd225cf9fc071be0ffbb38563ffdaf50f1f1ac7247ce3733bd781cd699052101df8b6565fd3d32ec6d9a54efb611b815a722b7954d8100ce01de146 SHA512 fd5b4549a0b108ed1ad37fc0766fc73db127bba8b023a74566ee0167e2a9c56c8597b83ead16522aaf84f158a9a5d0d59e4b5bcc908e6024724c087c837e1fa2
|
||||||
|
DIST repoman-3.0.3.tar.bz2 90373 BLAKE2B a4ea542c452d44b1f4aef235d67390b0a0f139f32da33ab9ad8992797965724f4ef8123a49b681e9205b6e3fe279dd248b65b0119659b7a0038fe9884bec0797 SHA512 09855a8a0098482c1ce0a7f50d2481528e713fb6796a4004475c841de59f9df8d264f2e9342fdaee87c71d275137234b7e3adc3454f7f33dcf75e32a0ae3f0e9
|
||||||
|
@ -0,0 +1,64 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=no
|
||||||
|
PYTHON_COMPAT=( python3_{7..9} pypy3 )
|
||||||
|
PYTHON_REQ_USE='bzip2(+)'
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage.git"
|
||||||
|
S="${WORKDIR}/${P}/repoman"
|
||||||
|
else
|
||||||
|
SRC_URI="https://dev.gentoo.org/~zmedico/portage/archives/${P}.tar.bz2"
|
||||||
|
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
|
||||||
|
|
||||||
|
DESCRIPTION="Repoman is a Quality Assurance tool for Gentoo ebuilds"
|
||||||
|
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=sys-apps/portage-3.0.18[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/lxml-3.6.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
esetup.py test
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install() {
|
||||||
|
# Install sbin scripts to bindir for python-exec linking
|
||||||
|
# they will be relocated in pkg_preinst()
|
||||||
|
distutils-r1_python_install \
|
||||||
|
--system-prefix="${EPREFIX}/usr" \
|
||||||
|
--bindir="$(python_get_scriptdir)" \
|
||||||
|
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||||
|
--htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
|
||||||
|
--sbindir="$(python_get_scriptdir)" \
|
||||||
|
--sysconfdir="${EPREFIX}/etc" \
|
||||||
|
"${@}"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||||
|
elog ""
|
||||||
|
elog "This release of repoman is from the new portage/repoman split"
|
||||||
|
elog "release code base."
|
||||||
|
elog "This new repoman code base is still being developed. So its API's"
|
||||||
|
elog "are not to be considered stable and are subject to change."
|
||||||
|
elog "The code released has been tested and considered ready for use."
|
||||||
|
elog "This however does not guarantee it to be completely bug free."
|
||||||
|
elog "Please report any bugs you may encounter."
|
||||||
|
elog ""
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
DIST asciidoc-9.0.2.tar.gz 1144308 BLAKE2B 5f5deca6b8c15d4b86e2bd6fdb131908eecd862a5fdbbd8418937050d335a25ad012a3b1bc716379f5623db676176fc6da1a09691c2b42a213a6230281626b69 SHA512 ea8f64ce54d2f1aa38eceb3c1c9be17b388776de58038f3b888ac5ebed76337fa2779e43eb7f47174adf0a0446ee808dbd1e4f8f7e1d7db99db7c4c8584d5624
|
DIST asciidoc-9.0.2.new.tar.gz 1269444 BLAKE2B 0041073c572267628b8bbfd56258d86c35edb0e7f3a222743ce1476b405483b01144faf768ab1492fd3f378960f6cc8e17d92ef61671d84c318fbe7c1ca8cd7c SHA512 c20629001704f1c3acfef0407b82f35f6077f5b32ef754fcbeee03a5a86d4e01e374e89b79cbdb236fc2c7fc76bf47ba81efd691f2f9e1c87dc85a7111f5e030
|
||||||
DIST asciidoc-9.0.4.tar.gz 1111102 BLAKE2B 3c073e20e0b4cb1c3e43d45217240675d5a1349c5d27c8e03c4499505c17ad0a149f9495a42e28490f9c89f29dc25a1216e9145a6fd1483e589b5fee49a6279f SHA512 9e24aaaf33ab56cf1dfa510a6be9722af364633234c9ffb20eeee3d0ba756059290f443de53b040570654a316ab4782a177c31377fc69747814da75760fcc88b
|
DIST asciidoc-9.0.4.new.tar.gz 1233878 BLAKE2B 506a2c82d95ce0d522f45b20eee31f7ce2b114e0ad43c78bb313f34b210a7bdd282a8a3779a3ea29025e865847eb8298bd5a6ddac7ee338e4b878ae79bdf149e SHA512 59be96514d0c4c82e5842ddea412ddd6e06647ebe09e0f1828b7c07e787d890896bab4271e7566ed038eb2da6755a67c725bee07bcfbd7aa31475f39c3abc089
|
||||||
DIST asciidoc-9.0.5.tar.gz 1119318 BLAKE2B 3e5a454f4d47bb3c71e4c180ab05a0d23985473ca83d987435614ddafc9ee0d340a6e6cdafcb7371f719487954233f6d4bae69b4fc7d3818fc1d8e91c94ef36e SHA512 5b79d74c1efd43a960e8a415d3a68f26dcd3a3eee748b830101cec69475b0af40de7ad190ae105cade8ee558a59a643d04f38c1be490d253e3a6740c347d94e3
|
DIST asciidoc-9.0.5.new.tar.gz 1225334 BLAKE2B c3e428098dc4d71704ed13b54fd5f640b9de81d12939facb5faaf38a3123794e57201ecd9c312a22c220a2ec6b06c88a76ab47f05ffa972fc8751089b3471cfc SHA512 9125631fdee464f96f7e3c76a60fe37331905e9e55a81db27aece4065b246dc05a35db4c157dc7dbb2345eb95c153b474251d6a447d65774bf1b3f57e1883895
|
||||||
|
@ -1 +1,2 @@
|
|||||||
DIST gocr-0.50.tar.gz 419209 BLAKE2B 232fe240d7a559cdd4408a3dba3768818aefbd8b2718c7ae40829d69ab79dd68293eb6adfc52e661f2f6cf1290ae9656c84d9d7a8fc20229c0942a8e18fb3b68 SHA512 36392516711d43f8561147684b6f4e22a450bc87f1cb30ceaab4a1821ac583ff5a3d25b3bbf1637f01bfb55366b45cc7d5086d1f29f006d615bb658d0e5faab9
|
DIST gocr-0.50.tar.gz 419209 BLAKE2B 232fe240d7a559cdd4408a3dba3768818aefbd8b2718c7ae40829d69ab79dd68293eb6adfc52e661f2f6cf1290ae9656c84d9d7a8fc20229c0942a8e18fb3b68 SHA512 36392516711d43f8561147684b6f4e22a450bc87f1cb30ceaab4a1821ac583ff5a3d25b3bbf1637f01bfb55366b45cc7d5086d1f29f006d615bb658d0e5faab9
|
||||||
|
DIST gocr-0.52.tar.gz 445401 BLAKE2B 1f22f5377bb95053e3ab4ede074b3fceca4065f9ca0ede05a8023ebe807f41074f5ead84e133281e98be7f68f13b036dc759cccaf4a5688bf776f62f2de1970a SHA512 e2e6e690e7a32e32237c8b64b1a11719680c560592349df43f4b230f3c92bf324f98e473979b0913c42e33e8abbaf27952b6af173ea06eb5535878a9f608ce6d
|
||||||
|
@ -0,0 +1,53 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DESCRIPTION="An OCR (Optical Character Recognition) reader"
|
||||||
|
HOMEPAGE="http://jocr.sourceforge.net"
|
||||||
|
SRC_URI="http://www-e.uni-magdeburg.de/jschulen/ocr/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
IUSE="doc scanner tk"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
>=media-libs/netpbm-9.12
|
||||||
|
doc? (
|
||||||
|
>=media-gfx/transfig-3.2
|
||||||
|
app-text/ghostscript-gpl
|
||||||
|
)
|
||||||
|
tk? ( dev-lang/tk )"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
tk? (
|
||||||
|
media-gfx/xli
|
||||||
|
scanner? ( media-gfx/xsane )
|
||||||
|
)"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
local targets=( src man )
|
||||||
|
use doc && targets+=( doc examples )
|
||||||
|
|
||||||
|
emake "${targets[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" prefix="${EPREFIX}/usr" exec_prefix="${EPREFIX}/usr" install
|
||||||
|
einstalldocs
|
||||||
|
dodoc HISTORY REMARK.txt REVIEW
|
||||||
|
|
||||||
|
# remove the tk frontend if tk is not selected
|
||||||
|
if ! use tk; then
|
||||||
|
rm "${ED}"/usr/bin/gocr.tcl || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# and install the documentation and examples
|
||||||
|
if use doc; then
|
||||||
|
dodoc doc/gocr.html doc/examples.txt doc/unicode.txt
|
||||||
|
|
||||||
|
docinto examples
|
||||||
|
dodoc examples/*.{fig,tex,pcx}
|
||||||
|
docompress -x /usr/share/doc/${PF}/examples
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,434 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
|
||||||
|
inherit autotools flag-o-matic multilib-minimal toolchain-funcs
|
||||||
|
|
||||||
|
if [[ "${PV}" != "9999" ]]; then
|
||||||
|
SRC_PV="$(printf "%u%02u%02u%02u" $(ver_rs 1- " "))"
|
||||||
|
DOC_PV="${SRC_PV}"
|
||||||
|
# DOC_PV="$(printf "%u%02u%02u00" $(ver_rs 1-3 " "))"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="SQL database engine"
|
||||||
|
HOMEPAGE="https://sqlite.org/"
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
SRC_URI=""
|
||||||
|
else
|
||||||
|
SRC_URI="https://sqlite.org/2021/${PN}-src-${SRC_PV}.zip
|
||||||
|
doc? ( https://sqlite.org/2021/${PN}-doc-${DOC_PV}.zip )"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="public-domain"
|
||||||
|
SLOT="3"
|
||||||
|
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"
|
||||||
|
IUSE="debug doc icu +readline secure-delete static-libs tcl test tools"
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
PROPERTIES="live"
|
||||||
|
fi
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
BDEPEND=">=dev-lang/tcl-8.6:0
|
||||||
|
dev-vcs/fossil"
|
||||||
|
else
|
||||||
|
BDEPEND="app-arch/unzip
|
||||||
|
>=dev-lang/tcl-8.6:0"
|
||||||
|
fi
|
||||||
|
RDEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]
|
||||||
|
icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] )
|
||||||
|
readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] )
|
||||||
|
tcl? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] )
|
||||||
|
tools? ( dev-lang/tcl:0= )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
test? ( >=dev-lang/tcl-8.6:0[${MULTILIB_USEDEP}] )"
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
S="${WORKDIR}/${PN}"
|
||||||
|
else
|
||||||
|
S="${WORKDIR}/${PN}-src-${SRC_PV}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
_fossil_fetch() {
|
||||||
|
local distdir="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}"
|
||||||
|
local repo_id="${1}"
|
||||||
|
local repo_uri="${2}"
|
||||||
|
|
||||||
|
local -x FOSSIL_HOME="${HOME}"
|
||||||
|
|
||||||
|
mkdir -p "${T}/fossil/${repo_id}" || die
|
||||||
|
pushd "${T}/fossil/${repo_id}" > /dev/null || die
|
||||||
|
|
||||||
|
if [[ -n "${EVCS_OFFLINE}" ]]; then
|
||||||
|
if [[ ! -f "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" ]]; then
|
||||||
|
die "Network activity disabled using EVCS_OFFLINE and clone of repository missing: \"${distdir}/fossil-src/${repo_id}/${repo_id}.fossil\""
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
if [[ ! -f "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" ]]; then
|
||||||
|
einfo fossil clone --verbose "${repo_uri}" "${repo_id}.fossil"
|
||||||
|
fossil clone --verbose "${repo_uri}" "${repo_id}.fossil" || die
|
||||||
|
echo
|
||||||
|
else
|
||||||
|
cp -p "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" . || die
|
||||||
|
einfo fossil pull --repository "${repo_id}.fossil" --verbose "${repo_uri}"
|
||||||
|
fossil pull --repository "${repo_id}.fossil" --verbose "${repo_uri}" || die
|
||||||
|
echo
|
||||||
|
fi
|
||||||
|
|
||||||
|
(
|
||||||
|
addwrite "${distdir}"
|
||||||
|
mkdir -p "${distdir}/fossil-src/${repo_id}" || die
|
||||||
|
cp -p "${repo_id}.fossil" "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" || die
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
popd > /dev/null || die
|
||||||
|
}
|
||||||
|
|
||||||
|
_fossil_checkout() {
|
||||||
|
local distdir="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}"
|
||||||
|
local repo_id="${1}"
|
||||||
|
local branch_or_commit="${2}"
|
||||||
|
local target_directory="${3}"
|
||||||
|
|
||||||
|
local -x FOSSIL_HOME="${HOME}"
|
||||||
|
|
||||||
|
if [[ ! -f "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" ]]; then
|
||||||
|
die "Clone of repository missing: \"${distdir}/fossil-src/${repo_id}/${repo_id}.fossil\""
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ! -f "${T}/fossil/${repo_id}/${repo_id}.fossil" ]]; then
|
||||||
|
mkdir -p "${T}/fossil/${repo_id}" || die
|
||||||
|
cp -p "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" "${T}/fossil/${repo_id}" || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
mkdir "${target_directory}" || die
|
||||||
|
pushd "${target_directory}" > /dev/null || die
|
||||||
|
|
||||||
|
einfo fossil open --quiet "${T}/fossil/${repo_id}/${repo_id}.fossil" "${branch_or_commit}"
|
||||||
|
fossil open --quiet "${T}/fossil/${repo_id}/${repo_id}.fossil" "${branch_or_commit}" || die
|
||||||
|
echo
|
||||||
|
|
||||||
|
popd > /dev/null || die
|
||||||
|
}
|
||||||
|
|
||||||
|
fossil_fetch() {
|
||||||
|
local repo_id="${1}"
|
||||||
|
local repo_uri="${2}"
|
||||||
|
local target_directory="${3}"
|
||||||
|
|
||||||
|
local branch_or_commit="${EFOSSIL_COMMIT:-${EFOSSIL_BRANCH:-trunk}}"
|
||||||
|
|
||||||
|
_fossil_fetch "${repo_id}" "${repo_uri}"
|
||||||
|
_fossil_checkout "${repo_id}" "${branch_or_commit}" "${target_directory}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
fossil_fetch sqlite https://sqlite.org/src "${WORKDIR}/${PN}"
|
||||||
|
if use doc; then
|
||||||
|
fossil_fetch sqlite-doc https://sqlite.org/docsrc "${WORKDIR}/${PN}-doc"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
default
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
eapply "${FILESDIR}/"${PN}-3.35.0-build_{1.1,1.2,2.1,2.2}.patch
|
||||||
|
|
||||||
|
eapply_user
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
|
||||||
|
multilib_copy_sources
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local -x CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}"
|
||||||
|
local options=()
|
||||||
|
|
||||||
|
options+=(
|
||||||
|
--enable-load-extension
|
||||||
|
--enable-threadsafe
|
||||||
|
)
|
||||||
|
|
||||||
|
# Support detection of misuse of SQLite API.
|
||||||
|
# https://sqlite.org/compile.html#enable_api_armor
|
||||||
|
append-cppflags -DSQLITE_ENABLE_API_ARMOR
|
||||||
|
|
||||||
|
# Support bytecode and tables_used virtual tables.
|
||||||
|
# https://sqlite.org/compile.html#enable_bytecode_vtab
|
||||||
|
# https://sqlite.org/bytecodevtab.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_BYTECODE_VTAB
|
||||||
|
|
||||||
|
# Support column metadata functions.
|
||||||
|
# https://sqlite.org/compile.html#enable_column_metadata
|
||||||
|
# https://sqlite.org/c3ref/column_database_name.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
|
||||||
|
|
||||||
|
# Support sqlite_dbpage virtual table.
|
||||||
|
# https://sqlite.org/compile.html#enable_dbpage_vtab
|
||||||
|
# https://sqlite.org/dbpage.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_DBPAGE_VTAB
|
||||||
|
|
||||||
|
# Support dbstat virtual table.
|
||||||
|
# https://sqlite.org/compile.html#enable_dbstat_vtab
|
||||||
|
# https://sqlite.org/dbstat.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB
|
||||||
|
|
||||||
|
# Support sqlite3_serialize() and sqlite3_deserialize() functions.
|
||||||
|
# https://sqlite.org/compile.html#enable_deserialize
|
||||||
|
# https://sqlite.org/c3ref/serialize.html
|
||||||
|
# https://sqlite.org/c3ref/deserialize.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_DESERIALIZE
|
||||||
|
|
||||||
|
# Support comments in output of EXPLAIN.
|
||||||
|
# https://sqlite.org/compile.html#enable_explain_comments
|
||||||
|
append-cppflags -DSQLITE_ENABLE_EXPLAIN_COMMENTS
|
||||||
|
|
||||||
|
# Support Full-Text Search versions 3, 4 and 5.
|
||||||
|
# https://sqlite.org/compile.html#enable_fts3
|
||||||
|
# https://sqlite.org/compile.html#enable_fts3_parenthesis
|
||||||
|
# https://sqlite.org/compile.html#enable_fts4
|
||||||
|
# https://sqlite.org/compile.html#enable_fts5
|
||||||
|
# https://sqlite.org/fts3.html
|
||||||
|
# https://sqlite.org/fts5.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4
|
||||||
|
options+=(--enable-fts5)
|
||||||
|
|
||||||
|
# Support hidden columns.
|
||||||
|
append-cppflags -DSQLITE_ENABLE_HIDDEN_COLUMNS
|
||||||
|
|
||||||
|
# Support JSON1 extension.
|
||||||
|
# https://sqlite.org/compile.html#enable_json1
|
||||||
|
# https://sqlite.org/json1.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_JSON1
|
||||||
|
|
||||||
|
# Support memsys5 memory allocator.
|
||||||
|
# https://sqlite.org/compile.html#enable_memsys5
|
||||||
|
# https://sqlite.org/malloc.html#memsys5
|
||||||
|
append-cppflags -DSQLITE_ENABLE_MEMSYS5
|
||||||
|
|
||||||
|
# Support sqlite3_normalized_sql() function.
|
||||||
|
# https://sqlite.org/c3ref/expanded_sql.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_NORMALIZE
|
||||||
|
|
||||||
|
# Support sqlite_offset() function.
|
||||||
|
# https://sqlite.org/compile.html#enable_offset_sql_func
|
||||||
|
# https://sqlite.org/lang_corefunc.html#sqlite_offset
|
||||||
|
append-cppflags -DSQLITE_ENABLE_OFFSET_SQL_FUNC
|
||||||
|
|
||||||
|
# Support pre-update hook functions.
|
||||||
|
# https://sqlite.org/compile.html#enable_preupdate_hook
|
||||||
|
# https://sqlite.org/c3ref/preupdate_count.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_PREUPDATE_HOOK
|
||||||
|
|
||||||
|
# Support Resumable Bulk Update extension.
|
||||||
|
# https://sqlite.org/compile.html#enable_rbu
|
||||||
|
# https://sqlite.org/rbu.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_RBU
|
||||||
|
|
||||||
|
# Support R*Trees.
|
||||||
|
# https://sqlite.org/compile.html#enable_rtree
|
||||||
|
# https://sqlite.org/compile.html#enable_geopoly
|
||||||
|
# https://sqlite.org/rtree.html
|
||||||
|
# https://sqlite.org/geopoly.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_GEOPOLY
|
||||||
|
|
||||||
|
# Support Session extension.
|
||||||
|
# https://sqlite.org/compile.html#enable_session
|
||||||
|
# https://sqlite.org/sessionintro.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_SESSION
|
||||||
|
|
||||||
|
# Support scan status functions.
|
||||||
|
# https://sqlite.org/compile.html#enable_stmt_scanstatus
|
||||||
|
# https://sqlite.org/c3ref/stmt_scanstatus.html
|
||||||
|
# https://sqlite.org/c3ref/stmt_scanstatus_reset.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS
|
||||||
|
|
||||||
|
# Support sqlite_stmt virtual table.
|
||||||
|
# https://sqlite.org/compile.html#enable_stmtvtab
|
||||||
|
# https://sqlite.org/stmt.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_STMTVTAB
|
||||||
|
|
||||||
|
# Support unknown() function.
|
||||||
|
# https://sqlite.org/compile.html#enable_unknown_sql_function
|
||||||
|
append-cppflags -DSQLITE_ENABLE_UNKNOWN_SQL_FUNCTION
|
||||||
|
|
||||||
|
# Support unlock notification.
|
||||||
|
# https://sqlite.org/compile.html#enable_unlock_notify
|
||||||
|
# https://sqlite.org/c3ref/unlock_notify.html
|
||||||
|
# https://sqlite.org/unlock_notify.html
|
||||||
|
append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY
|
||||||
|
|
||||||
|
# Support LIMIT and ORDER BY clauses on DELETE and UPDATE statements.
|
||||||
|
# https://sqlite.org/compile.html#enable_update_delete_limit
|
||||||
|
# https://sqlite.org/lang_delete.html#optional_limit_and_order_by_clauses
|
||||||
|
# https://sqlite.org/lang_update.html#optional_limit_and_order_by_clauses
|
||||||
|
append-cppflags -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT
|
||||||
|
|
||||||
|
# Support soundex() function.
|
||||||
|
# https://sqlite.org/compile.html#soundex
|
||||||
|
# https://sqlite.org/lang_corefunc.html#soundex
|
||||||
|
append-cppflags -DSQLITE_SOUNDEX
|
||||||
|
|
||||||
|
# Support URI filenames.
|
||||||
|
# https://sqlite.org/compile.html#use_uri
|
||||||
|
# https://sqlite.org/uri.html
|
||||||
|
append-cppflags -DSQLITE_USE_URI
|
||||||
|
|
||||||
|
# debug USE flag.
|
||||||
|
options+=($(use_enable debug))
|
||||||
|
|
||||||
|
# icu USE flag.
|
||||||
|
if use icu; then
|
||||||
|
# Support ICU extension.
|
||||||
|
# https://sqlite.org/compile.html#enable_icu
|
||||||
|
append-cppflags -DSQLITE_ENABLE_ICU
|
||||||
|
sed -e "s/^TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# readline USE flag.
|
||||||
|
options+=(
|
||||||
|
--disable-editline
|
||||||
|
$(use_enable readline)
|
||||||
|
)
|
||||||
|
if use readline; then
|
||||||
|
options+=(--with-readline-inc="-I${ESYSROOT}/usr/include/readline")
|
||||||
|
fi
|
||||||
|
|
||||||
|
# secure-delete USE flag.
|
||||||
|
if use secure-delete; then
|
||||||
|
# Enable secure_delete pragma by default.
|
||||||
|
# https://sqlite.org/compile.html#secure_delete
|
||||||
|
# https://sqlite.org/pragma.html#pragma_secure_delete
|
||||||
|
append-cppflags -DSQLITE_SECURE_DELETE
|
||||||
|
fi
|
||||||
|
|
||||||
|
# static-libs USE flag.
|
||||||
|
options+=($(use_enable static-libs static))
|
||||||
|
|
||||||
|
# tcl, test, tools USE flags.
|
||||||
|
if use tcl || use test || { use tools && multilib_is_native_abi; }; then
|
||||||
|
options+=(
|
||||||
|
--enable-tcl
|
||||||
|
--with-tcl="${ESYSROOT}/usr/$(get_libdir)"
|
||||||
|
)
|
||||||
|
else
|
||||||
|
options+=(--disable-tcl)
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "${CHOST}" == *-mint* ]]; then
|
||||||
|
# sys/mman.h not available in MiNTLib.
|
||||||
|
# https://sqlite.org/compile.html#omit_wal
|
||||||
|
append-cppflags -DSQLITE_OMIT_WAL
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "${ABI}" == "x86" ]]; then
|
||||||
|
if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} -E -P -dM - < /dev/null 2> /dev/null | grep -q "^#define __SSE__ 1$"; then
|
||||||
|
append-cflags -mfpmath=sse
|
||||||
|
else
|
||||||
|
append-cflags -ffloat-store
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
econf "${options[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
emake HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}"
|
||||||
|
|
||||||
|
if use tools && multilib_is_native_abi; then
|
||||||
|
emake changeset dbdump dbhash dbtotxt index_usage rbu scrub showdb showjournal showshm showstat4 showwal sqldiff sqlite3_analyzer sqlite3_checker sqlite3_expert sqltclsh
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]] && use doc && multilib_is_native_abi; then
|
||||||
|
emake tclsqlite3.c
|
||||||
|
|
||||||
|
local build_directory="$(pwd)"
|
||||||
|
build_directory="${build_directory##*/}"
|
||||||
|
|
||||||
|
mkdir "${WORKDIR}/${PN}-doc-build" || die
|
||||||
|
pushd "${WORKDIR}/${PN}-doc-build" > /dev/null || die
|
||||||
|
|
||||||
|
emake -f "../${PN}-doc/Makefile" -j1 SRC="../${PN}" BLD="../${build_directory}" DOC="../${PN}-doc" CC="$(tc-getBUILD_CC)" TCLINC="" TCLFLAGS="$($(tc-getBUILD_PKG_CONFIG) --libs tcl) -ldl -lm" base doc
|
||||||
|
rmdir doc/matrix{/*,} || die
|
||||||
|
|
||||||
|
popd > /dev/null || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
if [[ "${EUID}" -eq 0 ]]; then
|
||||||
|
ewarn "Skipping tests due to root permissions"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
local -x SQLITE_HISTORY="${T}/sqlite_history_${ABI}"
|
||||||
|
|
||||||
|
emake HAVE_TCL="$(usex tcl 1 "")" $(use debug && echo fulltest || echo test)
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install
|
||||||
|
|
||||||
|
if use tools && multilib_is_native_abi; then
|
||||||
|
install_tool() {
|
||||||
|
if [[ -f ".libs/${1}" ]]; then
|
||||||
|
newbin ".libs/${1}" "${2}"
|
||||||
|
else
|
||||||
|
newbin "${1}" "${2}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
install_tool changeset sqlite3-changeset
|
||||||
|
install_tool dbdump sqlite3-db-dump
|
||||||
|
install_tool dbhash sqlite3-db-hash
|
||||||
|
install_tool dbtotxt sqlite3-db-to-txt
|
||||||
|
install_tool index_usage sqlite3-index-usage
|
||||||
|
install_tool rbu sqlite3-rbu
|
||||||
|
install_tool scrub sqlite3-scrub
|
||||||
|
install_tool showdb sqlite3-show-db
|
||||||
|
install_tool showjournal sqlite3-show-journal
|
||||||
|
install_tool showshm sqlite3-show-shm
|
||||||
|
install_tool showstat4 sqlite3-show-stat4
|
||||||
|
install_tool showwal sqlite3-show-wal
|
||||||
|
install_tool sqldiff sqlite3-diff
|
||||||
|
install_tool sqlite3_analyzer sqlite3-analyzer
|
||||||
|
install_tool sqlite3_checker sqlite3-checker
|
||||||
|
install_tool sqlite3_expert sqlite3-expert
|
||||||
|
install_tool sqltclsh sqlite3-tclsh
|
||||||
|
|
||||||
|
unset -f install_tool
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
find "${ED}" -name "*.la" -delete || die
|
||||||
|
|
||||||
|
doman sqlite3.1
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
pushd "${WORKDIR}/${PN}-doc-build/doc" > /dev/null || die
|
||||||
|
else
|
||||||
|
pushd "${WORKDIR}/${PN}-doc-${DOC_PV}" > /dev/null || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
find "(" -name "*.db" -o -name "*.txt" ")" -delete || die
|
||||||
|
if [[ "${PV}" != "9999" ]]; then
|
||||||
|
rm search search.d/admin || die
|
||||||
|
rmdir search.d || die
|
||||||
|
find -name "*~" -delete || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
(
|
||||||
|
docinto html
|
||||||
|
dodoc -r *
|
||||||
|
)
|
||||||
|
|
||||||
|
popd > /dev/null || die
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1,39 +1,18 @@
|
|||||||
DIST Python-2.7.18.tar.xz 12854736 BLAKE2B 060a621c91dd8e3d321aec99d44c17aa67381998256a1a002d316b38288349884d5960de35c49352d03129ed0bae599e641ec2225898158ebce50a7a2fd74d2c SHA512 a7bb62b51f48ff0b6df0b18f5b0312a523e3110f49c3237936bfe56ed0e26838c0274ff5401bda6fc21bf24337477ccac49e8026c5d651e4b4cafb5eb5086f6c
|
DIST Python-2.7.18.tar.xz 12854736 BLAKE2B 060a621c91dd8e3d321aec99d44c17aa67381998256a1a002d316b38288349884d5960de35c49352d03129ed0bae599e641ec2225898158ebce50a7a2fd74d2c SHA512 a7bb62b51f48ff0b6df0b18f5b0312a523e3110f49c3237936bfe56ed0e26838c0274ff5401bda6fc21bf24337477ccac49e8026c5d651e4b4cafb5eb5086f6c
|
||||||
DIST Python-2.7.18.tar.xz.asc 833 BLAKE2B 1d98770e46171971fb99994508d238c01d2755281d2f94353314014d9e83e0ec5f0b3e3950ea1fdf5fce9ba6b8f55312355845c2a3fc4291c27ee56fe6215448 SHA512 c2a5f5a52f47dec52460ad3275758d4e5de6e7075c3def4353c988d74d563a39b42cae2d5eb24e2a23a6247cef69100f91620b11a49c2359fbf99b203c9cbda8
|
DIST Python-2.7.18.tar.xz.asc 833 BLAKE2B 1d98770e46171971fb99994508d238c01d2755281d2f94353314014d9e83e0ec5f0b3e3950ea1fdf5fce9ba6b8f55312355845c2a3fc4291c27ee56fe6215448 SHA512 c2a5f5a52f47dec52460ad3275758d4e5de6e7075c3def4353c988d74d563a39b42cae2d5eb24e2a23a6247cef69100f91620b11a49c2359fbf99b203c9cbda8
|
||||||
DIST Python-3.10.0a5.tar.xz 18286124 BLAKE2B 618a812c601cdf910dc5064ec8e6350f3473c368be92663de0a543aef8dab5d767db72e0c796e465dafb86e3ee6acf21f4d2d6d99128a3bb615b8ba6759c9b6f SHA512 d686f9044ea964af2b5556068c0d804511d3148b455643d06a8b566f265a5fa9a9a3713ff0c3fee2c0da9bba33b913983ea4fcb22d679cfdcb83c6de32aa575e
|
|
||||||
DIST Python-3.10.0a5.tar.xz.asc 833 BLAKE2B f92a03f8ce6d3396f053ab508aca55c937b5ae91462e2325842b4c00fc105a817df10fb4086273939a50f91fcd5d1003da2807d1b8ab0794e6ecd660d72515bf SHA512 4f1fe9b42830c89cb35ea1634fd7484f3bbf7ff22868c71fadc0601c3b02ff2ea386cfbc7ea167a2770d732aa01532fb7d4abb198a07e4710565e3eec138408c
|
|
||||||
DIST Python-3.10.0a6.tar.xz 18354336 BLAKE2B 30e39f6657546f19792e037a4dc2877c0cca722f894088736ca373c79f23d0697ef35a631a3d96a26b625fadc32dddb187bfdcf105d874efef8325704bcbb29c SHA512 b405e4d0294306ceab205ba98b6f34a0384993a2eff93b75974bb9bfc25599ab594ef98c633de9db77de11cef11f03e4c9b5090f985cc00e8b9dec39003997a6
|
DIST Python-3.10.0a6.tar.xz 18354336 BLAKE2B 30e39f6657546f19792e037a4dc2877c0cca722f894088736ca373c79f23d0697ef35a631a3d96a26b625fadc32dddb187bfdcf105d874efef8325704bcbb29c SHA512 b405e4d0294306ceab205ba98b6f34a0384993a2eff93b75974bb9bfc25599ab594ef98c633de9db77de11cef11f03e4c9b5090f985cc00e8b9dec39003997a6
|
||||||
DIST Python-3.10.0a6.tar.xz.asc 833 BLAKE2B 415dad66ac08c086e7da1657d99864b930e07fb521a9dc7cd2b0b72d97882f71e662a42be5cec6b44cfc0d1308163f0f54e7660dc91d6a81dfa12fd0df150c83 SHA512 4f6e86afd09622a461d712b32fb48ba76c37dbc807d84cd375be4afed53b43ca4e0027a816383323d8ccd334845a2e5337ba15a83097a0e0df9270f439b1964e
|
DIST Python-3.10.0a6.tar.xz.asc 833 BLAKE2B 415dad66ac08c086e7da1657d99864b930e07fb521a9dc7cd2b0b72d97882f71e662a42be5cec6b44cfc0d1308163f0f54e7660dc91d6a81dfa12fd0df150c83 SHA512 4f6e86afd09622a461d712b32fb48ba76c37dbc807d84cd375be4afed53b43ca4e0027a816383323d8ccd334845a2e5337ba15a83097a0e0df9270f439b1964e
|
||||||
DIST Python-3.6.12.tar.xz 17202980 BLAKE2B c8d22e4d57bcaffe77cd902cda3a473e73adf2b74ab104c23b4d846f19632a24cc0c478af84079b16d784bd1c0956824c06c1f6134fd24f54e58aaab0fe96bb6 SHA512 1462801f3f6626a853097d34ccdca9838c4c5bd81ecc3abc751003f5f2f8d36eecdaa4130ef4218de351c5586093c11669639a34492668fbc5a2a4a241f4a070
|
|
||||||
DIST Python-3.6.12.tar.xz.asc 833 BLAKE2B a5eb9f907732bb5afd8f56115ab830ed6b6f4545e4063cfe316fb7aa1ba8694fcb8c936919b4045d9f5923446f8ea20978ead059078ed50ad48a82a3bb5ae941 SHA512 91d9ce0c471359f6aa3d5d5dcad7316ec6ed173f895a51e72b1853dc422fda57a00411c88fdc40a8e21888d964136b0b032e15b215c3b6c62ffc82bddc580860
|
|
||||||
DIST Python-3.6.13.tar.xz 17213520 BLAKE2B 7c1938f92616d428d107a70397a9f7fc82377d0e3d26c2da4f5bcb79a54115f71498a5e7b5f601b6cff6f362ec1f689c3ac920eb248956e1e4f6c21602514dd1 SHA512 0482b3e7eea22b0635b61f06753e77c832c9431385c5ea1ecb8f60868262afd2b45c239badb8e906a33f035ffbf347b4a499fe6f0f008f1fa9ecc9de66c63947
|
DIST Python-3.6.13.tar.xz 17213520 BLAKE2B 7c1938f92616d428d107a70397a9f7fc82377d0e3d26c2da4f5bcb79a54115f71498a5e7b5f601b6cff6f362ec1f689c3ac920eb248956e1e4f6c21602514dd1 SHA512 0482b3e7eea22b0635b61f06753e77c832c9431385c5ea1ecb8f60868262afd2b45c239badb8e906a33f035ffbf347b4a499fe6f0f008f1fa9ecc9de66c63947
|
||||||
DIST Python-3.6.13.tar.xz.asc 833 BLAKE2B bc1df46c2e460c2d237647ecff84e12c75f6ed24a432d2f9cbefdead8a77d4468e5e4ed9f4debac593c63cf95d27c9f7d0f94dce69af8746cc71f0d0b1810245 SHA512 f6e8936a5e5b45d3ad41184717f5ed75debe29f81138fd1b75b53bc7d2905edff42b42dd7995b11ba6d80233c5c3755521edb19d7ac28d414bfebb2d1dfc0c86
|
DIST Python-3.6.13.tar.xz.asc 833 BLAKE2B bc1df46c2e460c2d237647ecff84e12c75f6ed24a432d2f9cbefdead8a77d4468e5e4ed9f4debac593c63cf95d27c9f7d0f94dce69af8746cc71f0d0b1810245 SHA512 f6e8936a5e5b45d3ad41184717f5ed75debe29f81138fd1b75b53bc7d2905edff42b42dd7995b11ba6d80233c5c3755521edb19d7ac28d414bfebb2d1dfc0c86
|
||||||
DIST Python-3.7.10.tar.xz 17392580 BLAKE2B b030db731d141b97f1be794a19382cc252c5bbf867661d09c9455640ebcfd3030e8a691f57fe91a2e0c4e5d3bd4f8f3de07fa4bd287a58900d8c6e1fba2f0583 SHA512 5cb61739acbd29f526d25073443398b2ca0eef30d01d134e8236c8bbc7ab0586c44ec00689f5a75e6aedc0170acf4551721ada5e967e4b99a146cfcaad949128
|
DIST Python-3.7.10.tar.xz 17392580 BLAKE2B b030db731d141b97f1be794a19382cc252c5bbf867661d09c9455640ebcfd3030e8a691f57fe91a2e0c4e5d3bd4f8f3de07fa4bd287a58900d8c6e1fba2f0583 SHA512 5cb61739acbd29f526d25073443398b2ca0eef30d01d134e8236c8bbc7ab0586c44ec00689f5a75e6aedc0170acf4551721ada5e967e4b99a146cfcaad949128
|
||||||
DIST Python-3.7.10.tar.xz.asc 833 BLAKE2B a528daa1638b52f08fd69d197a2d4f8af59a620939957d450da6f5f8947b8eefbfb48ee50bb6327c8f3a352415dedc6e91ef23075fabbfd38c65575857065c74 SHA512 5d0fdcf60f0f4113b3055dd4097814b8b969d6cba4f2cc4cef6cd013b0e728375549b9d7818e6e94e6f0d4888188e751f4659a18f905e6e4c75783e2f323c4ef
|
DIST Python-3.7.10.tar.xz.asc 833 BLAKE2B a528daa1638b52f08fd69d197a2d4f8af59a620939957d450da6f5f8947b8eefbfb48ee50bb6327c8f3a352415dedc6e91ef23075fabbfd38c65575857065c74 SHA512 5d0fdcf60f0f4113b3055dd4097814b8b969d6cba4f2cc4cef6cd013b0e728375549b9d7818e6e94e6f0d4888188e751f4659a18f905e6e4c75783e2f323c4ef
|
||||||
DIST Python-3.7.9.tar.xz 17389636 BLAKE2B 484833aa2aa4e29051a02969294f72099ff6f1a47d944b1a0dd15f8e6c22a0406d551bcbcd1048cf89defedaccf060733211e34b38e31fd8391dd823eaa35bc0 SHA512 e4217b25529b5336e43b63d17f3758a8177a58184564cf02bd92a312f58dba9e096485c9e3cb3544f966e847ea15b3ab30ed065d28a6ca52a6d7e0faddf7d9f9
|
|
||||||
DIST Python-3.7.9.tar.xz.asc 833 BLAKE2B a95546b90ff87c13492d7f6e0d8e6d263557ffb55f72de212ec21ef5fb6b3c838e0a13c5696d577d1d7c46d0386698e8860d9819e6510e85aa88709011fe1e72 SHA512 922da6056029416e1dceefb83723911d5e2cc972d88c0bf1a08c35c8fe11279eb350c44834d2cc5ba94beb9b7655ecae28d8f5b6e3479eea7fcd09f67ec1e1c0
|
|
||||||
DIST Python-3.8.7.tar.xz 18261096 BLAKE2B 6ac20efef41e828cb796aabcb7808400d494b9b48759950c8c15ee90762394f6763163d8e37ab407c1c79ebb9cda09189eaa969a75f96c86a96ccee962443924 SHA512 6a27d8eab3076930df46b0cf127f9b664f8d4147349b2b98132f464deb7f69d87e0167e8ee8e6c64249125ad73760d965ecbc81c252b63a1e7aac95594c62b74
|
|
||||||
DIST Python-3.8.7.tar.xz.asc 833 BLAKE2B a629251732d1ea6054564b6b1a9a2b3b716e20c8fad1b6b69a9c64aff7fe7fca7dc6cdeef52d9889873f1e349c1cb1c4fba4483d8ded6ab2cdd279ea4abaeb70 SHA512 ddbad087a1d116e743e11f50d29ee0563241e4397312fa76691bad30ef62908d281ba77b89dbd8f348faa50f1c953399d79ad6c2ab77828e690f3a5a3b708bc8
|
|
||||||
DIST Python-3.8.8.tar.xz 18271736 BLAKE2B af0ff1acd919b365a58278e82678324ff884cc8120bcaf12e0e3afb1bd978e6469e256335df131935f51ff481fb83dda04e4b6f1cd1746611f9ec944db73d692 SHA512 64181db5aa48281284a3230436ebfb8cb91b645a9dec956fd48c0048334498477073fc4e14d6b426d0ef7fbcdcfd5d59cbf01a504e6c9014dc9529494b9309fb
|
DIST Python-3.8.8.tar.xz 18271736 BLAKE2B af0ff1acd919b365a58278e82678324ff884cc8120bcaf12e0e3afb1bd978e6469e256335df131935f51ff481fb83dda04e4b6f1cd1746611f9ec944db73d692 SHA512 64181db5aa48281284a3230436ebfb8cb91b645a9dec956fd48c0048334498477073fc4e14d6b426d0ef7fbcdcfd5d59cbf01a504e6c9014dc9529494b9309fb
|
||||||
DIST Python-3.8.8.tar.xz.asc 833 BLAKE2B a11188f9f68c518259de1a4e271bf56409d7356a7eb3dd8cbea7bbb0b5bc1b43f9aeb85bda4add65bbae906bef65cb20a30bcc77da04c0d383cd5b527821fd85 SHA512 0e6f11a310c1796dd056d9a4b63b5e03aa8dbd290088966e04a590a78c00003887dbfd7a7029a6cf8c5626ecd6ca91c1c16433bb0a41bf1225b02b8db8541b95
|
DIST Python-3.8.8.tar.xz.asc 833 BLAKE2B a11188f9f68c518259de1a4e271bf56409d7356a7eb3dd8cbea7bbb0b5bc1b43f9aeb85bda4add65bbae906bef65cb20a30bcc77da04c0d383cd5b527821fd85 SHA512 0e6f11a310c1796dd056d9a4b63b5e03aa8dbd290088966e04a590a78c00003887dbfd7a7029a6cf8c5626ecd6ca91c1c16433bb0a41bf1225b02b8db8541b95
|
||||||
DIST Python-3.9.1.tar.xz 18897104 BLAKE2B bcbce176510e8e7c6ba6070588bedc52121c21c5271f59b3d629dfb542c51ee62622b2ca53a6e2041f1a51b2d089368cc4de9bb749e8ebad9a2c4eb4de83538e SHA512 b90029d6825751685983e9dcf0e0ec9e46f18e6c7d37b0dd7a245a94316f8c0090308ad7c2b2b49ed2514b0b909177231dd5bcad03031bf4624e37136fcf8019
|
|
||||||
DIST Python-3.9.1.tar.xz.asc 833 BLAKE2B dc445ed9797668c5f0777259ea83330815ee516dafc752e6a0d903bae5355e76360afa5ed318ce09bbbcfb4df6269b06b6fb6b7d9c074678b612bb1ea9e3148a SHA512 400259f499820e0499290402f095ee5454168907f539de705cad4f0e5586b1c67a0ac45b89bf099701be55146a5eed73dbc9e2cb15562fef34da2813ac82f342
|
|
||||||
DIST Python-3.9.2.tar.xz 18889164 BLAKE2B f29f741ced22a58fbd2b4e2b5d133dc4971fc597de4a3918cff3ac24ff99d35e3796501eb770b1e7c650377aade8850aa2058808e2f02283563218c6a597af18 SHA512 b204d865e4c974951830008c381678876987da267c37bce3b4e488c07aa744658e57b8dc5d248051d0391f3b580e69877f7772abc0a0de5288349d448ccf0789
|
DIST Python-3.9.2.tar.xz 18889164 BLAKE2B f29f741ced22a58fbd2b4e2b5d133dc4971fc597de4a3918cff3ac24ff99d35e3796501eb770b1e7c650377aade8850aa2058808e2f02283563218c6a597af18 SHA512 b204d865e4c974951830008c381678876987da267c37bce3b4e488c07aa744658e57b8dc5d248051d0391f3b580e69877f7772abc0a0de5288349d448ccf0789
|
||||||
DIST Python-3.9.2.tar.xz.asc 833 BLAKE2B e8ef4d1993382f089b2efa6e9ad49e74ffd2aad32f6412dc6148c340dae06d01388cf4741981cb4ab82839b6ff2553f2fa704c41353d4758ea8cc7596deed5fc SHA512 47705411c7e7b7e41948ccdc4ff17430af7c953f877442f2fecf4225e6a8e5b8313f0ace54c4e0faaa409e4e5cf75b7502962f40db9e4f12a52f5d622cb6d3ce
|
DIST Python-3.9.2.tar.xz.asc 833 BLAKE2B e8ef4d1993382f089b2efa6e9ad49e74ffd2aad32f6412dc6148c340dae06d01388cf4741981cb4ab82839b6ff2553f2fa704c41353d4758ea8cc7596deed5fc SHA512 47705411c7e7b7e41948ccdc4ff17430af7c953f877442f2fecf4225e6a8e5b8313f0ace54c4e0faaa409e4e5cf75b7502962f40db9e4f12a52f5d622cb6d3ce
|
||||||
DIST python-gentoo-patches-2.7.18-r6.tar.xz 22740 BLAKE2B 1727fcab273dfe5e5739c7ce1cd7fb3c6bd13c2bda25a2e4e0609a2e727a69318a46b7c2173ea7746f8a124e778b276408adc9968ed2025b8643e660bb3d3ea3 SHA512 975fe72c5b2f4577563e8e972c70b7eec7203790a500e6f051fab1f66c71e5ae46fcb3c571a9e6346bf3a0d1dd48594a61bf2751007e4f5e3d19f8db6146c99d
|
|
||||||
DIST python-gentoo-patches-2.7.18_p7.tar.xz 26392 BLAKE2B 94a6312698789810af835a2ac8d87c34dc8d435a1ff4d5c9b7ae9175b92da6a4b204feabf9bb6db498fc6dcc17bb1b042b2b0b17ddc781587589b1ab0905396d SHA512 a3cd34f38a717183d9a8d6b91817a6ac989fb8ae4275f35cba4be810813a4c9c45f4e72d16aee33904eddaee77c4719b516392d629d2c4627c840e4ecc6bc121
|
DIST python-gentoo-patches-2.7.18_p7.tar.xz 26392 BLAKE2B 94a6312698789810af835a2ac8d87c34dc8d435a1ff4d5c9b7ae9175b92da6a4b204feabf9bb6db498fc6dcc17bb1b042b2b0b17ddc781587589b1ab0905396d SHA512 a3cd34f38a717183d9a8d6b91817a6ac989fb8ae4275f35cba4be810813a4c9c45f4e72d16aee33904eddaee77c4719b516392d629d2c4627c840e4ecc6bc121
|
||||||
DIST python-gentoo-patches-3.10.0a5.tar.xz 8972 BLAKE2B b407e501037f2732ec0844ab033fcd6226ff96731f5e752b5a807c69aa57e678e9f170aab5dd3f69bd9d2951c82ecca4664354c11aca88a4a742281ab5d28887 SHA512 4dceba9adc33b06196f326dbeacb8b17eaeffebee98f0025d4faef8f047be9c20a153a8eb89a2b64f9248cbd8810ae4a5ebfc2534770a940825a5d8a4a02e068
|
|
||||||
DIST python-gentoo-patches-3.10.0a5_p1.tar.xz 14336 BLAKE2B 953d77e59460bbd53bf41bc57e48957f6a6d08dc9f8a1adb4ad3c64a0a1281a15142952e6733c1dd9a5eadd6d81332db54dc4eb906e73ccfd35e0d18a8363962 SHA512 2c0f01c39e530a612e1ce64298d3f019f7313258b2dc75964b6ebdfcd98139d46fc5f673ee2e509602a2f825de23e3a6d96c234745098e1da83b6779dbbeb1fb
|
|
||||||
DIST python-gentoo-patches-3.10.0a6.tar.xz 8148 BLAKE2B 0fb7fc2eb2d17ff34f9b973aee7761d78b279425044f80a8f3f6a97ae479492f509bf4a18bce16e9b5efd44e6a755a9af3cac1a63e8fa7169e4880ad08bc0f7a SHA512 39d449ef090ac01463e507784500fde408487350d5a5cf86b9bda852f451841874557d674c69eb31e94121d2d243f862ea97cd0d8ba69f4ddfdefa461336594b
|
DIST python-gentoo-patches-3.10.0a6.tar.xz 8148 BLAKE2B 0fb7fc2eb2d17ff34f9b973aee7761d78b279425044f80a8f3f6a97ae479492f509bf4a18bce16e9b5efd44e6a755a9af3cac1a63e8fa7169e4880ad08bc0f7a SHA512 39d449ef090ac01463e507784500fde408487350d5a5cf86b9bda852f451841874557d674c69eb31e94121d2d243f862ea97cd0d8ba69f4ddfdefa461336594b
|
||||||
DIST python-gentoo-patches-3.6.12-r2.tar.xz 17988 BLAKE2B c252bce5ac49b9af11174d3c974d95c24ec280230cede75a7650cb914f8acb3d41b8d575e469fe7f274c6d3bc238847b82e815bf1444c5afd7292e00248e3365 SHA512 50813fbd810c8b865c0f0f8d56780af7a9e094336ba486ddd94ba8fb0a83b5373f41274bbb10c3d732449ee5b2076b7430404c02bfac10fb9b27f92de79c25e2
|
|
||||||
DIST python-gentoo-patches-3.6.12_p3.tar.xz 22416 BLAKE2B deddb2b4b23f7caa2b40a0916f5426f28f616b8fc6834c237623fb4e633dfbe1f946ff7e54989664a662184e01721f15f21a1d379db633d7f245b23fac3d7e47 SHA512 49ffeba37003dc1afe27811d880469a991583efb73c28871717e51711533927996293c576082e35fff17db98e7ba6e512e84289c4b7ed5a6880b011a9741a59b
|
|
||||||
DIST python-gentoo-patches-3.6.13.tar.xz 11428 BLAKE2B 3f6ea5a5a79ba6b0d12d9d36c62232cbf0accbc3a8d792a12e2ed8ad5ce5079ac5a5d12493fbc36dff66b275a18a538c439fff02efdd77a68d5c974aa0e62a96 SHA512 118a8ca9d19b515d03ec834a950410bd8c8086dd9b3ea2e1dff5c7d3d42a4d873bccea62aa9d1b64f92892aecd090eb1337dec7d200668d55fece68eeacfa2dc
|
DIST python-gentoo-patches-3.6.13.tar.xz 11428 BLAKE2B 3f6ea5a5a79ba6b0d12d9d36c62232cbf0accbc3a8d792a12e2ed8ad5ce5079ac5a5d12493fbc36dff66b275a18a538c439fff02efdd77a68d5c974aa0e62a96 SHA512 118a8ca9d19b515d03ec834a950410bd8c8086dd9b3ea2e1dff5c7d3d42a4d873bccea62aa9d1b64f92892aecd090eb1337dec7d200668d55fece68eeacfa2dc
|
||||||
DIST python-gentoo-patches-3.7.10.tar.xz 10572 BLAKE2B 440d004985407beb256863d37e798dbf6626b0c26fd443a5651d76cd584323abe31a13f5370d9808cd385cd999693b59097ad6ef6142c255a7b306a632fc68cf SHA512 ffe567d05b9de5f58c6a6786a5ff28f5a09aec76a69e57ab025b1c7bab57f4087704d465c049017ffd2680cc7e7363a54c5313774c0214258fa99b56bb1d46fe
|
DIST python-gentoo-patches-3.7.10.tar.xz 10572 BLAKE2B 440d004985407beb256863d37e798dbf6626b0c26fd443a5651d76cd584323abe31a13f5370d9808cd385cd999693b59097ad6ef6142c255a7b306a632fc68cf SHA512 ffe567d05b9de5f58c6a6786a5ff28f5a09aec76a69e57ab025b1c7bab57f4087704d465c049017ffd2680cc7e7363a54c5313774c0214258fa99b56bb1d46fe
|
||||||
DIST python-gentoo-patches-3.7.9-r2.tar.xz 17068 BLAKE2B 2cb838e6ab2f76b5d08df42a1187f3cdeaf3e26d845307ddb6f492eb46cfb14da26f7ceaca7ca09a5304ba717006d182cb632a0927029419064673e58a06d232 SHA512 fd9bdc0ed989ff9ca5f343d2fd04a9e7f4c078e434b03288b19797dab71006d89d601cf91d651a1dbb8cc6c66e829c977cec98e971b30c5f5cc29a751dc34d50
|
|
||||||
DIST python-gentoo-patches-3.7.9_p3.tar.xz 22000 BLAKE2B ca23030243727349f3c055854ad8ecf144dc567dd3ef5bf7d0b8cec8e2c97ba123d9b7af3c46e18c108e44fa9fea287c6cbb2e5438d84d5efa18023f82567610 SHA512 4d9f00352dd9f0d7aaf04bacb4a286dcefda25054bf7bef22ec5e5b4655bc0eac0a6b119291cb969d835167d5b81a831480ca12af734b11d44eb607c194ac616
|
|
||||||
DIST python-gentoo-patches-3.8.7-r1.tar.xz 12572 BLAKE2B 7658ae56993674a7f57cb2b6d9f23e9d01fa75f00edcc67dc3474bba0361373555c44d47c155cf9ffcbd8551ff2ae56bc22a25bef1bf6b3efed7314b2824d777 SHA512 76d0e4d18fbeedc28430a3dd1656cfafdfefdae28978baddd3e0102d0fce83be173b58da74203fc6a90cf50c63fa612f0b78e65bc59a41dce4739eead398d352
|
|
||||||
DIST python-gentoo-patches-3.8.7_p2.tar.xz 17708 BLAKE2B 495a24e0496be246d2beddfaaa8886049197ca5973dadccfcd26b3b2237e4b06b85f0e4d418db411d055ca3d0c1173e03dd5a62e29f64c133e8da6261b17c99b SHA512 c06f2fc1fe48be010e8230ac3d474b9c8386bba8f762dbe35d128ad63eaa1a4c2a5a991ec6044564331d0dec4f248a71e37959ebe666b0693d6ed41f460a67f7
|
|
||||||
DIST python-gentoo-patches-3.8.8.tar.xz 10948 BLAKE2B 745f4a8d3a41c61a8bc96b550c230d0a33ea0e1ecff2aec46dd91c9573cbd3a880891bea446cb867412687ad5875e14da36df065a5bcf340c984b8e2a165f183 SHA512 31c9acec582a13703e95e4ea9fbedc764638c470b02d798e46de0dfddbdf65e0a07ce14ae95af78cf46c29bdfcec0f65bbde06518a742061e1805ae4699610eb
|
DIST python-gentoo-patches-3.8.8.tar.xz 10948 BLAKE2B 745f4a8d3a41c61a8bc96b550c230d0a33ea0e1ecff2aec46dd91c9573cbd3a880891bea446cb867412687ad5875e14da36df065a5bcf340c984b8e2a165f183 SHA512 31c9acec582a13703e95e4ea9fbedc764638c470b02d798e46de0dfddbdf65e0a07ce14ae95af78cf46c29bdfcec0f65bbde06518a742061e1805ae4699610eb
|
||||||
DIST python-gentoo-patches-3.9.1-r1.tar.xz 10464 BLAKE2B d69ce207020b7a34eb45c149ce88001167704763fbc373a8d5aff48a1d6337774dfb6c75d477442516b8dceb87b116e6d8cf3231334ced9b03aa970aa0d2e8e1 SHA512 72b1e37b1ceac9a0e95aa63a7dd404c69f60ae7a8aac472b8c17100c873a4d28d3291231643862c9d1cfaf990040f8e780590274314047adee199c159d745369
|
|
||||||
DIST python-gentoo-patches-3.9.1_p2.tar.xz 15556 BLAKE2B 5e265ef8edee70694d73c6df6eb908a747be34e1e89b900d2470d41e7e043d179408bc643a52ade6e54e61a210ee8850d02a2cb452a9336f3973345c1d027158 SHA512 eabfd304b39975258705f5e9b238f709196ce0cbd3803f157dc77d864631a3eea380084a3a4de180e3ba7e92239608ae369e810f8066c0f1ff9fa251bbc1816c
|
|
||||||
DIST python-gentoo-patches-3.9.2.tar.xz 8824 BLAKE2B a1cd122837b50e6cf0459f86a1d88ecc4b266f5a0658975c9913f1f4e9cf6a79a0309c89c37421e92ab59f3854309cdea8ea233b771cdf517c7aea432e44bc53 SHA512 2e619ad2a7b2af2fef9070c85619e3104d99977f2c839eb1e20ed9cc3dd6c5092f7d9587c94e76d530f89272741fe6ce345e36448f6aa2800f2dc9b6b425b1e7
|
DIST python-gentoo-patches-3.9.2.tar.xz 8824 BLAKE2B a1cd122837b50e6cf0459f86a1d88ecc4b266f5a0658975c9913f1f4e9cf6a79a0309c89c37421e92ab59f3854309cdea8ea233b771cdf517c7aea432e44bc53 SHA512 2e619ad2a7b2af2fef9070c85619e3104d99977f2c839eb1e20ed9cc3dd6c5092f7d9587c94e76d530f89272741fe6ce345e36448f6aa2800f2dc9b6b425b1e7
|
||||||
|
@ -1,358 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
WANT_LIBTOOL="none"
|
|
||||||
|
|
||||||
inherit autotools flag-o-matic pax-utils \
|
|
||||||
python-utils-r1 toolchain-funcs verify-sig
|
|
||||||
|
|
||||||
MY_P="Python-${PV}"
|
|
||||||
PYVER=$(ver_cut 1-2)
|
|
||||||
PATCHSET="python-gentoo-patches-2.7.18-r6"
|
|
||||||
|
|
||||||
DESCRIPTION="An interpreted, interactive, object-oriented programming language"
|
|
||||||
HOMEPAGE="https://www.python.org/"
|
|
||||||
SRC_URI="https://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz
|
|
||||||
https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
|
|
||||||
verify-sig? (
|
|
||||||
https://www.python.org/ftp/python/${PV%_*}/${MY_P}.tar.xz.asc
|
|
||||||
)"
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
LICENSE="PSF-2"
|
|
||||||
SLOT="${PYVER}"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86"
|
|
||||||
IUSE="-berkdb bluetooth build elibc_uclibc examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml"
|
|
||||||
|
|
||||||
# Do not add a dependency on dev-lang/python to this ebuild.
|
|
||||||
# If you need to apply a patch which requires python for bootstrapping, please
|
|
||||||
# run the bootstrap code on your dev box and include the results in the
|
|
||||||
# patchset. See bug 447752.
|
|
||||||
|
|
||||||
RDEPEND="app-arch/bzip2:=
|
|
||||||
dev-libs/libffi:=
|
|
||||||
>=sys-libs/zlib-1.1.3:=
|
|
||||||
virtual/libcrypt:=
|
|
||||||
virtual/libintl
|
|
||||||
berkdb? ( || (
|
|
||||||
sys-libs/db:5.3
|
|
||||||
sys-libs/db:5.1
|
|
||||||
sys-libs/db:4.8
|
|
||||||
sys-libs/db:4.7
|
|
||||||
sys-libs/db:4.6
|
|
||||||
sys-libs/db:4.5
|
|
||||||
sys-libs/db:4.4
|
|
||||||
sys-libs/db:4.3
|
|
||||||
sys-libs/db:4.2
|
|
||||||
) )
|
|
||||||
gdbm? ( sys-libs/gdbm:=[berkdb] )
|
|
||||||
ncurses? ( >=sys-libs/ncurses-5.2:= )
|
|
||||||
readline? ( >=sys-libs/readline-4.1:= )
|
|
||||||
sqlite? ( >=dev-db/sqlite-3.3.8:3= )
|
|
||||||
ssl? (
|
|
||||||
!libressl? ( dev-libs/openssl:= )
|
|
||||||
libressl? ( dev-libs/libressl:= )
|
|
||||||
)
|
|
||||||
tk? (
|
|
||||||
>=dev-lang/tcl-8.0:=
|
|
||||||
>=dev-lang/tk-8.0:=
|
|
||||||
dev-tcltk/blt:=
|
|
||||||
dev-tcltk/tix
|
|
||||||
)
|
|
||||||
xml? ( >=dev-libs/expat-2.1:= )"
|
|
||||||
# bluetooth requires headers from bluez
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
bluetooth? ( net-wireless/bluez )"
|
|
||||||
BDEPEND="
|
|
||||||
virtual/pkgconfig
|
|
||||||
verify-sig? ( app-crypt/openpgp-keys-python )
|
|
||||||
!sys-devel/gcc[libffi(-)]"
|
|
||||||
PDEPEND="app-eselect/eselect-python"
|
|
||||||
RDEPEND+="
|
|
||||||
!build? ( app-misc/mime-types )
|
|
||||||
!<=dev-lang/python-exec-2.4.6-r1"
|
|
||||||
|
|
||||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/python.org.asc
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
if use berkdb; then
|
|
||||||
ewarn "'bsddb' module is out-of-date and no longer maintained inside"
|
|
||||||
ewarn "dev-lang/python. 'bsddb' and 'dbhash' modules have been additionally"
|
|
||||||
ewarn "removed in Python 3. A maintained alternative of 'bsddb3' module"
|
|
||||||
ewarn "is provided by dev-python/bsddb3."
|
|
||||||
else
|
|
||||||
if has_version "=${CATEGORY}/${PN}-${PV%%.*}*[berkdb]"; then
|
|
||||||
ewarn "You are migrating from =${CATEGORY}/${PN}-${PV%%.*}*[berkdb]"
|
|
||||||
ewarn "to =${CATEGORY}/${PN}-${PV%%.*}*[-berkdb]."
|
|
||||||
ewarn "You might need to migrate your databases."
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
if use verify-sig; then
|
|
||||||
verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc}
|
|
||||||
fi
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Ensure that internal copies of expat, libffi and zlib are not used.
|
|
||||||
rm -fr Modules/expat || die
|
|
||||||
rm -fr Modules/_ctypes/libffi* || die
|
|
||||||
rm -fr Modules/zlib || die
|
|
||||||
|
|
||||||
local PATCHES=(
|
|
||||||
"${WORKDIR}/${PATCHSET}"
|
|
||||||
)
|
|
||||||
|
|
||||||
default
|
|
||||||
|
|
||||||
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
|
|
||||||
Lib/distutils/command/install.py \
|
|
||||||
Lib/distutils/sysconfig.py \
|
|
||||||
Lib/site.py \
|
|
||||||
Lib/sysconfig.py \
|
|
||||||
Lib/test/test_site.py \
|
|
||||||
Makefile.pre.in \
|
|
||||||
Modules/Setup.dist \
|
|
||||||
Modules/getpath.c \
|
|
||||||
setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# dbm module can be linked against berkdb or gdbm.
|
|
||||||
# Defaults to gdbm when both are enabled, #204343.
|
|
||||||
local disable
|
|
||||||
use berkdb || use gdbm || disable+=" dbm"
|
|
||||||
use berkdb || disable+=" _bsddb"
|
|
||||||
# disable automagic bluetooth headers detection
|
|
||||||
use bluetooth || export ac_cv_header_bluetooth_bluetooth_h=no
|
|
||||||
use gdbm || disable+=" gdbm"
|
|
||||||
use ncurses || disable+=" _curses _curses_panel"
|
|
||||||
use readline || disable+=" readline"
|
|
||||||
use sqlite || disable+=" _sqlite3"
|
|
||||||
use ssl || export PYTHON_DISABLE_SSL="1"
|
|
||||||
use tk || disable+=" _tkinter"
|
|
||||||
use xml || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
|
|
||||||
export PYTHON_DISABLE_MODULES="${disable}"
|
|
||||||
|
|
||||||
if ! use xml; then
|
|
||||||
ewarn "You have configured Python without XML support."
|
|
||||||
ewarn "This is NOT a recommended configuration as you"
|
|
||||||
ewarn "may face problems parsing any XML documents."
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
|
|
||||||
einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ "$(gcc-major-version)" -ge 4 ]]; then
|
|
||||||
append-flags -fwrapv
|
|
||||||
fi
|
|
||||||
|
|
||||||
filter-flags -malign-double
|
|
||||||
|
|
||||||
# https://bugs.gentoo.org/show_bug.cgi?id=50309
|
|
||||||
if is-flagq -O3; then
|
|
||||||
is-flagq -fstack-protector-all && replace-flags -O3 -O2
|
|
||||||
use hardened && replace-flags -O3 -O2
|
|
||||||
fi
|
|
||||||
|
|
||||||
if tc-is-cross-compiler; then
|
|
||||||
# Force some tests that try to poke fs paths.
|
|
||||||
export ac_cv_file__dev_ptc=no
|
|
||||||
export ac_cv_file__dev_ptmx=yes
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Export CXX so it ends up in /usr/lib/python2.X/config/Makefile.
|
|
||||||
tc-export CXX
|
|
||||||
# The configure script fails to use pkg-config correctly.
|
|
||||||
# http://bugs.python.org/issue15506
|
|
||||||
export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG)
|
|
||||||
|
|
||||||
local dbmliborder
|
|
||||||
if use gdbm; then
|
|
||||||
dbmliborder+="${dbmliborder:+:}gdbm"
|
|
||||||
fi
|
|
||||||
if use berkdb; then
|
|
||||||
dbmliborder+="${dbmliborder:+:}bdb"
|
|
||||||
fi
|
|
||||||
|
|
||||||
local myeconfargs=(
|
|
||||||
# The check is broken on clang, and gives false positive:
|
|
||||||
# https://bugs.gentoo.org/596798
|
|
||||||
# (upstream dropped this flag in 3.2a4 anyway)
|
|
||||||
ac_cv_opt_olimit_ok=no
|
|
||||||
# glibc-2.30 removes it; since we can't cleanly force-rebuild
|
|
||||||
# Python on glibc upgrade, remove it proactively to give
|
|
||||||
# a chance for users rebuilding python before glibc
|
|
||||||
ac_cv_header_stropts_h=no
|
|
||||||
|
|
||||||
--with-fpectl
|
|
||||||
--enable-shared
|
|
||||||
$(use_enable ipv6)
|
|
||||||
$(use_with threads)
|
|
||||||
$(use wide-unicode && echo "--enable-unicode=ucs4" || echo "--enable-unicode=ucs2")
|
|
||||||
--infodir='${prefix}/share/info'
|
|
||||||
--mandir='${prefix}/share/man'
|
|
||||||
--with-computed-gotos
|
|
||||||
--with-dbmliborder="${dbmliborder}"
|
|
||||||
--with-libc=
|
|
||||||
--enable-loadable-sqlite-extensions
|
|
||||||
--with-system-expat
|
|
||||||
--with-system-ffi
|
|
||||||
--without-ensurepip
|
|
||||||
)
|
|
||||||
|
|
||||||
OPT="" econf "${myeconfargs[@]}"
|
|
||||||
|
|
||||||
if use threads && grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
|
|
||||||
eerror "configure has detected that the sem_open function is broken."
|
|
||||||
eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777."
|
|
||||||
die "Broken sem_open function (bug 496328)"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# Ensure sed works as expected
|
|
||||||
# https://bugs.gentoo.org/594768
|
|
||||||
local -x LC_ALL=C
|
|
||||||
|
|
||||||
# Avoid invoking pgen for cross-compiles.
|
|
||||||
touch Include/graminit.h Python/graminit.c
|
|
||||||
|
|
||||||
emake
|
|
||||||
|
|
||||||
# Work around bug 329499. See also bug 413751 and 457194.
|
|
||||||
if has_version dev-libs/libffi[pax_kernel]; then
|
|
||||||
pax-mark E python
|
|
||||||
else
|
|
||||||
pax-mark m python
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# Tests will not work when cross compiling.
|
|
||||||
if tc-is-cross-compiler; then
|
|
||||||
elog "Disabling tests due to crosscompiling."
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Skip failing tests.
|
|
||||||
local skipped_tests="distutils gdb"
|
|
||||||
|
|
||||||
for test in ${skipped_tests}; do
|
|
||||||
mv "${S}"/Lib/test/test_${test}.py "${T}"
|
|
||||||
done
|
|
||||||
|
|
||||||
# bug 660358
|
|
||||||
local -x COLUMNS=80
|
|
||||||
|
|
||||||
# Daylight saving time problem
|
|
||||||
# https://bugs.python.org/issue22067
|
|
||||||
# https://bugs.gentoo.org/610628
|
|
||||||
local -x TZ=UTC
|
|
||||||
|
|
||||||
# Rerun failed tests in verbose mode (regrtest -w).
|
|
||||||
emake test EXTRATESTOPTS="-w" < /dev/tty
|
|
||||||
local result="$?"
|
|
||||||
|
|
||||||
for test in ${skipped_tests}; do
|
|
||||||
mv "${T}/test_${test}.py" "${S}"/Lib/test
|
|
||||||
done
|
|
||||||
|
|
||||||
elog "The following tests have been skipped:"
|
|
||||||
for test in ${skipped_tests}; do
|
|
||||||
elog "test_${test}.py"
|
|
||||||
done
|
|
||||||
|
|
||||||
elog "If you would like to run them, you may:"
|
|
||||||
elog "cd '${EPREFIX}/usr/$(get_libdir)/python${PYVER}/test'"
|
|
||||||
elog "and run the tests separately."
|
|
||||||
|
|
||||||
if [[ ${result} -ne 0 ]]; then
|
|
||||||
die "emake test failed"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local libdir=${ED}/usr/$(get_libdir)/python${PYVER}
|
|
||||||
|
|
||||||
emake DESTDIR="${D}" altinstall
|
|
||||||
|
|
||||||
sed -e "s/\(LDFLAGS=\).*/\1/" -i "${libdir}/config/Makefile" || die
|
|
||||||
|
|
||||||
# Fix collisions between different slots of Python.
|
|
||||||
mv "${ED}/usr/bin/2to3" "${ED}/usr/bin/2to3-${PYVER}" || die
|
|
||||||
mv "${ED}/usr/bin/pydoc" "${ED}/usr/bin/pydoc${PYVER}" || die
|
|
||||||
mv "${ED}/usr/bin/idle" "${ED}/usr/bin/idle${PYVER}" || die
|
|
||||||
rm "${ED}/usr/bin/smtpd.py" || die
|
|
||||||
|
|
||||||
use berkdb || rm -r "${libdir}/"{bsddb,dbhash.py*,test/test_bsddb*} || die
|
|
||||||
use sqlite || rm -r "${libdir}/"{sqlite3,test/test_sqlite*} || die
|
|
||||||
use tk || rm -r "${ED}/usr/bin/idle${PYVER}" "${libdir}/"{idlelib,lib-tk} || die
|
|
||||||
use elibc_uclibc && rm -fr "${libdir}/"{bsddb/test,test}
|
|
||||||
|
|
||||||
use threads || rm -r "${libdir}/multiprocessing" || die
|
|
||||||
use wininst || rm "${libdir}/distutils/command/"wininst-*.exe || die
|
|
||||||
|
|
||||||
dodoc Misc/{ACKS,HISTORY,NEWS}
|
|
||||||
|
|
||||||
if use examples; then
|
|
||||||
docinto examples
|
|
||||||
dodoc -r Tools
|
|
||||||
fi
|
|
||||||
insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
|
|
||||||
local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \
|
|
||||||
emake --no-print-directory -s -f - 2>/dev/null)
|
|
||||||
newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py
|
|
||||||
|
|
||||||
newconfd "${FILESDIR}/pydoc.conf" pydoc-${PYVER}
|
|
||||||
newinitd "${FILESDIR}/pydoc.init" pydoc-${PYVER}
|
|
||||||
sed \
|
|
||||||
-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${PYVER/./_}_PORT:" \
|
|
||||||
-e "s:@PYDOC@:pydoc${PYVER}:" \
|
|
||||||
-i "${ED}/etc/conf.d/pydoc-${PYVER}" \
|
|
||||||
"${ED}/etc/init.d/pydoc-${PYVER}" || die "sed failed"
|
|
||||||
|
|
||||||
local -x EPYTHON=python${PYVER}
|
|
||||||
# if not using a cross-compiler, use the fresh binary
|
|
||||||
if ! tc-is-cross-compiler; then
|
|
||||||
local -x PYTHON=./python
|
|
||||||
local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}${PWD}
|
|
||||||
else
|
|
||||||
local -x PYTHON=${EPREFIX}/usr/bin/${EPYTHON}
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "EPYTHON='${EPYTHON}'" > epython.py || die
|
|
||||||
python_domodule epython.py
|
|
||||||
|
|
||||||
# python-exec wrapping support
|
|
||||||
local scriptdir=${D}$(python_get_scriptdir)
|
|
||||||
mkdir -p "${scriptdir}" || die
|
|
||||||
# python
|
|
||||||
ln -s "../../../bin/python${PYVER}" \
|
|
||||||
"${scriptdir}/python" || die
|
|
||||||
# python-config
|
|
||||||
ln -s "../../../bin/python${PYVER}-config" \
|
|
||||||
"${scriptdir}/python-config" || die
|
|
||||||
# 2to3, pydoc, pyvenv
|
|
||||||
ln -s "../../../bin/2to3-${PYVER}" \
|
|
||||||
"${scriptdir}/2to3" || die
|
|
||||||
ln -s "../../../bin/pydoc${PYVER}" \
|
|
||||||
"${scriptdir}/pydoc" || die
|
|
||||||
# idle
|
|
||||||
if use tk; then
|
|
||||||
ln -s "../../../bin/idle${PYVER}" \
|
|
||||||
"${scriptdir}/idle" || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# python2* is no longer wrapped, so just symlink it
|
|
||||||
local pymajor=${PYVER%.*}
|
|
||||||
dosym "python${PYVER}" "/usr/bin/python${pymajor}"
|
|
||||||
dosym "python${PYVER}-config" "/usr/bin/python${pymajor}-config"
|
|
||||||
}
|
|
@ -1,348 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
WANT_LIBTOOL="none"
|
|
||||||
|
|
||||||
inherit autotools check-reqs flag-o-matic multiprocessing pax-utils \
|
|
||||||
python-utils-r1 toolchain-funcs verify-sig
|
|
||||||
|
|
||||||
MY_P="Python-${PV/_alpha/a}"
|
|
||||||
PYVER=$(ver_cut 1-2)
|
|
||||||
PATCHSET="python-gentoo-patches-3.10.0a5"
|
|
||||||
|
|
||||||
DESCRIPTION="An interpreted, interactive, object-oriented programming language"
|
|
||||||
HOMEPAGE="https://www.python.org/"
|
|
||||||
SRC_URI="https://www.python.org/ftp/python/${PV%_*}/${MY_P}.tar.xz
|
|
||||||
https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
|
|
||||||
verify-sig? (
|
|
||||||
https://www.python.org/ftp/python/${PV%_*}/${MY_P}.tar.xz.asc
|
|
||||||
)"
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
LICENSE="PSF-2"
|
|
||||||
SLOT="${PYVER}"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
|
||||||
IUSE="bluetooth build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test tk wininst +xml"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
# Do not add a dependency on dev-lang/python to this ebuild.
|
|
||||||
# If you need to apply a patch which requires python for bootstrapping, please
|
|
||||||
# run the bootstrap code on your dev box and include the results in the
|
|
||||||
# patchset. See bug 447752.
|
|
||||||
|
|
||||||
RDEPEND="app-arch/bzip2:=
|
|
||||||
app-arch/xz-utils:=
|
|
||||||
dev-libs/libffi:=
|
|
||||||
sys-apps/util-linux:=
|
|
||||||
>=sys-libs/zlib-1.1.3:=
|
|
||||||
virtual/libcrypt:=
|
|
||||||
virtual/libintl
|
|
||||||
gdbm? ( sys-libs/gdbm:=[berkdb] )
|
|
||||||
ncurses? ( >=sys-libs/ncurses-5.2:= )
|
|
||||||
readline? ( >=sys-libs/readline-4.1:= )
|
|
||||||
sqlite? ( >=dev-db/sqlite-3.3.8:3= )
|
|
||||||
ssl? (
|
|
||||||
!libressl? ( dev-libs/openssl:= )
|
|
||||||
libressl? ( dev-libs/libressl:= )
|
|
||||||
)
|
|
||||||
tk? (
|
|
||||||
>=dev-lang/tcl-8.0:=
|
|
||||||
>=dev-lang/tk-8.0:=
|
|
||||||
dev-tcltk/blt:=
|
|
||||||
dev-tcltk/tix
|
|
||||||
)
|
|
||||||
xml? ( >=dev-libs/expat-2.1:= )"
|
|
||||||
# bluetooth requires headers from bluez
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
bluetooth? ( net-wireless/bluez )
|
|
||||||
test? ( app-arch/xz-utils[extra-filters(+)] )"
|
|
||||||
# autoconf-archive needed to eautoreconf
|
|
||||||
BDEPEND="
|
|
||||||
sys-devel/autoconf-archive
|
|
||||||
virtual/pkgconfig
|
|
||||||
verify-sig? ( app-crypt/openpgp-keys-python )
|
|
||||||
!sys-devel/gcc[libffi(-)]"
|
|
||||||
PDEPEND="app-eselect/eselect-python"
|
|
||||||
RDEPEND+=" !build? ( app-misc/mime-types )"
|
|
||||||
|
|
||||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/python.org.asc
|
|
||||||
|
|
||||||
# large file tests involve a 2.5G file being copied (duplicated)
|
|
||||||
CHECKREQS_DISK_BUILD=5500M
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
use test && check-reqs_pkg_pretend
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
use test && check-reqs_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
if use verify-sig; then
|
|
||||||
verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc}
|
|
||||||
fi
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Ensure that internal copies of expat, libffi and zlib are not used.
|
|
||||||
rm -fr Modules/expat || die
|
|
||||||
rm -fr Modules/_ctypes/libffi* || die
|
|
||||||
rm -fr Modules/zlib || die
|
|
||||||
|
|
||||||
local PATCHES=(
|
|
||||||
"${WORKDIR}/${PATCHSET}"
|
|
||||||
)
|
|
||||||
|
|
||||||
default
|
|
||||||
|
|
||||||
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
|
|
||||||
setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
|
|
||||||
|
|
||||||
# force correct number of jobs
|
|
||||||
# https://bugs.gentoo.org/737660
|
|
||||||
local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
|
|
||||||
sed -i -e "s:-j0:-j${jobs}:" Makefile.pre.in || die
|
|
||||||
sed -i -e "/self\.parallel/s:True:${jobs}:" setup.py || die
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local disable
|
|
||||||
# disable automagic bluetooth headers detection
|
|
||||||
use bluetooth || export ac_cv_header_bluetooth_bluetooth_h=no
|
|
||||||
use gdbm || disable+=" gdbm"
|
|
||||||
use ncurses || disable+=" _curses _curses_panel"
|
|
||||||
use readline || disable+=" readline"
|
|
||||||
use sqlite || disable+=" _sqlite3"
|
|
||||||
use ssl || export PYTHON_DISABLE_SSL="1"
|
|
||||||
use tk || disable+=" _tkinter"
|
|
||||||
use xml || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
|
|
||||||
export PYTHON_DISABLE_MODULES="${disable}"
|
|
||||||
|
|
||||||
if ! use xml; then
|
|
||||||
ewarn "You have configured Python without XML support."
|
|
||||||
ewarn "This is NOT a recommended configuration as you"
|
|
||||||
ewarn "may face problems parsing any XML documents."
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
|
|
||||||
einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ "$(gcc-major-version)" -ge 4 ]]; then
|
|
||||||
append-flags -fwrapv
|
|
||||||
fi
|
|
||||||
|
|
||||||
filter-flags -malign-double
|
|
||||||
|
|
||||||
# https://bugs.gentoo.org/show_bug.cgi?id=50309
|
|
||||||
if is-flagq -O3; then
|
|
||||||
is-flagq -fstack-protector-all && replace-flags -O3 -O2
|
|
||||||
use hardened && replace-flags -O3 -O2
|
|
||||||
fi
|
|
||||||
|
|
||||||
# https://bugs.gentoo.org/700012
|
|
||||||
if is-flagq -flto || is-flagq '-flto=*'; then
|
|
||||||
append-cflags $(test-flags-CC -ffat-lto-objects)
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
|
|
||||||
tc-export CXX
|
|
||||||
|
|
||||||
# Fix implicit declarations on cross and prefix builds. Bug #674070.
|
|
||||||
use ncurses && append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw
|
|
||||||
|
|
||||||
local dbmliborder
|
|
||||||
if use gdbm; then
|
|
||||||
dbmliborder+="${dbmliborder:+:}gdbm"
|
|
||||||
fi
|
|
||||||
|
|
||||||
local myeconfargs=(
|
|
||||||
# glibc-2.30 removes it; since we can't cleanly force-rebuild
|
|
||||||
# Python on glibc upgrade, remove it proactively to give
|
|
||||||
# a chance for users rebuilding python before glibc
|
|
||||||
ac_cv_header_stropts_h=no
|
|
||||||
|
|
||||||
--enable-shared
|
|
||||||
$(use_enable ipv6)
|
|
||||||
--infodir='${prefix}/share/info'
|
|
||||||
--mandir='${prefix}/share/man'
|
|
||||||
--with-computed-gotos
|
|
||||||
--with-dbmliborder="${dbmliborder}"
|
|
||||||
--with-libc=
|
|
||||||
--enable-loadable-sqlite-extensions
|
|
||||||
--without-ensurepip
|
|
||||||
--with-system-expat
|
|
||||||
--with-system-ffi
|
|
||||||
)
|
|
||||||
|
|
||||||
OPT="" econf "${myeconfargs[@]}"
|
|
||||||
|
|
||||||
if grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
|
|
||||||
eerror "configure has detected that the sem_open function is broken."
|
|
||||||
eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777."
|
|
||||||
die "Broken sem_open function (bug 496328)"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# Ensure sed works as expected
|
|
||||||
# https://bugs.gentoo.org/594768
|
|
||||||
local -x LC_ALL=C
|
|
||||||
|
|
||||||
emake CPPFLAGS= CFLAGS= LDFLAGS=
|
|
||||||
|
|
||||||
# Work around bug 329499. See also bug 413751 and 457194.
|
|
||||||
if has_version dev-libs/libffi[pax_kernel]; then
|
|
||||||
pax-mark E python
|
|
||||||
else
|
|
||||||
pax-mark m python
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# Tests will not work when cross compiling.
|
|
||||||
if tc-is-cross-compiler; then
|
|
||||||
elog "Disabling tests due to crosscompiling."
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Skip failing tests.
|
|
||||||
local skipped_tests="gdb"
|
|
||||||
|
|
||||||
for test in ${skipped_tests}; do
|
|
||||||
mv "${S}"/Lib/test/test_${test}.py "${T}"
|
|
||||||
done
|
|
||||||
|
|
||||||
# bug 660358
|
|
||||||
local -x COLUMNS=80
|
|
||||||
local -x PYTHONDONTWRITEBYTECODE=
|
|
||||||
|
|
||||||
local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
|
|
||||||
|
|
||||||
emake test EXTRATESTOPTS="-u-network -j${jobs}" \
|
|
||||||
CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty
|
|
||||||
local result=$?
|
|
||||||
|
|
||||||
for test in ${skipped_tests}; do
|
|
||||||
mv "${T}/test_${test}.py" "${S}"/Lib/test
|
|
||||||
done
|
|
||||||
|
|
||||||
elog "The following tests have been skipped:"
|
|
||||||
for test in ${skipped_tests}; do
|
|
||||||
elog "test_${test}.py"
|
|
||||||
done
|
|
||||||
|
|
||||||
elog "If you would like to run them, you may:"
|
|
||||||
elog "cd '${EPREFIX}/usr/lib/python${PYVER}/test'"
|
|
||||||
elog "and run the tests separately."
|
|
||||||
|
|
||||||
if [[ ${result} -ne 0 ]]; then
|
|
||||||
die "emake test failed"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local libdir=${ED}/usr/lib/python${PYVER}
|
|
||||||
|
|
||||||
emake DESTDIR="${D}" altinstall
|
|
||||||
|
|
||||||
# Remove static library
|
|
||||||
rm "${ED}"/usr/$(get_libdir)/libpython*.a || die
|
|
||||||
|
|
||||||
sed \
|
|
||||||
-e "s/\(CONFIGURE_LDFLAGS=\).*/\1/" \
|
|
||||||
-e "s/\(PY_LDFLAGS=\).*/\1/" \
|
|
||||||
-i "${libdir}/config-${PYVER}"*/Makefile || die "sed failed"
|
|
||||||
|
|
||||||
# Fix collisions between different slots of Python.
|
|
||||||
rm "${ED}/usr/$(get_libdir)/libpython3.so" || die
|
|
||||||
|
|
||||||
# Cheap hack to get version with ABIFLAGS
|
|
||||||
local abiver=$(cd "${ED}/usr/include"; echo python*)
|
|
||||||
if [[ ${abiver} != python${PYVER} ]]; then
|
|
||||||
# Replace python3.X with a symlink to python3.Xm
|
|
||||||
rm "${ED}/usr/bin/python${PYVER}" || die
|
|
||||||
dosym "${abiver}" "/usr/bin/python${PYVER}"
|
|
||||||
# Create python3.X-config symlink
|
|
||||||
dosym "${abiver}-config" "/usr/bin/python${PYVER}-config"
|
|
||||||
# Create python-3.5m.pc symlink
|
|
||||||
dosym "python-${PYVER}.pc" "/usr/$(get_libdir)/pkgconfig/${abiver/${PYVER}/-${PYVER}}.pc"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# python seems to get rebuilt in src_install (bug 569908)
|
|
||||||
# Work around it for now.
|
|
||||||
if has_version dev-libs/libffi[pax_kernel]; then
|
|
||||||
pax-mark E "${ED}/usr/bin/${abiver}"
|
|
||||||
else
|
|
||||||
pax-mark m "${ED}/usr/bin/${abiver}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
use sqlite || rm -r "${libdir}/"{sqlite3,test/test_sqlite*} || die
|
|
||||||
use tk || rm -r "${ED}/usr/bin/idle${PYVER}" "${libdir}/"{idlelib,tkinter,test/test_tk*} || die
|
|
||||||
|
|
||||||
dodoc Misc/{ACKS,HISTORY,NEWS}
|
|
||||||
|
|
||||||
if use examples; then
|
|
||||||
docinto examples
|
|
||||||
find Tools -name __pycache__ -exec rm -fr {} + || die
|
|
||||||
dodoc -r Tools
|
|
||||||
fi
|
|
||||||
insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
|
|
||||||
local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \
|
|
||||||
emake --no-print-directory -s -f - 2>/dev/null)
|
|
||||||
newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py
|
|
||||||
|
|
||||||
newconfd "${FILESDIR}/pydoc.conf" pydoc-${PYVER}
|
|
||||||
newinitd "${FILESDIR}/pydoc.init" pydoc-${PYVER}
|
|
||||||
sed \
|
|
||||||
-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${PYVER/./_}_PORT:" \
|
|
||||||
-e "s:@PYDOC@:pydoc${PYVER}:" \
|
|
||||||
-i "${ED}/etc/conf.d/pydoc-${PYVER}" \
|
|
||||||
"${ED}/etc/init.d/pydoc-${PYVER}" || die "sed failed"
|
|
||||||
|
|
||||||
local -x EPYTHON=python${PYVER}
|
|
||||||
# if not using a cross-compiler, use the fresh binary
|
|
||||||
if ! tc-is-cross-compiler; then
|
|
||||||
local -x PYTHON=./python
|
|
||||||
local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}${PWD}
|
|
||||||
else
|
|
||||||
local -x PYTHON=${EPREFIX}/usr/bin/${EPYTHON}
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "EPYTHON='${EPYTHON}'" > epython.py || die
|
|
||||||
python_domodule epython.py
|
|
||||||
|
|
||||||
# python-exec wrapping support
|
|
||||||
local pymajor=${PYVER%.*}
|
|
||||||
local scriptdir=${D}$(python_get_scriptdir)
|
|
||||||
mkdir -p "${scriptdir}" || die
|
|
||||||
# python and pythonX
|
|
||||||
ln -s "../../../bin/${abiver}" \
|
|
||||||
"${scriptdir}/python${pymajor}" || die
|
|
||||||
ln -s "python${pymajor}" "${scriptdir}/python" || die
|
|
||||||
# python-config and pythonX-config
|
|
||||||
# note: we need to create a wrapper rather than symlinking it due
|
|
||||||
# to some random dirname(argv[0]) magic performed by python-config
|
|
||||||
cat > "${scriptdir}/python${pymajor}-config" <<-EOF || die
|
|
||||||
#!/bin/sh
|
|
||||||
exec "${abiver}-config" "\${@}"
|
|
||||||
EOF
|
|
||||||
chmod +x "${scriptdir}/python${pymajor}-config" || die
|
|
||||||
ln -s "python${pymajor}-config" \
|
|
||||||
"${scriptdir}/python-config" || die
|
|
||||||
# 2to3, pydoc
|
|
||||||
ln -s "../../../bin/2to3-${PYVER}" \
|
|
||||||
"${scriptdir}/2to3" || die
|
|
||||||
ln -s "../../../bin/pydoc${PYVER}" \
|
|
||||||
"${scriptdir}/pydoc" || die
|
|
||||||
# idle
|
|
||||||
if use tk; then
|
|
||||||
ln -s "../../../bin/idle${PYVER}" \
|
|
||||||
"${scriptdir}/idle" || die
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,349 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
WANT_LIBTOOL="none"
|
|
||||||
|
|
||||||
inherit autotools check-reqs flag-o-matic multiprocessing pax-utils \
|
|
||||||
python-utils-r1 toolchain-funcs verify-sig
|
|
||||||
|
|
||||||
MY_PV=${PV/_alpha/a}
|
|
||||||
MY_P="Python-${MY_PV%_p*}"
|
|
||||||
PYVER=$(ver_cut 1-2)
|
|
||||||
PATCHSET="python-gentoo-patches-${MY_PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="An interpreted, interactive, object-oriented programming language"
|
|
||||||
HOMEPAGE="https://www.python.org/"
|
|
||||||
SRC_URI="https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz
|
|
||||||
https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
|
|
||||||
verify-sig? (
|
|
||||||
https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc
|
|
||||||
)"
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
LICENSE="PSF-2"
|
|
||||||
SLOT="${PYVER}"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
|
||||||
IUSE="bluetooth build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test tk wininst +xml"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
# Do not add a dependency on dev-lang/python to this ebuild.
|
|
||||||
# If you need to apply a patch which requires python for bootstrapping, please
|
|
||||||
# run the bootstrap code on your dev box and include the results in the
|
|
||||||
# patchset. See bug 447752.
|
|
||||||
|
|
||||||
RDEPEND="app-arch/bzip2:=
|
|
||||||
app-arch/xz-utils:=
|
|
||||||
dev-libs/libffi:=
|
|
||||||
sys-apps/util-linux:=
|
|
||||||
>=sys-libs/zlib-1.1.3:=
|
|
||||||
virtual/libcrypt:=
|
|
||||||
virtual/libintl
|
|
||||||
gdbm? ( sys-libs/gdbm:=[berkdb] )
|
|
||||||
ncurses? ( >=sys-libs/ncurses-5.2:= )
|
|
||||||
readline? ( >=sys-libs/readline-4.1:= )
|
|
||||||
sqlite? ( >=dev-db/sqlite-3.3.8:3= )
|
|
||||||
ssl? (
|
|
||||||
!libressl? ( dev-libs/openssl:= )
|
|
||||||
libressl? ( dev-libs/libressl:= )
|
|
||||||
)
|
|
||||||
tk? (
|
|
||||||
>=dev-lang/tcl-8.0:=
|
|
||||||
>=dev-lang/tk-8.0:=
|
|
||||||
dev-tcltk/blt:=
|
|
||||||
dev-tcltk/tix
|
|
||||||
)
|
|
||||||
xml? ( >=dev-libs/expat-2.1:= )"
|
|
||||||
# bluetooth requires headers from bluez
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
bluetooth? ( net-wireless/bluez )
|
|
||||||
test? ( app-arch/xz-utils[extra-filters(+)] )"
|
|
||||||
# autoconf-archive needed to eautoreconf
|
|
||||||
BDEPEND="
|
|
||||||
sys-devel/autoconf-archive
|
|
||||||
virtual/pkgconfig
|
|
||||||
verify-sig? ( app-crypt/openpgp-keys-python )
|
|
||||||
!sys-devel/gcc[libffi(-)]"
|
|
||||||
PDEPEND="app-eselect/eselect-python"
|
|
||||||
RDEPEND+=" !build? ( app-misc/mime-types )"
|
|
||||||
|
|
||||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/python.org.asc
|
|
||||||
|
|
||||||
# large file tests involve a 2.5G file being copied (duplicated)
|
|
||||||
CHECKREQS_DISK_BUILD=5500M
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
use test && check-reqs_pkg_pretend
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
use test && check-reqs_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
if use verify-sig; then
|
|
||||||
verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc}
|
|
||||||
fi
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Ensure that internal copies of expat, libffi and zlib are not used.
|
|
||||||
rm -fr Modules/expat || die
|
|
||||||
rm -fr Modules/_ctypes/libffi* || die
|
|
||||||
rm -fr Modules/zlib || die
|
|
||||||
|
|
||||||
local PATCHES=(
|
|
||||||
"${WORKDIR}/${PATCHSET}"
|
|
||||||
)
|
|
||||||
|
|
||||||
default
|
|
||||||
|
|
||||||
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
|
|
||||||
setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
|
|
||||||
|
|
||||||
# force correct number of jobs
|
|
||||||
# https://bugs.gentoo.org/737660
|
|
||||||
local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
|
|
||||||
sed -i -e "s:-j0:-j${jobs}:" Makefile.pre.in || die
|
|
||||||
sed -i -e "/self\.parallel/s:True:${jobs}:" setup.py || die
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local disable
|
|
||||||
# disable automagic bluetooth headers detection
|
|
||||||
use bluetooth || export ac_cv_header_bluetooth_bluetooth_h=no
|
|
||||||
use gdbm || disable+=" gdbm"
|
|
||||||
use ncurses || disable+=" _curses _curses_panel"
|
|
||||||
use readline || disable+=" readline"
|
|
||||||
use sqlite || disable+=" _sqlite3"
|
|
||||||
use ssl || export PYTHON_DISABLE_SSL="1"
|
|
||||||
use tk || disable+=" _tkinter"
|
|
||||||
use xml || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
|
|
||||||
export PYTHON_DISABLE_MODULES="${disable}"
|
|
||||||
|
|
||||||
if ! use xml; then
|
|
||||||
ewarn "You have configured Python without XML support."
|
|
||||||
ewarn "This is NOT a recommended configuration as you"
|
|
||||||
ewarn "may face problems parsing any XML documents."
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
|
|
||||||
einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ "$(gcc-major-version)" -ge 4 ]]; then
|
|
||||||
append-flags -fwrapv
|
|
||||||
fi
|
|
||||||
|
|
||||||
filter-flags -malign-double
|
|
||||||
|
|
||||||
# https://bugs.gentoo.org/show_bug.cgi?id=50309
|
|
||||||
if is-flagq -O3; then
|
|
||||||
is-flagq -fstack-protector-all && replace-flags -O3 -O2
|
|
||||||
use hardened && replace-flags -O3 -O2
|
|
||||||
fi
|
|
||||||
|
|
||||||
# https://bugs.gentoo.org/700012
|
|
||||||
if is-flagq -flto || is-flagq '-flto=*'; then
|
|
||||||
append-cflags $(test-flags-CC -ffat-lto-objects)
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
|
|
||||||
tc-export CXX
|
|
||||||
|
|
||||||
# Fix implicit declarations on cross and prefix builds. Bug #674070.
|
|
||||||
use ncurses && append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw
|
|
||||||
|
|
||||||
local dbmliborder
|
|
||||||
if use gdbm; then
|
|
||||||
dbmliborder+="${dbmliborder:+:}gdbm"
|
|
||||||
fi
|
|
||||||
|
|
||||||
local myeconfargs=(
|
|
||||||
# glibc-2.30 removes it; since we can't cleanly force-rebuild
|
|
||||||
# Python on glibc upgrade, remove it proactively to give
|
|
||||||
# a chance for users rebuilding python before glibc
|
|
||||||
ac_cv_header_stropts_h=no
|
|
||||||
|
|
||||||
--enable-shared
|
|
||||||
$(use_enable ipv6)
|
|
||||||
--infodir='${prefix}/share/info'
|
|
||||||
--mandir='${prefix}/share/man'
|
|
||||||
--with-computed-gotos
|
|
||||||
--with-dbmliborder="${dbmliborder}"
|
|
||||||
--with-libc=
|
|
||||||
--enable-loadable-sqlite-extensions
|
|
||||||
--without-ensurepip
|
|
||||||
--with-system-expat
|
|
||||||
--with-system-ffi
|
|
||||||
)
|
|
||||||
|
|
||||||
OPT="" econf "${myeconfargs[@]}"
|
|
||||||
|
|
||||||
if grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
|
|
||||||
eerror "configure has detected that the sem_open function is broken."
|
|
||||||
eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777."
|
|
||||||
die "Broken sem_open function (bug 496328)"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# Ensure sed works as expected
|
|
||||||
# https://bugs.gentoo.org/594768
|
|
||||||
local -x LC_ALL=C
|
|
||||||
|
|
||||||
emake CPPFLAGS= CFLAGS= LDFLAGS=
|
|
||||||
|
|
||||||
# Work around bug 329499. See also bug 413751 and 457194.
|
|
||||||
if has_version dev-libs/libffi[pax_kernel]; then
|
|
||||||
pax-mark E python
|
|
||||||
else
|
|
||||||
pax-mark m python
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# Tests will not work when cross compiling.
|
|
||||||
if tc-is-cross-compiler; then
|
|
||||||
elog "Disabling tests due to crosscompiling."
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Skip failing tests.
|
|
||||||
local skipped_tests="gdb"
|
|
||||||
|
|
||||||
for test in ${skipped_tests}; do
|
|
||||||
mv "${S}"/Lib/test/test_${test}.py "${T}"
|
|
||||||
done
|
|
||||||
|
|
||||||
# bug 660358
|
|
||||||
local -x COLUMNS=80
|
|
||||||
local -x PYTHONDONTWRITEBYTECODE=
|
|
||||||
|
|
||||||
local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
|
|
||||||
|
|
||||||
emake test EXTRATESTOPTS="-u-network -j${jobs}" \
|
|
||||||
CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty
|
|
||||||
local result=$?
|
|
||||||
|
|
||||||
for test in ${skipped_tests}; do
|
|
||||||
mv "${T}/test_${test}.py" "${S}"/Lib/test
|
|
||||||
done
|
|
||||||
|
|
||||||
elog "The following tests have been skipped:"
|
|
||||||
for test in ${skipped_tests}; do
|
|
||||||
elog "test_${test}.py"
|
|
||||||
done
|
|
||||||
|
|
||||||
elog "If you would like to run them, you may:"
|
|
||||||
elog "cd '${EPREFIX}/usr/lib/python${PYVER}/test'"
|
|
||||||
elog "and run the tests separately."
|
|
||||||
|
|
||||||
if [[ ${result} -ne 0 ]]; then
|
|
||||||
die "emake test failed"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local libdir=${ED}/usr/lib/python${PYVER}
|
|
||||||
|
|
||||||
emake DESTDIR="${D}" altinstall
|
|
||||||
|
|
||||||
# Remove static library
|
|
||||||
rm "${ED}"/usr/$(get_libdir)/libpython*.a || die
|
|
||||||
|
|
||||||
sed \
|
|
||||||
-e "s/\(CONFIGURE_LDFLAGS=\).*/\1/" \
|
|
||||||
-e "s/\(PY_LDFLAGS=\).*/\1/" \
|
|
||||||
-i "${libdir}/config-${PYVER}"*/Makefile || die "sed failed"
|
|
||||||
|
|
||||||
# Fix collisions between different slots of Python.
|
|
||||||
rm "${ED}/usr/$(get_libdir)/libpython3.so" || die
|
|
||||||
|
|
||||||
# Cheap hack to get version with ABIFLAGS
|
|
||||||
local abiver=$(cd "${ED}/usr/include"; echo python*)
|
|
||||||
if [[ ${abiver} != python${PYVER} ]]; then
|
|
||||||
# Replace python3.X with a symlink to python3.Xm
|
|
||||||
rm "${ED}/usr/bin/python${PYVER}" || die
|
|
||||||
dosym "${abiver}" "/usr/bin/python${PYVER}"
|
|
||||||
# Create python3.X-config symlink
|
|
||||||
dosym "${abiver}-config" "/usr/bin/python${PYVER}-config"
|
|
||||||
# Create python-3.5m.pc symlink
|
|
||||||
dosym "python-${PYVER}.pc" "/usr/$(get_libdir)/pkgconfig/${abiver/${PYVER}/-${PYVER}}.pc"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# python seems to get rebuilt in src_install (bug 569908)
|
|
||||||
# Work around it for now.
|
|
||||||
if has_version dev-libs/libffi[pax_kernel]; then
|
|
||||||
pax-mark E "${ED}/usr/bin/${abiver}"
|
|
||||||
else
|
|
||||||
pax-mark m "${ED}/usr/bin/${abiver}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
use sqlite || rm -r "${libdir}/"{sqlite3,test/test_sqlite*} || die
|
|
||||||
use tk || rm -r "${ED}/usr/bin/idle${PYVER}" "${libdir}/"{idlelib,tkinter,test/test_tk*} || die
|
|
||||||
|
|
||||||
dodoc Misc/{ACKS,HISTORY,NEWS}
|
|
||||||
|
|
||||||
if use examples; then
|
|
||||||
docinto examples
|
|
||||||
find Tools -name __pycache__ -exec rm -fr {} + || die
|
|
||||||
dodoc -r Tools
|
|
||||||
fi
|
|
||||||
insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
|
|
||||||
local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \
|
|
||||||
emake --no-print-directory -s -f - 2>/dev/null)
|
|
||||||
newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py
|
|
||||||
|
|
||||||
newconfd "${FILESDIR}/pydoc.conf" pydoc-${PYVER}
|
|
||||||
newinitd "${FILESDIR}/pydoc.init" pydoc-${PYVER}
|
|
||||||
sed \
|
|
||||||
-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${PYVER/./_}_PORT:" \
|
|
||||||
-e "s:@PYDOC@:pydoc${PYVER}:" \
|
|
||||||
-i "${ED}/etc/conf.d/pydoc-${PYVER}" \
|
|
||||||
"${ED}/etc/init.d/pydoc-${PYVER}" || die "sed failed"
|
|
||||||
|
|
||||||
local -x EPYTHON=python${PYVER}
|
|
||||||
# if not using a cross-compiler, use the fresh binary
|
|
||||||
if ! tc-is-cross-compiler; then
|
|
||||||
local -x PYTHON=./python
|
|
||||||
local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}${PWD}
|
|
||||||
else
|
|
||||||
local -x PYTHON=${EPREFIX}/usr/bin/${EPYTHON}
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "EPYTHON='${EPYTHON}'" > epython.py || die
|
|
||||||
python_domodule epython.py
|
|
||||||
|
|
||||||
# python-exec wrapping support
|
|
||||||
local pymajor=${PYVER%.*}
|
|
||||||
local scriptdir=${D}$(python_get_scriptdir)
|
|
||||||
mkdir -p "${scriptdir}" || die
|
|
||||||
# python and pythonX
|
|
||||||
ln -s "../../../bin/${abiver}" \
|
|
||||||
"${scriptdir}/python${pymajor}" || die
|
|
||||||
ln -s "python${pymajor}" "${scriptdir}/python" || die
|
|
||||||
# python-config and pythonX-config
|
|
||||||
# note: we need to create a wrapper rather than symlinking it due
|
|
||||||
# to some random dirname(argv[0]) magic performed by python-config
|
|
||||||
cat > "${scriptdir}/python${pymajor}-config" <<-EOF || die
|
|
||||||
#!/bin/sh
|
|
||||||
exec "${abiver}-config" "\${@}"
|
|
||||||
EOF
|
|
||||||
chmod +x "${scriptdir}/python${pymajor}-config" || die
|
|
||||||
ln -s "python${pymajor}-config" \
|
|
||||||
"${scriptdir}/python-config" || die
|
|
||||||
# 2to3, pydoc
|
|
||||||
ln -s "../../../bin/2to3-${PYVER}" \
|
|
||||||
"${scriptdir}/2to3" || die
|
|
||||||
ln -s "../../../bin/pydoc${PYVER}" \
|
|
||||||
"${scriptdir}/pydoc" || die
|
|
||||||
# idle
|
|
||||||
if use tk; then
|
|
||||||
ln -s "../../../bin/idle${PYVER}" \
|
|
||||||
"${scriptdir}/idle" || die
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,352 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
WANT_LIBTOOL="none"
|
|
||||||
|
|
||||||
inherit autotools check-reqs flag-o-matic multiprocessing pax-utils \
|
|
||||||
python-utils-r1 toolchain-funcs verify-sig
|
|
||||||
|
|
||||||
MY_PV=${PV/_alpha/a}
|
|
||||||
MY_P="Python-${MY_PV%_p*}"
|
|
||||||
PYVER=$(ver_cut 1-2)
|
|
||||||
PATCHSET="python-gentoo-patches-${MY_PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="An interpreted, interactive, object-oriented programming language"
|
|
||||||
HOMEPAGE="https://www.python.org/"
|
|
||||||
SRC_URI="https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz
|
|
||||||
https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
|
|
||||||
verify-sig? (
|
|
||||||
https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc
|
|
||||||
)"
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
LICENSE="PSF-2"
|
|
||||||
SLOT="${PYVER}"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
|
||||||
IUSE="bluetooth build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test tk wininst +xml"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
# Do not add a dependency on dev-lang/python to this ebuild.
|
|
||||||
# If you need to apply a patch which requires python for bootstrapping, please
|
|
||||||
# run the bootstrap code on your dev box and include the results in the
|
|
||||||
# patchset. See bug 447752.
|
|
||||||
|
|
||||||
RDEPEND="app-arch/bzip2:=
|
|
||||||
app-arch/xz-utils:=
|
|
||||||
dev-libs/libffi:=
|
|
||||||
sys-apps/util-linux:=
|
|
||||||
>=sys-libs/zlib-1.1.3:=
|
|
||||||
virtual/libcrypt:=
|
|
||||||
virtual/libintl
|
|
||||||
gdbm? ( sys-libs/gdbm:=[berkdb] )
|
|
||||||
ncurses? ( >=sys-libs/ncurses-5.2:= )
|
|
||||||
readline? ( >=sys-libs/readline-4.1:= )
|
|
||||||
sqlite? ( >=dev-db/sqlite-3.3.8:3= )
|
|
||||||
ssl? (
|
|
||||||
!libressl? ( dev-libs/openssl:= )
|
|
||||||
libressl? ( dev-libs/libressl:= )
|
|
||||||
)
|
|
||||||
tk? (
|
|
||||||
>=dev-lang/tcl-8.0:=
|
|
||||||
>=dev-lang/tk-8.0:=
|
|
||||||
dev-tcltk/blt:=
|
|
||||||
dev-tcltk/tix
|
|
||||||
)
|
|
||||||
xml? ( >=dev-libs/expat-2.1:= )"
|
|
||||||
# bluetooth requires headers from bluez
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
bluetooth? ( net-wireless/bluez )
|
|
||||||
test? ( app-arch/xz-utils[extra-filters(+)] )"
|
|
||||||
# autoconf-archive needed to eautoreconf
|
|
||||||
BDEPEND="
|
|
||||||
sys-devel/autoconf-archive
|
|
||||||
virtual/pkgconfig
|
|
||||||
verify-sig? ( app-crypt/openpgp-keys-python )
|
|
||||||
!sys-devel/gcc[libffi(-)]"
|
|
||||||
PDEPEND="app-eselect/eselect-python"
|
|
||||||
RDEPEND+=" !build? ( app-misc/mime-types )"
|
|
||||||
|
|
||||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/python.org.asc
|
|
||||||
|
|
||||||
# large file tests involve a 2.5G file being copied (duplicated)
|
|
||||||
CHECKREQS_DISK_BUILD=5500M
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
use test && check-reqs_pkg_pretend
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
use test && check-reqs_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
if use verify-sig; then
|
|
||||||
verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc}
|
|
||||||
fi
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Ensure that internal copies of expat, libffi and zlib are not used.
|
|
||||||
rm -fr Modules/expat || die
|
|
||||||
rm -fr Modules/_ctypes/libffi* || die
|
|
||||||
rm -fr Modules/zlib || die
|
|
||||||
|
|
||||||
local PATCHES=(
|
|
||||||
"${WORKDIR}/${PATCHSET}"
|
|
||||||
)
|
|
||||||
|
|
||||||
default
|
|
||||||
|
|
||||||
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
|
|
||||||
setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
|
|
||||||
|
|
||||||
# force correct number of jobs
|
|
||||||
# https://bugs.gentoo.org/737660
|
|
||||||
local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
|
|
||||||
sed -i -e "s:-j0:-j${jobs}:" Makefile.pre.in || die
|
|
||||||
sed -i -e "/self\.parallel/s:True:${jobs}:" setup.py || die
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local disable
|
|
||||||
# disable automagic bluetooth headers detection
|
|
||||||
use bluetooth || export ac_cv_header_bluetooth_bluetooth_h=no
|
|
||||||
use gdbm || disable+=" gdbm"
|
|
||||||
use ncurses || disable+=" _curses _curses_panel"
|
|
||||||
use readline || disable+=" readline"
|
|
||||||
use sqlite || disable+=" _sqlite3"
|
|
||||||
use ssl || export PYTHON_DISABLE_SSL="1"
|
|
||||||
use tk || disable+=" _tkinter"
|
|
||||||
use xml || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
|
|
||||||
export PYTHON_DISABLE_MODULES="${disable}"
|
|
||||||
|
|
||||||
if ! use xml; then
|
|
||||||
ewarn "You have configured Python without XML support."
|
|
||||||
ewarn "This is NOT a recommended configuration as you"
|
|
||||||
ewarn "may face problems parsing any XML documents."
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
|
|
||||||
einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ "$(gcc-major-version)" -ge 4 ]]; then
|
|
||||||
append-flags -fwrapv
|
|
||||||
fi
|
|
||||||
|
|
||||||
filter-flags -malign-double
|
|
||||||
|
|
||||||
# https://bugs.gentoo.org/show_bug.cgi?id=50309
|
|
||||||
if is-flagq -O3; then
|
|
||||||
is-flagq -fstack-protector-all && replace-flags -O3 -O2
|
|
||||||
use hardened && replace-flags -O3 -O2
|
|
||||||
fi
|
|
||||||
|
|
||||||
# https://bugs.gentoo.org/700012
|
|
||||||
if is-flagq -flto || is-flagq '-flto=*'; then
|
|
||||||
append-cflags $(test-flags-CC -ffat-lto-objects)
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
|
|
||||||
tc-export CXX
|
|
||||||
|
|
||||||
# Fix implicit declarations on cross and prefix builds. Bug #674070.
|
|
||||||
use ncurses && append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw
|
|
||||||
|
|
||||||
local dbmliborder
|
|
||||||
if use gdbm; then
|
|
||||||
dbmliborder+="${dbmliborder:+:}gdbm"
|
|
||||||
fi
|
|
||||||
|
|
||||||
local myeconfargs=(
|
|
||||||
# glibc-2.30 removes it; since we can't cleanly force-rebuild
|
|
||||||
# Python on glibc upgrade, remove it proactively to give
|
|
||||||
# a chance for users rebuilding python before glibc
|
|
||||||
ac_cv_header_stropts_h=no
|
|
||||||
|
|
||||||
# disable use of vfork() for subprocess spawning as it is broken
|
|
||||||
# inside sandbox
|
|
||||||
# https://bugs.gentoo.org/774054
|
|
||||||
ac_cv_func_vfork=no
|
|
||||||
|
|
||||||
--enable-shared
|
|
||||||
--without-static-libpython
|
|
||||||
$(use_enable ipv6)
|
|
||||||
--infodir='${prefix}/share/info'
|
|
||||||
--mandir='${prefix}/share/man'
|
|
||||||
--with-computed-gotos
|
|
||||||
--with-dbmliborder="${dbmliborder}"
|
|
||||||
--with-libc=
|
|
||||||
--enable-loadable-sqlite-extensions
|
|
||||||
--without-ensurepip
|
|
||||||
--with-system-expat
|
|
||||||
--with-system-ffi
|
|
||||||
)
|
|
||||||
|
|
||||||
OPT="" econf "${myeconfargs[@]}"
|
|
||||||
|
|
||||||
if grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
|
|
||||||
eerror "configure has detected that the sem_open function is broken."
|
|
||||||
eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777."
|
|
||||||
die "Broken sem_open function (bug 496328)"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# Ensure sed works as expected
|
|
||||||
# https://bugs.gentoo.org/594768
|
|
||||||
local -x LC_ALL=C
|
|
||||||
|
|
||||||
emake CPPFLAGS= CFLAGS= LDFLAGS=
|
|
||||||
|
|
||||||
# Work around bug 329499. See also bug 413751 and 457194.
|
|
||||||
if has_version dev-libs/libffi[pax_kernel]; then
|
|
||||||
pax-mark E python
|
|
||||||
else
|
|
||||||
pax-mark m python
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# Tests will not work when cross compiling.
|
|
||||||
if tc-is-cross-compiler; then
|
|
||||||
elog "Disabling tests due to crosscompiling."
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Skip failing tests.
|
|
||||||
local skipped_tests="gdb"
|
|
||||||
|
|
||||||
for test in ${skipped_tests}; do
|
|
||||||
mv "${S}"/Lib/test/test_${test}.py "${T}"
|
|
||||||
done
|
|
||||||
|
|
||||||
# bug 660358
|
|
||||||
local -x COLUMNS=80
|
|
||||||
local -x PYTHONDONTWRITEBYTECODE=
|
|
||||||
|
|
||||||
local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
|
|
||||||
|
|
||||||
emake test EXTRATESTOPTS="-u-network -j${jobs}" \
|
|
||||||
CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty
|
|
||||||
local result=$?
|
|
||||||
|
|
||||||
for test in ${skipped_tests}; do
|
|
||||||
mv "${T}/test_${test}.py" "${S}"/Lib/test
|
|
||||||
done
|
|
||||||
|
|
||||||
elog "The following tests have been skipped:"
|
|
||||||
for test in ${skipped_tests}; do
|
|
||||||
elog "test_${test}.py"
|
|
||||||
done
|
|
||||||
|
|
||||||
elog "If you would like to run them, you may:"
|
|
||||||
elog "cd '${EPREFIX}/usr/lib/python${PYVER}/test'"
|
|
||||||
elog "and run the tests separately."
|
|
||||||
|
|
||||||
if [[ ${result} -ne 0 ]]; then
|
|
||||||
die "emake test failed"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local libdir=${ED}/usr/lib/python${PYVER}
|
|
||||||
|
|
||||||
emake DESTDIR="${D}" altinstall
|
|
||||||
|
|
||||||
sed \
|
|
||||||
-e "s/\(CONFIGURE_LDFLAGS=\).*/\1/" \
|
|
||||||
-e "s/\(PY_LDFLAGS=\).*/\1/" \
|
|
||||||
-i "${libdir}/config-${PYVER}"*/Makefile || die "sed failed"
|
|
||||||
|
|
||||||
# Fix collisions between different slots of Python.
|
|
||||||
rm "${ED}/usr/$(get_libdir)/libpython3.so" || die
|
|
||||||
|
|
||||||
# Cheap hack to get version with ABIFLAGS
|
|
||||||
local abiver=$(cd "${ED}/usr/include"; echo python*)
|
|
||||||
if [[ ${abiver} != python${PYVER} ]]; then
|
|
||||||
# Replace python3.X with a symlink to python3.Xm
|
|
||||||
rm "${ED}/usr/bin/python${PYVER}" || die
|
|
||||||
dosym "${abiver}" "/usr/bin/python${PYVER}"
|
|
||||||
# Create python3.X-config symlink
|
|
||||||
dosym "${abiver}-config" "/usr/bin/python${PYVER}-config"
|
|
||||||
# Create python-3.5m.pc symlink
|
|
||||||
dosym "python-${PYVER}.pc" "/usr/$(get_libdir)/pkgconfig/${abiver/${PYVER}/-${PYVER}}.pc"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# python seems to get rebuilt in src_install (bug 569908)
|
|
||||||
# Work around it for now.
|
|
||||||
if has_version dev-libs/libffi[pax_kernel]; then
|
|
||||||
pax-mark E "${ED}/usr/bin/${abiver}"
|
|
||||||
else
|
|
||||||
pax-mark m "${ED}/usr/bin/${abiver}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
use sqlite || rm -r "${libdir}/"{sqlite3,test/test_sqlite*} || die
|
|
||||||
use tk || rm -r "${ED}/usr/bin/idle${PYVER}" "${libdir}/"{idlelib,tkinter,test/test_tk*} || die
|
|
||||||
|
|
||||||
dodoc Misc/{ACKS,HISTORY,NEWS}
|
|
||||||
|
|
||||||
if use examples; then
|
|
||||||
docinto examples
|
|
||||||
find Tools -name __pycache__ -exec rm -fr {} + || die
|
|
||||||
dodoc -r Tools
|
|
||||||
fi
|
|
||||||
insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
|
|
||||||
local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \
|
|
||||||
emake --no-print-directory -s -f - 2>/dev/null)
|
|
||||||
newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py
|
|
||||||
|
|
||||||
newconfd "${FILESDIR}/pydoc.conf" pydoc-${PYVER}
|
|
||||||
newinitd "${FILESDIR}/pydoc.init" pydoc-${PYVER}
|
|
||||||
sed \
|
|
||||||
-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${PYVER/./_}_PORT:" \
|
|
||||||
-e "s:@PYDOC@:pydoc${PYVER}:" \
|
|
||||||
-i "${ED}/etc/conf.d/pydoc-${PYVER}" \
|
|
||||||
"${ED}/etc/init.d/pydoc-${PYVER}" || die "sed failed"
|
|
||||||
|
|
||||||
local -x EPYTHON=python${PYVER}
|
|
||||||
# if not using a cross-compiler, use the fresh binary
|
|
||||||
if ! tc-is-cross-compiler; then
|
|
||||||
local -x PYTHON=./python
|
|
||||||
local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}${PWD}
|
|
||||||
else
|
|
||||||
local -x PYTHON=${EPREFIX}/usr/bin/${EPYTHON}
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "EPYTHON='${EPYTHON}'" > epython.py || die
|
|
||||||
python_domodule epython.py
|
|
||||||
|
|
||||||
# python-exec wrapping support
|
|
||||||
local pymajor=${PYVER%.*}
|
|
||||||
local scriptdir=${D}$(python_get_scriptdir)
|
|
||||||
mkdir -p "${scriptdir}" || die
|
|
||||||
# python and pythonX
|
|
||||||
ln -s "../../../bin/${abiver}" \
|
|
||||||
"${scriptdir}/python${pymajor}" || die
|
|
||||||
ln -s "python${pymajor}" "${scriptdir}/python" || die
|
|
||||||
# python-config and pythonX-config
|
|
||||||
# note: we need to create a wrapper rather than symlinking it due
|
|
||||||
# to some random dirname(argv[0]) magic performed by python-config
|
|
||||||
cat > "${scriptdir}/python${pymajor}-config" <<-EOF || die
|
|
||||||
#!/bin/sh
|
|
||||||
exec "${abiver}-config" "\${@}"
|
|
||||||
EOF
|
|
||||||
chmod +x "${scriptdir}/python${pymajor}-config" || die
|
|
||||||
ln -s "python${pymajor}-config" \
|
|
||||||
"${scriptdir}/python-config" || die
|
|
||||||
# 2to3, pydoc
|
|
||||||
ln -s "../../../bin/2to3-${PYVER}" \
|
|
||||||
"${scriptdir}/2to3" || die
|
|
||||||
ln -s "../../../bin/pydoc${PYVER}" \
|
|
||||||
"${scriptdir}/pydoc" || die
|
|
||||||
# idle
|
|
||||||
if use tk; then
|
|
||||||
ln -s "../../../bin/idle${PYVER}" \
|
|
||||||
"${scriptdir}/idle" || die
|
|
||||||
fi
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue