summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-08-22 10:27:58 +0200
committerMichał Górny <mgorny@gentoo.org>2020-08-22 10:29:14 +0200
commit47b0672591df310f4b3f3dbf378e5d7818c489ba (patch)
tree0cc447492abeddd1d4ee4abbc0fa2c49d722fead /dev-libs/libnatspec
parentdev-libs/libnatspec: Remove old (diff)
downloadgentoo-47b0672591df310f4b3f3dbf378e5d7818c489ba.tar.gz
gentoo-47b0672591df310f4b3f3dbf378e5d7818c489ba.tar.bz2
gentoo-47b0672591df310f4b3f3dbf378e5d7818c489ba.zip
dev-libs/libnatspec: Eradicate python2
Closes: https://bugs.gentoo.org/695020 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-libs/libnatspec')
-rw-r--r--dev-libs/libnatspec/libnatspec-0.3.0.ebuild18
1 files changed, 4 insertions, 14 deletions
diff --git a/dev-libs/libnatspec/libnatspec-0.3.0.ebuild b/dev-libs/libnatspec/libnatspec-0.3.0.ebuild
index 750d3276c9d9..90bb1fab67c6 100644
--- a/dev-libs/libnatspec/libnatspec-0.3.0.ebuild
+++ b/dev-libs/libnatspec/libnatspec-0.3.0.ebuild
@@ -3,9 +3,7 @@
EAPI=6
-PYTHON_COMPAT=( python2_7 )
-
-inherit autotools python-single-r1
+inherit autotools
DESCRIPTION="library to smooth charset/localization issues"
HOMEPAGE="http://natspec.sourceforge.net/"
@@ -14,26 +12,18 @@ SRC_URI="mirror://sourceforge/natspec/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86"
-IUSE="doc python"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+IUSE="doc"
RDEPEND="
dev-libs/popt
- python? ( ${PYTHON_DEPS} )
"
DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen )
- python? ( dev-lang/tcl:0= )"
+ doc? ( app-doc/doxygen )"
PATCHES=(
"${FILESDIR}"/${PN}-0.2.6-iconv.patch
)
-pkg_setup() {
- use python && python-single-r1_pkg_setup
-}
-
src_prepare() {
default
# regenerate to fix imcompatible readlink usage
@@ -44,5 +34,5 @@ src_prepare() {
src_configure() {
use doc || export ac_cv_prog_DOX=no
# braindead configure script does not disable python on --without-python
- econf $(use python && use_with python)
+ econf
}