dev-tcltk/tclxml: 3.3.1 bump

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2021-12-12 17:34:03 +01:00
parent fc221823a3
commit 2c0b83632a
3 changed files with 50 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST TclXML-3.3.1.tar.gz 681802 BLAKE2B e29bcdb2ef79aa1d1f41ff1338981c0c2d0592fbd146daad102552b2609ab844b12d5de5807a9a26400860783b94df7b754d4ef96a5ab377732dcefaae3c0c21 SHA512 8ee9e36fc8cb9a68da5f810442b5b6fa8d020ef772b9ee98d7c3e429c41ec158451c8994ec5800636db8b33f39a2df7e37c6b64a20a24f7fe4e72e0bba3f2ff3
DIST tclxml-3.2.7.tar.gz 313751 BLAKE2B 43983d2d6c2f339fa320c4748f889db49fbe9cfff15219e898fdfe5a9a7d6526a2b40b7697fdca6f5272bdfb52cbe68af53ced711ad5d476dc2c5e31898c00ba SHA512 23cb17466f777538088998fa4cce55531708bba517d45cb8b4281401779c418f8532376e4aefcf4bb5f3674ee5bab2e0db25ab2a69c153d3e5820c509edf12ae

View File

@@ -7,5 +7,6 @@
</maintainer>
<upstream>
<remote-id type="sourceforge">tclxml</remote-id>
<remote-id type="github">flightaware/TclXML</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,48 @@
# 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)
}