public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "José María Alonso" <nimiux@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/lisp:master commit in: dev-lisp/clsql/
Date: Sun, 18 Mar 2018 17:14:43 +0000 (UTC)	[thread overview]
Message-ID: <1521393296.488efce04d5bcb2a8e60188e6bbe78cc9074c549.nimiux@gentoo> (raw)

commit:     488efce04d5bcb2a8e60188e6bbe78cc9074c549
Author:     Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 18 17:14:56 2018 +0000
Commit:     José María Alonso <nimiux <AT> gentoo <DOT> org>
CommitDate: Sun Mar 18 17:14:56 2018 +0000
URL:        https://gitweb.gentoo.org/proj/lisp.git/commit/?id=488efce0

dev-lisp/clsql: Bumps version to 6.7.0. Drops old versions

 dev-lisp/clsql/clsql-5.4.0.ebuild                  |  92 -------------------
 dev-lisp/clsql/clsql-6.4.1.ebuild                  | 101 ---------------------
 .../{clsql-6.4.0.ebuild => clsql-6.7.0.ebuild}     |  14 +--
 3 files changed, 7 insertions(+), 200 deletions(-)

diff --git a/dev-lisp/clsql/clsql-5.4.0.ebuild b/dev-lisp/clsql/clsql-5.4.0.ebuild
deleted file mode 100644
index 72bdb6f8..00000000
--- a/dev-lisp/clsql/clsql-5.4.0.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit common-lisp-3 eutils toolchain-funcs flag-o-matic multilib
-
-DESCRIPTION="A multi-platform SQL interface for Common Lisp"
-HOMEPAGE="http://clsql.b9.com/
-		http://packages.debian.org/unstable/devel/cl-sql.html
-		http://www.cliki.net/CLSQL"
-SRC_URI="http://common-lisp.net/~sionescu/mirror/${P}.tar.gz"
-RESTRICT="mirror"
-
-LICENSE="LLGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-IUSE="doc oracle mysql postgres sqlite odbc"
-
-DEPEND="mysql? ( virtual/mysql )"
-RDEPEND="${DEPEND}
-		!dev-lisp/cl-sql
-		dev-lisp/md5
-		>=dev-lisp/uffi-2.0.0
-		oracle? ( dev-db/oracle-instantclient-basic )
-		postgres? ( dev-db/postgresql )
-		sqlite? ( dev-db/sqlite:3 )
-		odbc? ( dev-db/unixODBC )"
-
-src_prepare() {
-	sed -i "s,/usr/lib,/usr/$(get_libdir),g" "${S}"/${PN}-{mysql,uffi}.asd || die
-	sed -i 's,"usr" "lib","usr" "'$(get_libdir)'",g' "${S}"/${PN}-{mysql,uffi}.asd || die
-}
-
-@cc() {
-	local cc=$(tc-getCC)
-	echo "${cc}" "${@}"
-	"${cc}" "${@}"
-}
-
-src_compile() {
-	strip-flags
-	@cc uffi/clsql_uffi.c \
-		${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -rdynamic \
-		-fPIC -DPIC -shared -Wl,-soname=clsql_uffi -o uffi/clsql_uffi.so \
-		|| die "Cannot build UFFI helper library"
-	if use mysql; then
-		@cc db-mysql/clsql_mysql.c \
-			${CPPFLAGS} ${CFLAGS} ${LDFLAGS} $(mysql_config --cflags) -rdynamic \
-			-fPIC -DPIC -shared -Wl,-soname=clsql_mysql -o db-mysql/clsql_mysql.so \
-			|| die "Cannot build foreign glue to libmysqlclient"
-	fi
-}
-
-install_clsql_pkg() {
-	cd "${S}" || die
-	common-lisp-install-sources db-${1}
-	common-lisp-install-asdf ${PN}-${1}
-	if [ -f db-${1}/${PN}_${1}.so ]; then
-		exeinto /usr/$(get_libdir)/${PN} ; doexe db-${1}/${PN}_${1}.so
-	fi
-}
-
-src_install() {
-	common-lisp-install-sources sql/*.lisp tests
-	common-lisp-install-asdf ${PN} ${PN}-tests
-
-	common-lisp-install-sources uffi/*.lisp
-	common-lisp-install-asdf ${PN}-{uffi,cffi}
-	exeinto /usr/$(get_libdir)/${PN} ; doexe uffi/${PN}_uffi.so
-
-	install_clsql_pkg postgresql-socket
-	use postgres && install_clsql_pkg postgresql
-	for dbtype in mysql odbc oracle sqlite sqlite3; do
-		use ${dbtype} && install_clsql_pkg ${dbtype}
-	done
-	# TODO: figure out the dependencies
-	install_clsql_pkg aodbc
-	install_clsql_pkg db2
-
-	dodoc BUGS CONTRIBUTORS ChangeLog INSTALL LATEST-TEST-RESULTS NEWS README TODO
-	use doc && dodoc doc/clsql.pdf
-	tar xfz doc/html.tar.gz -C "${T}" && dohtml "${T}"/html/*
-	docinto examples && dodoc examples/*
-	docinto notes && dodoc notes/*
-
-	dodir /etc
-	cat > "${D}"/etc/clsql-init.lisp <<EOF
-(clsql:push-library-path #p"/usr/$(get_libdir)/")
-(clsql:push-library-path #p"/usr/$(get_libdir)/clsql/")
-EOF
-}

diff --git a/dev-lisp/clsql/clsql-6.4.1.ebuild b/dev-lisp/clsql/clsql-6.4.1.ebuild
deleted file mode 100644
index d0680216..00000000
--- a/dev-lisp/clsql/clsql-6.4.1.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit common-lisp-3 flag-o-matic multilib toolchain-funcs
-
-DESCRIPTION="A multi-platform SQL interface for Common Lisp"
-HOMEPAGE="http://clsql.b9.com/
-		http://www.cliki.net/CLSQL"
-SRC_URI="http://files.b9.com/clsql/${P}.tar.gz"
-
-LICENSE="LLGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-IUSE="doc examples mysql odbc oracle postgres sqlite"
-
-RDEPEND="!dev-lisp/cl-sql
-	dev-lisp/md5
-	>=dev-lisp/uffi-2.0.0
-	mysql? ( virtual/mysql )
-	odbc? ( dev-db/unixODBC )
-	oracle? ( dev-db/oracle-instantclient-basic )
-	postgres? ( dev-db/postgresql )
-	sqlite? ( dev-db/sqlite:3 )"
-
-src_prepare() {
-	sed -i "s,/usr/lib,/usr/$(get_libdir),g" "${S}"/${PN}-{mysql,uffi}.asd || die
-	sed -i 's,"usr" "lib","usr" "'$(get_libdir)'",g' "${S}"/${PN}-{mysql,uffi}.asd || die
-}
-
-@cc() {
-	local cc=$(tc-getCC)
-	echo "${cc}" "${@}"
-	"${cc}" "${@}"
-}
-
-src_compile() {
-	strip-flags
-	@cc uffi/clsql_uffi.c \
-		${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -rdynamic \
-		-fPIC -DPIC -shared -Wl,-soname=clsql_uffi -o uffi/clsql_uffi.so \
-		|| die "Cannot build UFFI helper library"
-	if use mysql; then
-		@cc db-mysql/clsql_mysql.c \
-			${CPPFLAGS} ${CFLAGS} ${LDFLAGS} $(mysql_config --cflags) -rdynamic \
-			-fPIC -DPIC -shared -Wl,-soname=clsql_mysql -o db-mysql/clsql_mysql.so \
-			|| die "Cannot build foreign glue to libmysqlclient"
-	fi
-}
-
-install_clsql_pkg() {
-	local pkgname="${1}"
-	local libname="${pkgname}/${PN}_${pkgname}.so"
-
-	cd "${S}" || die
-	common-lisp-install-sources db-${pkgname}
-	common-lisp-install-asdf ${PN}-${pkgname}
-	if [ -f db-${1}/${PN}_${1}.so ]; then
-		exeinto /usr/$(get_libdir)/${PN} ; doexe db-${pkgname}/${PN}_${pkgname}.so
-	fi
-}
-
-install_clsql_postgresql() {
-	install_clsql_pkg postgresql-socket
-	install_clsql_pkg postgresql-socket3
-	install_clsql_pkg postgresql
-}
-
-src_install() {
-	common-lisp-install-sources sql/*.lisp tests
-	common-lisp-install-asdf ${PN} ${PN}-tests
-
-	common-lisp-install-sources uffi/*.lisp
-	common-lisp-install-asdf ${PN}-{uffi,cffi}
-	exeinto /usr/$(get_libdir)/${PN} ; doexe uffi/${PN}_uffi.so
-
-	use postgres && install_clsql_postgresql
-	for dbtype in mysql odbc oracle sqlite sqlite3; do
-		use ${dbtype} && install_clsql_pkg ${dbtype}
-	done
-
-	# TODO: figure out the dependencies
-	install_clsql_pkg aodbc
-	install_clsql_pkg db2
-
-	dodoc BUGS CONTRIBUTORS ChangeLog INSTALL LATEST-TEST-RESULTS NEWS README TODO
-	if use doc ; then
-		dodoc doc/clsql.pdf
-		tar xfz doc/html.tar.gz -C "${T}" || die
-		dohtml "${T}"/html/*
-		docinto notes && dodoc notes/*
-	fi
-	use examples && docinto examples && dodoc -r examples/*
-
-	dodir /etc
-	cat > "${D}"/etc/clsql-init.lisp <<-EOF
-	(clsql:push-library-path #p"/usr/$(get_libdir)/")
-	(clsql:push-library-path #p"/usr/$(get_libdir)/clsql/")
-	EOF
-}

diff --git a/dev-lisp/clsql/clsql-6.4.0.ebuild b/dev-lisp/clsql/clsql-6.7.0.ebuild
similarity index 91%
rename from dev-lisp/clsql/clsql-6.4.0.ebuild
rename to dev-lisp/clsql/clsql-6.7.0.ebuild
index d0680216..3a160e87 100644
--- a/dev-lisp/clsql/clsql-6.4.0.ebuild
+++ b/dev-lisp/clsql/clsql-6.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -6,17 +6,16 @@ EAPI=6
 inherit common-lisp-3 flag-o-matic multilib toolchain-funcs
 
 DESCRIPTION="A multi-platform SQL interface for Common Lisp"
-HOMEPAGE="http://clsql.b9.com/
+HOMEPAGE="http://clsql.kpe.io/
 		http://www.cliki.net/CLSQL"
-SRC_URI="http://files.b9.com/clsql/${P}.tar.gz"
+SRC_URI="http://files.kpe.io/clsql/${P}.tar.gz"
 
 LICENSE="LLGPL-2.1"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
 IUSE="doc examples mysql odbc oracle postgres sqlite"
 
-RDEPEND="!dev-lisp/cl-sql
-	dev-lisp/md5
+RDEPEND="dev-lisp/md5
 	>=dev-lisp/uffi-2.0.0
 	mysql? ( virtual/mysql )
 	odbc? ( dev-db/unixODBC )
@@ -27,6 +26,7 @@ RDEPEND="!dev-lisp/cl-sql
 src_prepare() {
 	sed -i "s,/usr/lib,/usr/$(get_libdir),g" "${S}"/${PN}-{mysql,uffi}.asd || die
 	sed -i 's,"usr" "lib","usr" "'$(get_libdir)'",g' "${S}"/${PN}-{mysql,uffi}.asd || die
+	eapply_user
 }
 
 @cc() {
@@ -76,7 +76,7 @@ src_install() {
 	exeinto /usr/$(get_libdir)/${PN} ; doexe uffi/${PN}_uffi.so
 
 	use postgres && install_clsql_postgresql
-	for dbtype in mysql odbc oracle sqlite sqlite3; do
+	for dbtype in mysql odbc oracle sqlite ; do
 		use ${dbtype} && install_clsql_pkg ${dbtype}
 	done
 
@@ -88,7 +88,7 @@ src_install() {
 	if use doc ; then
 		dodoc doc/clsql.pdf
 		tar xfz doc/html.tar.gz -C "${T}" || die
-		dohtml "${T}"/html/*
+		dodoc "${T}"/html/*
 		docinto notes && dodoc notes/*
 	fi
 	use examples && docinto examples && dodoc -r examples/*


             reply	other threads:[~2018-03-18 17:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-18 17:14 José María Alonso [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-04-01 14:56 [gentoo-commits] proj/lisp:master commit in: dev-lisp/clsql/ Ulrich Müller
2017-07-07 10:39 José María Alonso
2016-12-03 22:25 José María Alonso
2013-12-07 13:43 José María Alonso
2013-04-01 11:42 José María Alonso
2011-07-28 12:29 Stelian Ionescu
2011-06-22 21:39 Stelian Ionescu
2011-04-25 22:58 Stelian Ionescu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1521393296.488efce04d5bcb2a8e60188e6bbe78cc9074c549.nimiux@gentoo \
    --to=nimiux@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox