diff options
-rw-r--r-- | dev-libs/libnatspec/libnatspec-0.3.0.ebuild | 18 |
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 } |