From 9efc19c4c595864b0e097655f69b0c3f776a6803 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 22 Apr 2022 21:38:11 +0100 Subject: dev-tcltk/tclxml: use subslot dep on tcl Signed-off-by: Sam James --- dev-tcltk/tclxml/tclxml-3.2.7-r1.ebuild | 44 ++++++++++++++++++++++++++++++ dev-tcltk/tclxml/tclxml-3.2.7.ebuild | 44 ------------------------------ dev-tcltk/tclxml/tclxml-3.3.1-r1.ebuild | 48 +++++++++++++++++++++++++++++++++ dev-tcltk/tclxml/tclxml-3.3.1.ebuild | 48 --------------------------------- 4 files changed, 92 insertions(+), 92 deletions(-) create mode 100644 dev-tcltk/tclxml/tclxml-3.2.7-r1.ebuild delete mode 100644 dev-tcltk/tclxml/tclxml-3.2.7.ebuild create mode 100644 dev-tcltk/tclxml/tclxml-3.3.1-r1.ebuild delete mode 100644 dev-tcltk/tclxml/tclxml-3.3.1.ebuild (limited to 'dev-tcltk') diff --git a/dev-tcltk/tclxml/tclxml-3.2.7-r1.ebuild b/dev-tcltk/tclxml/tclxml-3.2.7-r1.ebuild new file mode 100644 index 000000000000..5c4a298b68e7 --- /dev/null +++ b/dev-tcltk/tclxml/tclxml-3.2.7-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Pure Tcl implementation of an XML parser" +HOMEPAGE="http://tclxml.sourceforge.net/" +SRC_URI="https://github.com/wjoye/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 ppc sparc x86" +IUSE="debug threads" + +DEPEND=" + >=dev-lang/tcl-8.2:= + >=dev-libs/libxml2-2.6.9 + dev-libs/libxslt + >=dev-tcltk/tcllib-1.2 + dev-libs/expat" +# test? ( dev-tcltk/tclparser ) +RDEPEND="${DEPEND}" + +RESTRICT="test" + +PATCHES=( + "${FILESDIR}"/${PN}-3.2-fix-implicit-declarations.patch + "${FILESDIR}"/${P}-bool.patch +) + +src_configure() { + local myconf="" + + use threads && myconf="${myconf} --enable-threads" + + econf ${myconf} \ + --with-xml2-config="${EPREFIX}"/usr/bin/xml2-config \ + --with-xslt-config="${EPREFIX}"/usr/bin/xslt-config \ + --with-tclinclude="${EPREFIX}"/usr/include \ + --with-tcl="${EPREFIX}"/usr/$(get_libdir) \ + $(use_enable amd64 64bit) \ + $(use_enable debug symbols) +} diff --git a/dev-tcltk/tclxml/tclxml-3.2.7.ebuild b/dev-tcltk/tclxml/tclxml-3.2.7.ebuild deleted file mode 100644 index a32148ddc14b..000000000000 --- a/dev-tcltk/tclxml/tclxml-3.2.7.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Pure Tcl implementation of an XML parser" -HOMEPAGE="http://tclxml.sourceforge.net/" -SRC_URI="https://github.com/wjoye/${PN}/archive/v${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 ppc sparc x86" -IUSE="debug threads" - -DEPEND=" - >=dev-lang/tcl-8.2:0 - >=dev-libs/libxml2-2.6.9 - dev-libs/libxslt - >=dev-tcltk/tcllib-1.2 - dev-libs/expat" -# test? ( dev-tcltk/tclparser ) -RDEPEND="${DEPEND}" - -RESTRICT="test" - -PATCHES=( - "${FILESDIR}"/${PN}-3.2-fix-implicit-declarations.patch - "${FILESDIR}"/${P}-bool.patch -) - -src_configure() { - local myconf="" - - use threads && myconf="${myconf} --enable-threads" - - econf ${myconf} \ - --with-xml2-config="${EPREFIX}"/usr/bin/xml2-config \ - --with-xslt-config="${EPREFIX}"/usr/bin/xslt-config \ - --with-tclinclude="${EPREFIX}"/usr/include \ - --with-tcl="${EPREFIX}"/usr/$(get_libdir) \ - $(use_enable amd64 64bit) \ - $(use_enable debug symbols) -} diff --git a/dev-tcltk/tclxml/tclxml-3.3.1-r1.ebuild b/dev-tcltk/tclxml/tclxml-3.3.1-r1.ebuild new file mode 100644 index 000000000000..022c63c640c3 --- /dev/null +++ b/dev-tcltk/tclxml/tclxml-3.3.1-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MYPN=TclXML +MYP=${MYPN}-${PV} + +DESCRIPTION="Pure Tcl implementation of an XML parser" +HOMEPAGE="https://github.com/flightaware/TclXML" +SRC_URI="https://github.com/flightaware/TclXML/archive/refs/tags/v${PV}.tar.gz + -> ${MYP}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="debug threads" + +DEPEND=" + >=dev-lang/tcl-8.2:= + >=dev-libs/libxml2-2.6.9 + dev-libs/libxslt + >=dev-tcltk/tcllib-1.2 + dev-libs/expat" +# test? ( dev-tcltk/tclparser ) +RDEPEND="${DEPEND}" + +RESTRICT="test" + +PATCHES=( + "${FILESDIR}"/${PN}-3.2-fix-implicit-declarations.patch +) + +S="${WORKDIR}"/${MYP} + +src_configure() { + local myconf="" + + use threads && myconf="${myconf} --enable-threads" + + econf ${myconf} \ + --with-xml2-config="${EPREFIX}"/usr/bin/xml2-config \ + --with-xslt-config="${EPREFIX}"/usr/bin/xslt-config \ + --with-tclinclude="${EPREFIX}"/usr/include \ + --with-tcl="${EPREFIX}"/usr/$(get_libdir) \ + $(use_enable amd64 64bit) \ + $(use_enable debug symbols) +} diff --git a/dev-tcltk/tclxml/tclxml-3.3.1.ebuild b/dev-tcltk/tclxml/tclxml-3.3.1.ebuild deleted file mode 100644 index 21c1b65eadf8..000000000000 --- a/dev-tcltk/tclxml/tclxml-3.3.1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MYPN=TclXML -MYP=${MYPN}-${PV} - -DESCRIPTION="Pure Tcl implementation of an XML parser" -HOMEPAGE="https://github.com/flightaware/TclXML" -SRC_URI="https://github.com/flightaware/TclXML/archive/refs/tags/v${PV}.tar.gz - -> ${MYP}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" -IUSE="debug threads" - -DEPEND=" - >=dev-lang/tcl-8.2:0 - >=dev-libs/libxml2-2.6.9 - dev-libs/libxslt - >=dev-tcltk/tcllib-1.2 - dev-libs/expat" -# test? ( dev-tcltk/tclparser ) -RDEPEND="${DEPEND}" - -RESTRICT="test" - -PATCHES=( - "${FILESDIR}"/${PN}-3.2-fix-implicit-declarations.patch -) - -S="${WORKDIR}"/${MYP} - -src_configure() { - local myconf="" - - use threads && myconf="${myconf} --enable-threads" - - econf ${myconf} \ - --with-xml2-config="${EPREFIX}"/usr/bin/xml2-config \ - --with-xslt-config="${EPREFIX}"/usr/bin/xslt-config \ - --with-tclinclude="${EPREFIX}"/usr/include \ - --with-tcl="${EPREFIX}"/usr/$(get_libdir) \ - $(use_enable amd64 64bit) \ - $(use_enable debug symbols) -} -- cgit v1.2.3-65-gdbad