summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2020-02-15 19:23:26 +0800
committerJason Zaman <perfinion@gentoo.org>2020-02-15 21:20:09 +0800
commitbb2138fa6bd96062bed58828efea55c7984fe4b2 (patch)
treea6528f092426160e2c781a86db9007e239bd8170 /app-admin
parentapp-admin/setools: stable 4.2.2 (diff)
downloadgentoo-bb2138fa6bd96062bed58828efea55c7984fe4b2.tar.gz
gentoo-bb2138fa6bd96062bed58828efea55c7984fe4b2.tar.bz2
gentoo-bb2138fa6bd96062bed58828efea55c7984fe4b2.zip
app-admin/setools: update live ebuild
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/setools/setools-9999.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/app-admin/setools/setools-9999.ebuild b/app-admin/setools/setools-9999.ebuild
index f10da5f6d10a..88bea3902042 100644
--- a/app-admin/setools/setools-9999.ebuild
+++ b/app-admin/setools/setools-9999.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == 9999 ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/SELinuxProject/setools.git"
else
- SRC_URI="https://github.com/SELinuxProject/setools/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="https://github.com/SELinuxProject/setools/releases/download/${PV}/${P}.tar.bz2"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
@@ -21,6 +21,7 @@ LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
IUSE="X test"
RESTRICT="!test? ( test )"
+S="${WORKDIR}/${PN}"
RDEPEND="${PYTHON_DEPS}
>=dev-python/networkx-2.0[${PYTHON_USEDEP}]
@@ -41,7 +42,7 @@ python_prepare_all() {
sed -i "s@^lib_dirs = .*@lib_dirs = ['${ROOT:-/}usr/$(get_libdir)']@" "${S}"/setup.py || \
die "failed to set lib_dirs"
- use X || local PATCHES=( "${FILESDIR}"/setools-4.2.0-remove-gui.patch )
+ use X || local PATCHES=( "${FILESDIR}"/setools-4.2.2-remove-gui.patch )
distutils-r1_python_prepare_all
}