parent
f2d57a1db1
commit
0d740691cb
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST kontrast-20.12.3.tar.xz 122468 BLAKE2B 4e29c034ba87781ffef03a37ecc7219eed488585bc47b0b3420950cdfe8fa92e9f4fd2a35dea76ac296318cb8c8be38fcf92061bca105fcfafa9dc9121afbabe SHA512 d6a4b60416f43bc1e9ba2539b13f33233c988417c7e8f05dd295d7e4946301943db9493123a07c48b0844c7aa55a22a3f1b898c3a00cccc6f6aae295d89d90c8
|
|
||||||
DIST kontrast-21.04.3.tar.xz 123764 BLAKE2B 8788b3b0e479b39a2065be61ae2e4fdc34c393a12be6547b596be1dd60fce8d3c8a98b2d7bb8ac7626c75570c92b52cd13cbfec1c61470c09abba931e5c7d7ab SHA512 fc966e28e790d49e2c87d45c506a7cf5170115f6528821f8634ab2e767ba725b9c6934cdfec5a308c751ff1b83fc59bea31dc50a462a81d71f47652a8b974e2a
|
DIST kontrast-21.04.3.tar.xz 123764 BLAKE2B 8788b3b0e479b39a2065be61ae2e4fdc34c393a12be6547b596be1dd60fce8d3c8a98b2d7bb8ac7626c75570c92b52cd13cbfec1c61470c09abba931e5c7d7ab SHA512 fc966e28e790d49e2c87d45c506a7cf5170115f6528821f8634ab2e767ba725b9c6934cdfec5a308c751ff1b83fc59bea31dc50a462a81d71f47652a8b974e2a
|
||||||
|
@ -1,34 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
KDE_RELEASE_SERVICE="true"
|
|
||||||
KFMIN=5.74.0
|
|
||||||
QTMIN=5.15.2
|
|
||||||
inherit ecm kde.org
|
|
||||||
|
|
||||||
DESCRIPTION="Tool to check contrast for colors to verify they are correctly accessible"
|
|
||||||
HOMEPAGE="https://apps.kde.org/kontrast/"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
|
||||||
SLOT="5"
|
|
||||||
KEYWORDS="amd64 arm64 x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
>=dev-qt/qtdbus-${QTMIN}:5
|
|
||||||
>=dev-qt/qtdeclarative-${QTMIN}:5
|
|
||||||
>=dev-qt/qtgui-${QTMIN}:5
|
|
||||||
>=dev-qt/qtquickcontrols2-${QTMIN}:5
|
|
||||||
>=dev-qt/qtsql-${QTMIN}:5
|
|
||||||
>=dev-qt/qtsvg-${QTMIN}:5
|
|
||||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
|
||||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kdeclarative-${KFMIN}:5
|
|
||||||
>=kde-frameworks/ki18n-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kirigami-${KFMIN}:5
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
kde-plasma/xdg-desktop-portal-kde
|
|
||||||
"
|
|
Binary file not shown.
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
|
||||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
|
||||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/aws-cli-${PV}"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm64 x86"
|
|
||||||
|
|
||||||
# botocore is x.(y+1).z
|
|
||||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
|
||||||
dev-python/colorama[${PYTHON_USEDEP}]
|
|
||||||
dev-python/docutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/rsa[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests --install nose
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/awscli-1.19.47-py39.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
# integration tests require AWS credentials and Internet access
|
|
||||||
nosetests -v tests/{functional,unit} ||
|
|
||||||
die "Tests failed for ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
newbashcomp bin/aws_bash_completer aws
|
|
||||||
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
newins bin/aws_zsh_completer.sh _aws
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
|
||||||
}
|
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
|
||||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
|
||||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/aws-cli-${PV}"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
|
|
||||||
# botocore is x.(y+1).z
|
|
||||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
|
||||||
dev-python/colorama[${PYTHON_USEDEP}]
|
|
||||||
dev-python/docutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/rsa[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests --install nose
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/awscli-1.19.47-py39.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
# integration tests require AWS credentials and Internet access
|
|
||||||
nosetests -v tests/{functional,unit} ||
|
|
||||||
die "Tests failed for ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
newbashcomp bin/aws_bash_completer aws
|
|
||||||
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
newins bin/aws_zsh_completer.sh _aws
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
|
||||||
}
|
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
|
||||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
|
||||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/aws-cli-${PV}"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
|
|
||||||
# botocore is x.(y+1).z
|
|
||||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
|
||||||
dev-python/colorama[${PYTHON_USEDEP}]
|
|
||||||
dev-python/docutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/rsa[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests --install nose
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/awscli-1.19.47-py39.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
# integration tests require AWS credentials and Internet access
|
|
||||||
nosetests -v tests/{functional,unit} ||
|
|
||||||
die "Tests failed for ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
newbashcomp bin/aws_bash_completer aws
|
|
||||||
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
newins bin/aws_zsh_completer.sh _aws
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
|
||||||
}
|
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
|
||||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
|
||||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/aws-cli-${PV}"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
|
|
||||||
# botocore is x.(y+1).z
|
|
||||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
|
||||||
dev-python/colorama[${PYTHON_USEDEP}]
|
|
||||||
dev-python/docutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/rsa[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests --install nose
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/awscli-1.19.47-py39.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
# integration tests require AWS credentials and Internet access
|
|
||||||
nosetests -v tests/{functional,unit} ||
|
|
||||||
die "Tests failed for ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
newbashcomp bin/aws_bash_completer aws
|
|
||||||
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
newins bin/aws_zsh_completer.sh _aws
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
|
||||||
}
|
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
|
||||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
|
||||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/aws-cli-${PV}"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
|
|
||||||
# botocore is x.(y+1).z
|
|
||||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
|
||||||
dev-python/colorama[${PYTHON_USEDEP}]
|
|
||||||
dev-python/docutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/rsa[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests --install nose
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/awscli-1.19.47-py39.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
# integration tests require AWS credentials and Internet access
|
|
||||||
nosetests -v tests/{functional,unit} ||
|
|
||||||
die "Tests failed for ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
newbashcomp bin/aws_bash_completer aws
|
|
||||||
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
newins bin/aws_zsh_completer.sh _aws
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
|
||||||
}
|
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
|
||||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
|
||||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/aws-cli-${PV}"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
|
|
||||||
# botocore is x.(y+1).z
|
|
||||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
|
||||||
dev-python/colorama[${PYTHON_USEDEP}]
|
|
||||||
dev-python/docutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/rsa[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests --install nose
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/awscli-1.19.47-py39.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
# integration tests require AWS credentials and Internet access
|
|
||||||
nosetests -v tests/{functional,unit} ||
|
|
||||||
die "Tests failed for ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
newbashcomp bin/aws_bash_completer aws
|
|
||||||
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
newins bin/aws_zsh_completer.sh _aws
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
|
||||||
}
|
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
|
||||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
|
||||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/aws-cli-${PV}"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
|
|
||||||
# botocore is x.(y+1).z
|
|
||||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
|
||||||
dev-python/colorama[${PYTHON_USEDEP}]
|
|
||||||
dev-python/docutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/rsa[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests --install nose
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/awscli-1.19.47-py39.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
# integration tests require AWS credentials and Internet access
|
|
||||||
nosetests -v tests/{functional,unit} ||
|
|
||||||
die "Tests failed for ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
newbashcomp bin/aws_bash_completer aws
|
|
||||||
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
newins bin/aws_zsh_completer.sh _aws
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
|
||||||
}
|
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
|
||||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
|
||||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/aws-cli-${PV}"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
|
|
||||||
# botocore is x.(y+1).z
|
|
||||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
|
||||||
dev-python/colorama[${PYTHON_USEDEP}]
|
|
||||||
dev-python/docutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/rsa[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests --install nose
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/awscli-1.19.47-py39.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
# integration tests require AWS credentials and Internet access
|
|
||||||
nosetests -v tests/{functional,unit} ||
|
|
||||||
die "Tests failed for ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
newbashcomp bin/aws_bash_completer aws
|
|
||||||
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
newins bin/aws_zsh_completer.sh _aws
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
|
||||||
}
|
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
|
||||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
|
||||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/aws-cli-${PV}"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
|
|
||||||
# botocore is x.(y+1).z
|
|
||||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
|
||||||
dev-python/colorama[${PYTHON_USEDEP}]
|
|
||||||
dev-python/docutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/rsa[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests --install nose
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/awscli-1.19.47-py39.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
# integration tests require AWS credentials and Internet access
|
|
||||||
nosetests -v tests/{functional,unit} ||
|
|
||||||
die "Tests failed for ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
newbashcomp bin/aws_bash_completer aws
|
|
||||||
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
newins bin/aws_zsh_completer.sh _aws
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
|
||||||
}
|
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
|
||||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
|
||||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/aws-cli-${PV}"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
|
|
||||||
# botocore is x.(y+1).z
|
|
||||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
|
||||||
dev-python/colorama[${PYTHON_USEDEP}]
|
|
||||||
dev-python/docutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/rsa[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests --install nose
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/awscli-1.19.47-py39.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
# integration tests require AWS credentials and Internet access
|
|
||||||
nosetests -v tests/{functional,unit} ||
|
|
||||||
die "Tests failed for ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
newbashcomp bin/aws_bash_completer aws
|
|
||||||
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
newins bin/aws_zsh_completer.sh _aws
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
|
||||||
}
|
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
|
||||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
|
||||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/aws-cli-${PV}"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
|
|
||||||
# botocore is x.(y+1).z
|
|
||||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
|
||||||
dev-python/colorama[${PYTHON_USEDEP}]
|
|
||||||
dev-python/docutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/rsa[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests --install nose
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/awscli-1.19.47-py39.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
# integration tests require AWS credentials and Internet access
|
|
||||||
nosetests -v tests/{functional,unit} ||
|
|
||||||
die "Tests failed for ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
newbashcomp bin/aws_bash_completer aws
|
|
||||||
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
newins bin/aws_zsh_completer.sh _aws
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
|
||||||
}
|
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
|
||||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
|
||||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/aws-cli-${PV}"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
|
|
||||||
# botocore is x.(y+1).z
|
|
||||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
|
||||||
dev-python/colorama[${PYTHON_USEDEP}]
|
|
||||||
dev-python/docutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/rsa[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests --install nose
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/awscli-1.19.47-py39.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
# integration tests require AWS credentials and Internet access
|
|
||||||
nosetests -v tests/{functional,unit} ||
|
|
||||||
die "Tests failed for ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
newbashcomp bin/aws_bash_completer aws
|
|
||||||
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
newins bin/aws_zsh_completer.sh _aws
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
|
||||||
}
|
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
|
||||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
|
||||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/aws-cli-${PV}"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
|
|
||||||
# botocore is x.(y+1).z
|
|
||||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
|
||||||
dev-python/colorama[${PYTHON_USEDEP}]
|
|
||||||
dev-python/docutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/rsa[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests --install nose
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/awscli-1.19.47-py39.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
# integration tests require AWS credentials and Internet access
|
|
||||||
nosetests -v tests/{functional,unit} ||
|
|
||||||
die "Tests failed for ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
newbashcomp bin/aws_bash_completer aws
|
|
||||||
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
newins bin/aws_zsh_completer.sh _aws
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
|
||||||
}
|
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
|
||||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
|
||||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/aws-cli-${PV}"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
|
|
||||||
# botocore is x.(y+1).z
|
|
||||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
|
||||||
dev-python/colorama[${PYTHON_USEDEP}]
|
|
||||||
dev-python/docutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/rsa[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests --install nose
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/awscli-1.19.47-py39.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
# integration tests require AWS credentials and Internet access
|
|
||||||
nosetests -v tests/{functional,unit} ||
|
|
||||||
die "Tests failed for ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
newbashcomp bin/aws_bash_completer aws
|
|
||||||
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
newins bin/aws_zsh_completer.sh _aws
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
|
||||||
}
|
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
|
||||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
|
||||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/aws-cli-${PV}"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
|
|
||||||
# botocore is x.(y+1).z
|
|
||||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
|
||||||
dev-python/colorama[${PYTHON_USEDEP}]
|
|
||||||
dev-python/docutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/rsa[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_tests --install nose
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/awscli-1.19.47-py39.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
# integration tests require AWS credentials and Internet access
|
|
||||||
nosetests -v tests/{functional,unit} ||
|
|
||||||
die "Tests failed for ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
newbashcomp bin/aws_bash_completer aws
|
|
||||||
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
newins bin/aws_zsh_completer.sh _aws
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
|
||||||
}
|
|
@ -0,0 +1,20 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{7..9} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Remove outdated built kernels"
|
||||||
|
HOMEPAGE="https://github.com/mgorny/eclean-kernel/"
|
||||||
|
SRC_URI="https://github.com/mgorny/eclean-kernel/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="kernel_linux? ( dev-python/pymountboot[${PYTHON_USEDEP}] )"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
@ -1 +1 @@
|
|||||||
DIST exo-1.38.0.tar.gz 5233640 BLAKE2B 11a0500690a5d9efe35d34b9f562265fb8ecee2d4d8e15c37ec4c2b99f1a5665120bffd5a8359e61c0763db530a3d3141deb08083b8289785e834861ba728b04 SHA512 f509eeacf1266893c8a3e4e09556987e33a533c1ebc64b6d39d7bd801fa5e11a6d8875c4111e760309ac6be0a6dbdcbcc227d0b4804c8f04e9d094c44ee9d0dd
|
DIST exo-1.39.0.tar.gz 5484733 BLAKE2B caf4cb13254ef3d6489358cbd95cb5c2f0e87ca51f0fc8d5f4eef8923937d9481276d56aa6df23713b0ca37ff3939f1fc02b1c9eda7a34b369ac00e74f8ede18 SHA512 0c933d97d14fd15f6fe1f1059aa81473d3e29c15dd5e506958113287fa9488d761c736a828dd6e0aedb907f9724f2b6d591e0cce1f17434b8abe2d32c1c96bcd
|
||||||
|
@ -1,3 +1 @@
|
|||||||
DIST mcelog-175.tar.gz 315350 BLAKE2B a324af0f4961fb0f6f2af1b198e07a34c24fb5874edd550ca9bdfe452d84cf48d9565530a290a3cdba51eb4ad57f3bbe3d3c9b2beb6d3411195d6dccdb9dfd64 SHA512 992789817a3963a3f118121149bf9b217609f54d85a71c2adb671728cf04777ccb062033df68793afff5fb6a0080b50b4e6fa89cbcd0970d92ca4246155ea13a
|
|
||||||
DIST mcelog-177.tar.gz 315474 BLAKE2B 8c6920b01ba836460067f322a17e5a69c2a9a447127ae583ddd151f3cd290aca039a63e95601789cd71c4ef75d4213e39918e08b600aeda3e06bb800119209c5 SHA512 b73d103c7b326e6aa2cb22a05b7df29e24f5b8f9e564a9d2d05627e0af80ee581d62b422e35a68cf3e43a3e1aaf905cccb08a65286c9f77c8c8c2ac41e880fbf
|
|
||||||
DIST mcelog-178.tar.gz 315460 BLAKE2B 65d424f70c615a694dfb18a0d7049965280141858a2c527fbe1db806d675785a0edba161dd6ac4bf6660e1bb2334d394f98bc85058c17d79b2c25106297ae95e SHA512 f024908c877b489148e23bbb8b34d587d1b88e13e43bb401b4594eafb577a24a4b478fd4aa7e221d2d9e633b509b641123418dc36a52425193083d26d2ca60bb
|
DIST mcelog-178.tar.gz 315460 BLAKE2B 65d424f70c615a694dfb18a0d7049965280141858a2c527fbe1db806d675785a0edba161dd6ac4bf6660e1bb2334d394f98bc85058c17d79b2c25106297ae95e SHA512 f024908c877b489148e23bbb8b34d587d1b88e13e43bb401b4594eafb577a24a4b478fd4aa7e221d2d9e633b509b641123418dc36a52425193083d26d2ca60bb
|
||||||
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit linux-info systemd toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="A tool to log and decode Machine Check Exceptions"
|
|
||||||
HOMEPAGE="http://mcelog.org/"
|
|
||||||
SRC_URI="https://github.com/andikleen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
IUSE="selinux"
|
|
||||||
|
|
||||||
RDEPEND="selinux? ( sec-policy/selinux-mcelog )"
|
|
||||||
|
|
||||||
# TODO: add mce-inject to the tree to support test phase
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
if [[ ${MERGE_TYPE} != buildonly ]]; then
|
|
||||||
local CONFIG_CHECK="~X86_MCE"
|
|
||||||
kernel_is -ge 4 12 && CONFIG_CHECK+=" ~X86_MCELOG_LEGACY"
|
|
||||||
check_extra_config
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
eapply "${FILESDIR}"/${PN}-0.8_pre1-timestamp-${PN}.patch \
|
|
||||||
"${FILESDIR}"/${PN}-129-debugflags.patch
|
|
||||||
eapply_user
|
|
||||||
tc-export CC
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
insinto /etc/cron.daily
|
|
||||||
newins ${PN}.cron ${PN}
|
|
||||||
|
|
||||||
insinto /etc/logrotate.d/
|
|
||||||
newins ${PN}.logrotate ${PN}
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
|
|
||||||
systemd_dounit ${PN}.service
|
|
||||||
|
|
||||||
dodoc *.pdf
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
einfo "The default configuration set is now installed in /etc/${PN}"
|
|
||||||
einfo "you might want to edit those files."
|
|
||||||
einfo
|
|
||||||
einfo "A sample cronjob is installed into /etc/cron.daily"
|
|
||||||
einfo "without executable bit (system service is the preferred method now)"
|
|
||||||
}
|
|
@ -1,52 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit linux-info systemd toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="A tool to log and decode Machine Check Exceptions"
|
|
||||||
HOMEPAGE="http://mcelog.org/"
|
|
||||||
SRC_URI="https://github.com/andikleen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="selinux"
|
|
||||||
|
|
||||||
RDEPEND="selinux? ( sec-policy/selinux-mcelog )"
|
|
||||||
|
|
||||||
# TODO: add mce-inject to the tree to support test phase
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
if [[ ${MERGE_TYPE} != buildonly ]]; then
|
|
||||||
local CONFIG_CHECK="~X86_MCE"
|
|
||||||
kernel_is -ge 4 12 && CONFIG_CHECK+=" ~X86_MCELOG_LEGACY"
|
|
||||||
check_extra_config
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
eapply "${FILESDIR}"/${PN}-0.8_pre1-timestamp-${PN}.patch \
|
|
||||||
"${FILESDIR}"/${PN}-129-debugflags.patch
|
|
||||||
eapply_user
|
|
||||||
tc-export CC
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
insinto /etc/logrotate.d/
|
|
||||||
newins ${PN}.logrotate ${PN}
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
|
|
||||||
systemd_dounit ${PN}.service
|
|
||||||
|
|
||||||
dodoc *.pdf
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
einfo "The default configuration set is now installed in /etc/${PN}"
|
|
||||||
einfo "you might want to edit those files."
|
|
||||||
}
|
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit linux-info systemd toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="A tool to log and decode Machine Check Exceptions"
|
|
||||||
HOMEPAGE="http://mcelog.org/"
|
|
||||||
SRC_URI="https://github.com/andikleen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="selinux"
|
|
||||||
|
|
||||||
RDEPEND="selinux? ( sec-policy/selinux-mcelog )"
|
|
||||||
|
|
||||||
# TODO: add mce-inject to the tree to support test phase
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
if [[ ${MERGE_TYPE} != buildonly ]]; then
|
|
||||||
local CONFIG_CHECK="~X86_MCE"
|
|
||||||
kernel_is -ge 4 12 && CONFIG_CHECK+=" ~X86_MCELOG_LEGACY"
|
|
||||||
check_extra_config
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
eapply "${FILESDIR}"/${PN}-0.8_pre1-timestamp-${PN}.patch \
|
|
||||||
"${FILESDIR}"/${PN}-129-debugflags.patch
|
|
||||||
eapply_user
|
|
||||||
tc-export CC
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
insinto /etc/cron.daily
|
|
||||||
newins ${PN}.cron ${PN}
|
|
||||||
|
|
||||||
insinto /etc/logrotate.d/
|
|
||||||
newins ${PN}.logrotate ${PN}
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
|
|
||||||
systemd_dounit ${PN}.service
|
|
||||||
|
|
||||||
dodoc *.pdf
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
einfo "The default configuration set is now installed in /etc/${PN}"
|
|
||||||
einfo "you might want to edit those files."
|
|
||||||
einfo
|
|
||||||
einfo "A sample cronjob is installed into /etc/cron.daily"
|
|
||||||
einfo "without executable bit (system service is the preferred method now)"
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST dolphin-plugins-20.12.3.tar.xz 239340 BLAKE2B 141e5d2bb6190edaef98cec2a271e41b916966118300d69f4eb5e7da15e51730476f23a20312b76fca0fc1490501e83528b4f0cb62f9f6c64e4caf5ac5b2cd37 SHA512 1d5303e92d912bc80c5260263b081205d36372f1f15205ebd3e705697a114f8481edd1ad31004d7906c3088d43a74cb1e33dac6e1196c247e702a544d67db11b
|
|
||||||
DIST dolphin-plugins-21.04.3.tar.xz 253244 BLAKE2B c5c0e302dfc4eb82e2de1a635824bf8fd2c70bcac65c261253f0e52e7d9242fa339fe2dc619b927b0379477b2c80a22ec210080af8f2370e0a0182af3347df6a SHA512 e4beba0d596782951b149d42e930d76b12a36bea83f35eb0cff9e49b3e02d4b2aa55f4245d4b8708044a49770d477badc964752828eef4caeaefd4f16e5f9dad
|
DIST dolphin-plugins-21.04.3.tar.xz 253244 BLAKE2B c5c0e302dfc4eb82e2de1a635824bf8fd2c70bcac65c261253f0e52e7d9242fa339fe2dc619b927b0379477b2c80a22ec210080af8f2370e0a0182af3347df6a SHA512 e4beba0d596782951b149d42e930d76b12a36bea83f35eb0cff9e49b3e02d4b2aa55f4245d4b8708044a49770d477badc964752828eef4caeaefd4f16e5f9dad
|
||||||
|
@ -1,69 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
ECM_HANDBOOK="false"
|
|
||||||
KDE_RELEASE_SERVICE="true"
|
|
||||||
KDE_ORG_CATEGORY="sdk"
|
|
||||||
KDE_ORG_NAME="dolphin-plugins"
|
|
||||||
MY_PLUGIN_NAME="mountiso"
|
|
||||||
KFMIN=5.75.0
|
|
||||||
PVCUT=$(ver_cut 1-3)
|
|
||||||
QTMIN=5.15.2
|
|
||||||
inherit ecm kde.org
|
|
||||||
|
|
||||||
DESCRIPTION="Dolphin plugin for ISO loopback device mounting"
|
|
||||||
HOMEPAGE="https://apps.kde.org/dolphin_plugins/"
|
|
||||||
|
|
||||||
LICENSE="GPL-2" # TODO: CHECK
|
|
||||||
SLOT="5"
|
|
||||||
KEYWORDS="amd64 arm64 ~ppc64 x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
>=dev-qt/qtdbus-${QTMIN}:5
|
|
||||||
>=dev-qt/qtgui-${QTMIN}:5
|
|
||||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
|
||||||
>=kde-apps/dolphin-${PVCUT}:5
|
|
||||||
>=kde-frameworks/kcompletion-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kconfig-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
|
||||||
>=kde-frameworks/ki18n-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kio-${KFMIN}:5
|
|
||||||
>=kde-frameworks/ktextwidgets-${KFMIN}:5
|
|
||||||
>=kde-frameworks/solid-${KFMIN}:5
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${P}-dont-mount-ISO-multiple-times.patch" # KDE-bug 434617
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
ecm_src_prepare
|
|
||||||
# kxmlgui, qtnetwork only required by dropbox
|
|
||||||
ecm_punt_bogus_dep Qt5 Network
|
|
||||||
ecm_punt_bogus_dep KF5 XmlGui
|
|
||||||
# delete non-${PN} translations
|
|
||||||
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
|
||||||
find po -type f -name "*po" -and -not -name "*${MY_PLUGIN_NAME}plugin" -delete || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DBUILD_${MY_PLUGIN_NAME}=ON
|
|
||||||
-DBUILD_bazaar=OFF
|
|
||||||
-DBUILD_dropbox=OFF
|
|
||||||
-DBUILD_git=OFF
|
|
||||||
-DBUILD_hg=OFF
|
|
||||||
-DBUILD_svn=OFF
|
|
||||||
)
|
|
||||||
ecm_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
ecm_src_install
|
|
||||||
rm "${D}"/usr/share/metainfo/org.kde.dolphin-plugins.metainfo.xml || die
|
|
||||||
}
|
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST xca-2.1.2.tar.gz 1086563 BLAKE2B d48727fffad16d840633af6e0ee38a279978a5b865eb6f391a3d852a0105817254ea0a4780875f2956e1f7e9931e6930c6ffbe82b117dbf8ad0058ec9d6f5c88 SHA512 1f104a22b83b802576b4820b7139971da50f9b3dd70aca8e1199e996bad4379b8681bb31b197b84a3dfa49cef4ae093f6622d15fac9667547ff47af43c1e5f07
|
DIST xca-2.1.2.tar.gz 1086563 BLAKE2B d48727fffad16d840633af6e0ee38a279978a5b865eb6f391a3d852a0105817254ea0a4780875f2956e1f7e9931e6930c6ffbe82b117dbf8ad0058ec9d6f5c88 SHA512 1f104a22b83b802576b4820b7139971da50f9b3dd70aca8e1199e996bad4379b8681bb31b197b84a3dfa49cef4ae093f6622d15fac9667547ff47af43c1e5f07
|
||||||
DIST xca-2.3.0.tar.gz 1354154 BLAKE2B 31a4ac96819e8d2f7e5f623cc343f0cbff18c931ed0699dbe093dcb963c3431a3943c4dcd8f3d727896104c05a565d062b9678169bf2a8d3f7cf7748c311b53b SHA512 35522aa308e1022a739f3255f13fcf63f481000f9b7411027a009a185e33ddceeb5cf9b55406a4899d2393c7e5ace10354ff24b3b2b0c3045d110f679756b0b8
|
DIST xca-2.3.0.tar.gz 1354154 BLAKE2B 31a4ac96819e8d2f7e5f623cc343f0cbff18c931ed0699dbe093dcb963c3431a3943c4dcd8f3d727896104c05a565d062b9678169bf2a8d3f7cf7748c311b53b SHA512 35522aa308e1022a739f3255f13fcf63f481000f9b7411027a009a185e33ddceeb5cf9b55406a4899d2393c7e5ace10354ff24b3b2b0c3045d110f679756b0b8
|
||||||
|
DIST xca-2.4.0.tar.gz 1778572 BLAKE2B 2e90ef264dc53019cc37700b37d5eb0c48904ca371ae1ce0cfe2ad61be8765951ea918d356c1f2764e73d846693a66c903cba1381df5d1a588aae8bb45f8c195 SHA512 e93e2cf9dc48ed43ee9b51e977f825d81ff08835eb4d77fcbe8f9dc8ce31c77c1da879b48c25ab535717542d1fe84faa6e46c410c116edbee02072040c59667c
|
||||||
|
@ -0,0 +1,29 @@
|
|||||||
|
--- a/doc/Makefile 2021-05-07 22:40:29.000000000 +0200
|
||||||
|
+++ b/doc/Makefile 2021-08-11 07:29:33.794844656 +0200
|
||||||
|
@@ -12,16 +12,12 @@
|
||||||
|
|
||||||
|
SPHINX_FILES=$(patsubst %,sphinx/%.rst,$(RST_FILES))
|
||||||
|
|
||||||
|
-.build-stamp doc: xca.1.gz html/index.html qthelp/xca.qhc
|
||||||
|
+.build-stamp doc: xca.1 html/index.html qthelp/xca.qhc
|
||||||
|
qthelpfiles=qthelp/*.html qthelp/xca.qhc qthelp/xca.qch
|
||||||
|
.install-stamp: doc
|
||||||
|
|
||||||
|
include $(TOPDIR)/Rules.mak
|
||||||
|
|
||||||
|
-%.1.gz: %.1
|
||||||
|
- @$(PRINT) " MAN [$(BASENAME)] $@"
|
||||||
|
- gzip -9 <$^ >$@
|
||||||
|
-
|
||||||
|
xca.1: xca.1.head xca.1.options xca.1.tail
|
||||||
|
cat $^ > $@
|
||||||
|
|
||||||
|
@@ -43,7 +39,7 @@
|
||||||
|
$(ENABLE_DOC)install -m 755 -d $(DESTDIR)$(htmldir)
|
||||||
|
$(ENABLE_DOC)install -m 644 $(qthelpfiles) $(DESTDIR)$(htmldir)
|
||||||
|
install -m 755 -d $(DESTDIR)$(mandir)/man1
|
||||||
|
- install -m 644 *.1.gz $(DESTDIR)/$(mandir)/man1
|
||||||
|
+ install -m 644 *.1 $(DESTDIR)/$(mandir)/man1
|
||||||
|
|
||||||
|
app: $(doc)
|
||||||
|
mkdir -p $(APPDIR)/Resources
|
@ -0,0 +1,70 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="8"
|
||||||
|
|
||||||
|
inherit xdg-utils
|
||||||
|
|
||||||
|
DESCRIPTION="A GUI to OpenSSL, RSA public keys, certificates, signing requests etc"
|
||||||
|
HOMEPAGE="https://hohnstaedt.de/xca/"
|
||||||
|
SRC_URI="https://github.com/chris2511/${PN}/releases/download/RELEASE.${PV}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||||
|
IUSE="bindist doc"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-libs/libltdl:0=
|
||||||
|
dev-qt/qtgui:5
|
||||||
|
dev-qt/qtsql:5[sqlite]
|
||||||
|
dev-qt/qtwidgets:5
|
||||||
|
>=dev-libs/openssl-1.1.0:0=[bindist(-)=]
|
||||||
|
doc? ( app-text/linuxdoc-tools )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-qt/linguist-tools:5"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-1.0.0-desktop.patch"
|
||||||
|
"${FILESDIR}/${P}-bug-733000.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
--with-qt-version=5 \
|
||||||
|
$(use_enable doc) \
|
||||||
|
STRIP=true
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed '/^CFLAGS/s@-O2 -ggdb@@' -i Local.mak.in || die
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# enforce all to avoid the automatic silent rules
|
||||||
|
emake all
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
insinto /etc/xca
|
||||||
|
doins misc/*.txt
|
||||||
|
|
||||||
|
ewarn "Make a backup copy of your database!"
|
||||||
|
ewarn "Version 2 completely changes the database format to SQL(ite)"
|
||||||
|
ewarn "Don't try to open it with older versions of XCA (< 1.4.0). They will corrupt the database."
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_icon_cache_update
|
||||||
|
xdg_desktop_database_update
|
||||||
|
xdg_mimeinfo_database_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_icon_cache_update
|
||||||
|
xdg_desktop_database_update
|
||||||
|
xdg_mimeinfo_database_update
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,207 @@
|
|||||||
|
https://bugs.gentoo.org/786738
|
||||||
|
|
||||||
|
From 84c34bc1b09ba85a66924ba50a6a33fa59d159f3 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Sam James <sam@gentoo.org>
|
||||||
|
Date: Wed, 11 Aug 2021 20:32:40 +0100
|
||||||
|
Subject: [PATCH] Drop dynamic exceptions for C++17
|
||||||
|
|
||||||
|
---
|
||||||
|
KasumiConfiguration.cxx | 17 ++++++-----------
|
||||||
|
KasumiConfiguration.hxx | 13 ++++++-------
|
||||||
|
KasumiDic.cxx | 7 ++-----
|
||||||
|
KasumiDic.hxx | 9 ++++-----
|
||||||
|
KasumiWord.cxx | 6 ++----
|
||||||
|
KasumiWord.hxx | 6 ++----
|
||||||
|
6 files changed, 22 insertions(+), 36 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/KasumiConfiguration.cxx b/KasumiConfiguration.cxx
|
||||||
|
index 98a857b..543ea7c 100644
|
||||||
|
--- a/KasumiConfiguration.cxx
|
||||||
|
+++ b/KasumiConfiguration.cxx
|
||||||
|
@@ -57,8 +57,7 @@ using namespace std;
|
||||||
|
// 3. If the setting may be set by command line arguments, add some routines
|
||||||
|
// to loadConfigurationFromArgument method
|
||||||
|
|
||||||
|
-KasumiConfiguration::KasumiConfiguration(int argc, char *argv[])
|
||||||
|
- throw(KasumiException){
|
||||||
|
+KasumiConfiguration::KasumiConfiguration(int argc, char *argv[]){
|
||||||
|
|
||||||
|
try{
|
||||||
|
loadDefaultProperties();
|
||||||
|
@@ -87,7 +86,7 @@ KasumiConfiguration::~KasumiConfiguration(){
|
||||||
|
saveConfiguration();
|
||||||
|
}
|
||||||
|
|
||||||
|
-void KasumiConfiguration::loadDefaultProperties() throw(KasumiException){
|
||||||
|
+void KasumiConfiguration::loadDefaultProperties(){
|
||||||
|
char *home = getenv("HOME");
|
||||||
|
if(home == NULL){
|
||||||
|
throw KasumiException(string("Cannot find $HOME environment variable."),
|
||||||
|
@@ -123,8 +122,7 @@ void KasumiConfiguration::loadDefaultProperties() throw(KasumiException){
|
||||||
|
#endif // HAS_ANTHY_DICUTIL_SET_ENCODING
|
||||||
|
}
|
||||||
|
|
||||||
|
-void KasumiConfiguration::loadConfigurationFromArgument(int argc, char *argv[])
|
||||||
|
- throw(KasumiException){
|
||||||
|
+void KasumiConfiguration::loadConfigurationFromArgument(int argc, char *argv[]){
|
||||||
|
int option_index = 0;
|
||||||
|
static struct option long_options[] = {
|
||||||
|
{"help", no_argument, NULL, 'h'},
|
||||||
|
@@ -214,8 +212,7 @@ void KasumiConfiguration::loadConfigurationFromArgument(int argc, char *argv[])
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
-void KasumiConfiguration::loadConfigurationFile()
|
||||||
|
- throw(KasumiException){
|
||||||
|
+void KasumiConfiguration::loadConfigurationFile(){
|
||||||
|
|
||||||
|
int line = 0;
|
||||||
|
string Contents = string();
|
||||||
|
@@ -247,13 +244,11 @@ void KasumiConfiguration::loadConfigurationFile()
|
||||||
|
}
|
||||||
|
|
||||||
|
// ToDo: implement saveConfiguration method
|
||||||
|
-void KasumiConfiguration::saveConfiguration()
|
||||||
|
- throw(KasumiException){
|
||||||
|
+void KasumiConfiguration::saveConfiguration(){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
-void KasumiConfiguration::checkValidity()
|
||||||
|
- throw(KasumiException){
|
||||||
|
+void KasumiConfiguration::checkValidity(){
|
||||||
|
|
||||||
|
if(config[string("StartupMode")] != string("MANAGE") &&
|
||||||
|
config[string("StartupMode")] != string("ADD") &&
|
||||||
|
diff --git a/KasumiConfiguration.hxx b/KasumiConfiguration.hxx
|
||||||
|
index b42c5f6..2dc7524 100644
|
||||||
|
--- a/KasumiConfiguration.hxx
|
||||||
|
+++ b/KasumiConfiguration.hxx
|
||||||
|
@@ -38,16 +38,15 @@ private:
|
||||||
|
map<string, string> config;
|
||||||
|
string ConfFileName;
|
||||||
|
|
||||||
|
- void loadDefaultProperties() throw(KasumiException);
|
||||||
|
- void loadConfigurationFile() throw (KasumiException);
|
||||||
|
- void loadConfigurationFromArgument(int argc, char *argv[])
|
||||||
|
- throw(KasumiException);
|
||||||
|
- void saveConfiguration() throw (KasumiException);
|
||||||
|
+ void loadDefaultProperties();
|
||||||
|
+ void loadConfigurationFile();
|
||||||
|
+ void loadConfigurationFromArgument(int argc, char *argv[]);
|
||||||
|
+ void saveConfiguration();
|
||||||
|
|
||||||
|
void setPropertyValue(const string &name, const string &value);
|
||||||
|
- void checkValidity() throw(KasumiException);
|
||||||
|
+ void checkValidity();
|
||||||
|
public:
|
||||||
|
- KasumiConfiguration(int argc, char *argv[]) throw (KasumiException);
|
||||||
|
+ KasumiConfiguration(int argc, char *argv[]);
|
||||||
|
~KasumiConfiguration();
|
||||||
|
string getPropertyValue(const string &name);
|
||||||
|
int getPropertyValueByInt(const string &name);
|
||||||
|
diff --git a/KasumiDic.cxx b/KasumiDic.cxx
|
||||||
|
index 291123b..19e88b4 100644
|
||||||
|
--- a/KasumiDic.cxx
|
||||||
|
+++ b/KasumiDic.cxx
|
||||||
|
@@ -46,8 +46,7 @@ using namespace std;
|
||||||
|
#define OptionOutput( Word, OptionName ) (string(OptionName) + " = " + (Word->getOption(OptionName) ? "y" : "n"))
|
||||||
|
#define BUFFER_SIZE (255)
|
||||||
|
|
||||||
|
-KasumiDic::KasumiDic(KasumiConfiguration *conf)
|
||||||
|
- throw(KasumiException){
|
||||||
|
+KasumiDic::KasumiDic(KasumiConfiguration *conf){
|
||||||
|
|
||||||
|
try{
|
||||||
|
load(conf);
|
||||||
|
@@ -68,8 +67,7 @@ KasumiDic::~KasumiDic()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
-void KasumiDic::load(KasumiConfiguration *conf)
|
||||||
|
- throw(KasumiException){
|
||||||
|
+void KasumiDic::load(KasumiConfiguration *conf){
|
||||||
|
|
||||||
|
const int FREQ_LBOUND = conf->getPropertyValueByInt("MinFrequency");
|
||||||
|
const int FREQ_UBOUND = conf->getPropertyValueByInt("MaxFrequency");
|
||||||
|
@@ -176,7 +174,6 @@ void KasumiDic::removeWord(unsigned int id)
|
||||||
|
}
|
||||||
|
|
||||||
|
void KasumiDic::store()
|
||||||
|
- throw(KasumiException)
|
||||||
|
{
|
||||||
|
list<KasumiWord*>::iterator p = mWordList.begin();
|
||||||
|
|
||||||
|
diff --git a/KasumiDic.hxx b/KasumiDic.hxx
|
||||||
|
index 20cc6b8..e487dca 100644
|
||||||
|
--- a/KasumiDic.hxx
|
||||||
|
+++ b/KasumiDic.hxx
|
||||||
|
@@ -49,12 +49,11 @@ private:
|
||||||
|
list<KasumiWord*> mWordList;
|
||||||
|
vector<KasumiDicEventListener*> EventListeners;
|
||||||
|
|
||||||
|
- void load(KasumiConfiguration *conf) throw (KasumiException);
|
||||||
|
+ void load(KasumiConfiguration *conf);
|
||||||
|
public:
|
||||||
|
- KasumiDic(KasumiConfiguration *conf)
|
||||||
|
- throw(KasumiException);
|
||||||
|
+ KasumiDic(KasumiConfiguration *conf);
|
||||||
|
~KasumiDic();
|
||||||
|
- void store() throw(KasumiException);
|
||||||
|
+ void store();
|
||||||
|
void appendWord(KasumiWord *word); // returns this word's ID
|
||||||
|
void removeWord(unsigned int id);
|
||||||
|
|
||||||
|
@@ -69,7 +68,7 @@ public:
|
||||||
|
void changedSound(KasumiWord *word);
|
||||||
|
void changedWordType(KasumiWord *word);
|
||||||
|
|
||||||
|
-// KasumiWord *getWordWithID(unsigned int id) throw(KasumiException);
|
||||||
|
+// KasumiWord *getWordWithID(unsigned int id);
|
||||||
|
// int getUpperBoundOfWordID();
|
||||||
|
};
|
||||||
|
|
||||||
|
diff --git a/KasumiWord.cxx b/KasumiWord.cxx
|
||||||
|
index 650f97d..18e53f2 100644
|
||||||
|
--- a/KasumiWord.cxx
|
||||||
|
+++ b/KasumiWord.cxx
|
||||||
|
@@ -177,8 +177,7 @@ KasumiWord* KasumiWord::createNewWord(KasumiConfiguration *conf)
|
||||||
|
return word;
|
||||||
|
}
|
||||||
|
|
||||||
|
-void KasumiWord::setSound(const string &aSound)
|
||||||
|
- throw(KasumiException){
|
||||||
|
+void KasumiWord::setSound(const string &aSound){
|
||||||
|
|
||||||
|
if(aSound == Sound)
|
||||||
|
return;
|
||||||
|
@@ -201,8 +200,7 @@ void KasumiWord::setSound(const string &aSound)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
-void KasumiWord::setSoundByUTF8(const string &aSound)
|
||||||
|
- throw(KasumiException){
|
||||||
|
+void KasumiWord::setSoundByUTF8(const string &aSound){
|
||||||
|
|
||||||
|
if(aSound == Sound_UTF8)
|
||||||
|
return;
|
||||||
|
diff --git a/KasumiWord.hxx b/KasumiWord.hxx
|
||||||
|
index 25c6f8c..a54829d 100644
|
||||||
|
--- a/KasumiWord.hxx
|
||||||
|
+++ b/KasumiWord.hxx
|
||||||
|
@@ -69,10 +69,8 @@ public:
|
||||||
|
static KasumiWord* createNewWord(KasumiConfiguration *conf);
|
||||||
|
|
||||||
|
// property functions
|
||||||
|
- void setSound(const string &aSound)
|
||||||
|
- throw(KasumiException);
|
||||||
|
- void setSoundByUTF8(const string &aSound)
|
||||||
|
- throw(KasumiException);
|
||||||
|
+ void setSound(const string &aSound);
|
||||||
|
+ void setSoundByUTF8(const string &aSound);
|
||||||
|
string getSound(){ return Sound; };
|
||||||
|
string getSoundByUTF8(){ return Sound_UTF8; };
|
||||||
|
|
||||||
|
--
|
||||||
|
2.32.0
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,5 +1,4 @@
|
|||||||
DIST asio-1.10.8.tar.bz2 1270332 BLAKE2B 97e4a6a7c8b4562f10af1d122e9b08c12d567fd0447d1951a907f47f77832dcd42df4cb9b5b392feaaa2ea7c79d8bedfcf12e3052957ec012d8bb6b4d1347eb5 SHA512 d870686d2b19bec9925c311f2f0fd370e9797bbad252176a80a998f9c322ecd502b5081826105712e7caf87c03c3e6b70a0e219019e5bff46077d6e8c3c6db09
|
DIST asio-1.10.8.tar.bz2 1270332 BLAKE2B 97e4a6a7c8b4562f10af1d122e9b08c12d567fd0447d1951a907f47f77832dcd42df4cb9b5b392feaaa2ea7c79d8bedfcf12e3052957ec012d8bb6b4d1347eb5 SHA512 d870686d2b19bec9925c311f2f0fd370e9797bbad252176a80a998f9c322ecd502b5081826105712e7caf87c03c3e6b70a0e219019e5bff46077d6e8c3c6db09
|
||||||
DIST asio-1.17.0.tar.bz2 1694631 BLAKE2B 0463355eef1714604290be43247139ea0220c5614c3c280ccf6049b64a2bb920c9eb885cf5f00c7e007caf3b049fe5cd6589dad0cb23cda4994fd31c7ecd8102 SHA512 5978cbf452aff07d6d19a2e641824628f409ab74e2e1a964776dae4c586386149acea56e4c8aa1075b247d2ce566daad640c3bbd15e211df1f73fc7b02964353
|
DIST asio-1.17.0.tar.bz2 1694631 BLAKE2B 0463355eef1714604290be43247139ea0220c5614c3c280ccf6049b64a2bb920c9eb885cf5f00c7e007caf3b049fe5cd6589dad0cb23cda4994fd31c7ecd8102 SHA512 5978cbf452aff07d6d19a2e641824628f409ab74e2e1a964776dae4c586386149acea56e4c8aa1075b247d2ce566daad640c3bbd15e211df1f73fc7b02964353
|
||||||
DIST asio-1.18.2.tar.bz2 1743146 BLAKE2B 8db47419180095e4f05a63e4f414f33399e44f1dfb36299c70fef8bfef347f25df67ae78abf6b6b051e350b10099ec49e751b129bb1913dadf792e24048233a2 SHA512 ebe659f958b1813c4a843dce94a8f51d3a3b9f8e0237aa0f032009adaf85400b63b04ac8d664c9424397927d34d78206cbc646d921a520ed415c505f086628b1
|
|
||||||
DIST asio-1.19.0.tar.bz2 1840674 BLAKE2B 1abfc74356dcc86b07c2599ae5668b18c97fc1da39468aae5d8aff0f8b5826ea55de1c287816f370eac2c42608535ee44afaedc66afd88c84c9ebca665d42be9 SHA512 d9eb232a0165449985f655433de5d1fa2904edb7a241d55897d3e675d9feca9092342cbb0b6a7d84dbc8f3b6c147c62fa8af5536f065b3f77f800841bf443312
|
|
||||||
DIST asio-1.19.1.tar.bz2 1842955 BLAKE2B d60c1f98ad563eb7c1b163baac3a5560be1cd712e6b21dedc367b547d62725f22c96cea2ebb4dce1e37163a540ae24d65e9ebc37cde0046c043e83685b7d80c9 SHA512 af4501fbd6965ef2efb1f71cd703dec9bb65aaa62243649899469b711f9260936bbce7d261a6bb0db5ca47b7bccb89f72b219b19a249171c18d0a30fb40607e2
|
DIST asio-1.19.1.tar.bz2 1842955 BLAKE2B d60c1f98ad563eb7c1b163baac3a5560be1cd712e6b21dedc367b547d62725f22c96cea2ebb4dce1e37163a540ae24d65e9ebc37cde0046c043e83685b7d80c9 SHA512 af4501fbd6965ef2efb1f71cd703dec9bb65aaa62243649899469b711f9260936bbce7d261a6bb0db5ca47b7bccb89f72b219b19a249171c18d0a30fb40607e2
|
||||||
|
DIST asio-1.19.2.tar.bz2 1842597 BLAKE2B b2236c33432984ab660eba4c93be32374bb49f688a1e6a0711d7bac322cc4a7f817db209278f216468c6a72b9d3dd564cf298e1f49f8098c3fd9aec7acd66eb7 SHA512 07f9c29d8f02090b4d4b6a1867bcc07a8e9f3388556dff787ca3ba143022eeb63bfac0b5bc264076fed4db3b2e5ec6b7ff0ebefde40ba4753c832032a72d54cc
|
||||||
|
@ -1,51 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DESCRIPTION="Asynchronous Network Library"
|
|
||||||
HOMEPAGE="https://think-async.com https://github.com/chriskohlhoff/asio"
|
|
||||||
SRC_URI="mirror://sourceforge/${PN}/${PN}/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="Boost-1.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
|
||||||
IUSE="doc examples ssl test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
# test searches for libssl during ./configure, and REQUIRED_USE is easier than
|
|
||||||
# patching configure to not search for it with USE=-ssl
|
|
||||||
REQUIRED_USE="test? ( ssl )"
|
|
||||||
|
|
||||||
RDEPEND="dev-libs/boost:=
|
|
||||||
ssl? (
|
|
||||||
dev-libs/openssl:0=
|
|
||||||
)"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
if ! use test; then
|
|
||||||
# Don't build nor install any examples or unittests
|
|
||||||
# since we don't have a script to run them
|
|
||||||
cat > src/Makefile.in <<-EOF || die
|
|
||||||
all:
|
|
||||||
|
|
||||||
install:
|
|
||||||
|
|
||||||
clean:
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
use doc && local HTML_DOCS=( doc/. )
|
|
||||||
default
|
|
||||||
|
|
||||||
if use examples; then
|
|
||||||
# Get rid of the object files
|
|
||||||
emake clean
|
|
||||||
dodoc -r src/examples
|
|
||||||
docompress -x /usr/share/doc/${PF}/examples
|
|
||||||
fi
|
|
||||||
}
|
|
Binary file not shown.
@ -1,99 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
JAVA_PKG_IUSE="source"
|
|
||||||
|
|
||||||
inherit java-pkg-2 java-pkg-simple
|
|
||||||
|
|
||||||
MY_A="apache-${P}-src"
|
|
||||||
MY_P="${MY_A/-servlet-api/}"
|
|
||||||
DESCRIPTION="Tomcat's Servlet API 3.1/JSP API 2.3/EL API 3.0 implementation"
|
|
||||||
HOMEPAGE="https://tomcat.apache.org/"
|
|
||||||
SRC_URI="mirror://apache/tomcat/tomcat-8/v${PV}/src/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="3.1"
|
|
||||||
KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND=">=virtual/jdk-1.8:*"
|
|
||||||
RDEPEND=">=virtual/jre-1.8:*"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}/"
|
|
||||||
|
|
||||||
JAVA_TEST_SRC_DIR="src/test"
|
|
||||||
|
|
||||||
SERVLET_API_JAR="servlet-api.jar"
|
|
||||||
SERVLET_API_SRC="src/main/servlet-api"
|
|
||||||
SERVLET_API_RESOURCES="src/resources/servlet-api"
|
|
||||||
EL_API_JAR="el-api.jar"
|
|
||||||
EL_API_SRC="src/main/el-api"
|
|
||||||
EL_API_RESOURCES="src/resources/el-api"
|
|
||||||
JSP_API_JAR="jsp-api.jar"
|
|
||||||
JSP_API_SRC="src/main/jsp-api"
|
|
||||||
JSP_API_RESOURCES="src/resources/jsp-api"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# The sources and also resources are mixed together so we first give it a structure to make it easier to compila and package
|
|
||||||
|
|
||||||
mkdir -p ${SERVLET_API_SRC} ${SERVLET_API_RESOURCES} \
|
|
||||||
${EL_API_SRC} ${EL_API_RESOURCES} \
|
|
||||||
${JSP_API_SRC}/javax/servlet ${JSP_API_RESOURCES} \
|
|
||||||
${JAVA_TEST_SRC_DIR} || die "Failed to create source directory"
|
|
||||||
|
|
||||||
pushd java || die "Failed to cd to java dir"
|
|
||||||
|
|
||||||
cp --parents -R javax/servlet "${S}/${SERVLET_API_SRC}/" || die "Failed to copy servlet-api sources"
|
|
||||||
mv "${S}/${SERVLET_API_SRC}/javax/servlet/jsp" "${S}/${JSP_API_SRC}/javax/servlet" || die "Failed to copy jsp-api sources"
|
|
||||||
cp --parents -R javax/el "${S}/${EL_API_SRC}/" || die "Failed to copy el-api sources"
|
|
||||||
|
|
||||||
popd
|
|
||||||
|
|
||||||
for file in $(find src -type f | grep -vE "\.java$"); do
|
|
||||||
target_dir=$(dirname $file | sed "s%src/main/%src/resources/%g")
|
|
||||||
mkdir -p ${target_dir} || die "Failed to create resource directory"
|
|
||||||
mv $file ${target_dir} || die "Failed to move resource file"
|
|
||||||
done
|
|
||||||
|
|
||||||
mv test/javax ${JAVA_TEST_SRC_DIR} || die "Failed to copy test sources"
|
|
||||||
|
|
||||||
java-pkg-2_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
JAVA_SRC_DIR="${SERVLET_API_SRC}"
|
|
||||||
JAVA_RESOURCE_DIRS="${SERVLET_API_RESOURCES}"
|
|
||||||
JAVA_JAR_FILENAME="${SERVLET_API_JAR}"
|
|
||||||
java-pkg-simple_src_compile
|
|
||||||
rm -fr target || die "Failed to remove compiled files"
|
|
||||||
|
|
||||||
JAVA_SRC_DIR="${EL_API_SRC}"
|
|
||||||
JAVA_RESOURCE_DIRS="${EL_API_RESOURCES}"
|
|
||||||
JAVA_JAR_FILENAME="${EL_API_JAR}"
|
|
||||||
java-pkg-simple_src_compile
|
|
||||||
rm -fr target || die "Failed to remove compiled files"
|
|
||||||
|
|
||||||
JAVA_SRC_DIR="${JSP_API_SRC}"
|
|
||||||
JAVA_RESOURCE_DIRS="${JSP_API_RESOURCES}"
|
|
||||||
JAVA_JAR_FILENAME="${JSP_API_JAR}"
|
|
||||||
JAVA_GENTOO_CLASSPATH_EXTRA="servlet-api.jar:el-api.jar"
|
|
||||||
java-pkg-simple_src_compile
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
JAVA_SRC_DIR="${SERVLET_API_SRC}"
|
|
||||||
JAVA_JAR_FILENAME="${SERVLET_API_JAR}"
|
|
||||||
java-pkg-simple_src_install
|
|
||||||
|
|
||||||
JAVA_SRC_DIR="${EL_API_SRC}"
|
|
||||||
JAVA_JAR_FILENAME="${EL_API_JAR}"
|
|
||||||
java-pkg-simple_src_install
|
|
||||||
|
|
||||||
JAVA_SRC_DIR="${JSP_API_SRC}"
|
|
||||||
JAVA_JAR_FILENAME="${JSP_API_JAR}"
|
|
||||||
java-pkg-simple_src_install
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue