app-portage/src_prepare-scripts: bump to 1.0.0
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
parent
d1df26c1f9
commit
fbf82a1378
1
app-portage/src_prepare-scripts/Manifest
Normal file
1
app-portage/src_prepare-scripts/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST scripts-1.0.0.tar.gz 22058 BLAKE2B 333b9bf3e699e78f2638ee6e339672d7544104a0257950593f4283f0dc2266fb4989665c2da4342fe6802c54c101d0369d652b47a9ecd2772e89f6872f5d8126 SHA512 d427a705675578c952390f1a351d648efb34d84030ba5f9cf592632684423041fa13e40b628c89bb8526a7b112acdbb33f9c06fc7be84c7ca934a772213bd235
|
@ -0,0 +1,78 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{7..8} )
|
||||||
|
|
||||||
|
inherit git-r3 python-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Small scripts from src_prepare group"
|
||||||
|
HOMEPAGE="https://gitlab.com/src_prepare/scripts"
|
||||||
|
|
||||||
|
if [[ "${PV}" == *9999* ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://gitlab.com/src_prepare/scripts.git"
|
||||||
|
else
|
||||||
|
SRC_URI="https://gitlab.com/src_prepare/scripts/-/archive/${PV}/scripts-${PV}.tar.gz"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
RESTRICT="
|
||||||
|
mirror
|
||||||
|
!test? ( test )
|
||||||
|
"
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="test"
|
||||||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
app-admin/eselect
|
||||||
|
app-portage/eix
|
||||||
|
app-portage/euscan-ng
|
||||||
|
app-portage/repoman
|
||||||
|
app-shells/bash:*
|
||||||
|
dev-lang/perl
|
||||||
|
dev-util/pkgcheck
|
||||||
|
sys-apps/portage
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/pylint
|
||||||
|
|| (
|
||||||
|
dev-util/shellcheck
|
||||||
|
dev-util/shellcheck-bin
|
||||||
|
)
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
bash ./test.sh || die "Tests failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# Install the docs
|
||||||
|
local doc
|
||||||
|
for doc in *.md
|
||||||
|
do
|
||||||
|
dodoc "${doc}"
|
||||||
|
done
|
||||||
|
|
||||||
|
# Install the scripts
|
||||||
|
local P_HOME="opt/${PN}"
|
||||||
|
if pushd src
|
||||||
|
then
|
||||||
|
local script
|
||||||
|
for script in *
|
||||||
|
do
|
||||||
|
exeinto "${P_HOME}"
|
||||||
|
doexe "${script}"
|
||||||
|
dosym "../../${P_HOME}/${script}" "/usr/bin/src_prepare-${script}"
|
||||||
|
done
|
||||||
|
popd
|
||||||
|
else
|
||||||
|
die "There is no ${S}/src directory"
|
||||||
|
fi
|
||||||
|
}
|
@ -1,21 +1,28 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{6..8} )
|
PYTHON_COMPAT=( python3_{7..8} )
|
||||||
|
|
||||||
inherit git-r3 python-r1
|
inherit git-r3 python-r1
|
||||||
|
|
||||||
DESCRIPTION="Small scripts from src_prepare group"
|
DESCRIPTION="Small scripts from src_prepare group"
|
||||||
HOMEPAGE="https://gitlab.com/src_prepare/scripts"
|
HOMEPAGE="https://gitlab.com/src_prepare/scripts"
|
||||||
EGIT_REPO_URI="https://gitlab.com/src_prepare/scripts.git"
|
|
||||||
|
if [[ "${PV}" == *9999* ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://gitlab.com/src_prepare/scripts.git"
|
||||||
|
else
|
||||||
|
SRC_URI="https://gitlab.com/src_prepare/scripts/-/archive/${PV}/scripts-${PV}.tar.gz"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
fi
|
||||||
|
|
||||||
RESTRICT="
|
RESTRICT="
|
||||||
binchecks mirror strip
|
mirror
|
||||||
!test? ( test )
|
!test? ( test )
|
||||||
"
|
"
|
||||||
LICENSE="ISC"
|
LICENSE="GPL-3"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE="test"
|
IUSE="test"
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||||
|
Loading…
Reference in New Issue
Block a user