mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/libnatspec: Eradicate python2
Closes: https://bugs.gentoo.org/695020 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user