public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/storm: storm-0.19.ebuild ChangeLog
@ 2011-11-03 17:00 Tim Harder (radhermit)
  0 siblings, 0 replies; 2+ messages in thread
From: Tim Harder (radhermit) @ 2011-11-03 17:00 UTC (permalink / raw
  To: gentoo-commits

radhermit    11/11/03 17:00:09

  Modified:             ChangeLog
  Added:                storm-0.19.ebuild
  Log:
  Version bump (bug #389329).
  
  (Portage version: 2.2.0_alpha72/cvs/Linux x86_64)

Revision  Changes    Path
1.11                 dev-python/storm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/storm/ChangeLog?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/storm/ChangeLog?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/storm/ChangeLog?r1=1.10&r2=1.11

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/storm/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ChangeLog	31 Oct 2010 20:32:03 -0000	1.10
+++ ChangeLog	3 Nov 2011 17:00:09 -0000	1.11
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/storm
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/ChangeLog,v 1.10 2010/10/31 20:32:03 arfrever Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/ChangeLog,v 1.11 2011/11/03 17:00:09 radhermit Exp $
+
+*storm-0.19 (03 Nov 2011)
+
+  03 Nov 2011; Tim Harder <radhermit@gentoo.org> +storm-0.19.ebuild:
+  Version bump (bug #389329).
 
 *storm-0.18 (31 Oct 2010)
 



1.1                  dev-python/storm/storm-0.19.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/storm/storm-0.19.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/storm/storm-0.19.ebuild?rev=1.1&content-type=text/plain

Index: storm-0.19.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/storm-0.19.ebuild,v 1.1 2011/11/03 17:00:08 radhermit Exp $

EAPI="3"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"

inherit distutils

DESCRIPTION="An object-relational mapper for Python developed at Canonical."
HOMEPAGE="https://storm.canonical.com/ http://pypi.python.org/pypi/storm"
SRC_URI="http://launchpad.net/storm/trunk/${PV}/+download/${P}.tar.bz2"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="mysql postgres sqlite test"

RDEPEND="mysql? ( dev-python/mysql-python )
	postgres? ( =dev-python/psycopg-2* )
	sqlite? ( || ( dev-lang/python:2.7[sqlite] dev-lang/python:2.6[sqlite] dev-lang/python:2.5[sqlite] dev-python/pysqlite:2 ) )"
DEPEND="dev-python/setuptools
	test? ( || ( dev-lang/python:2.7[sqlite] dev-lang/python:2.6[sqlite] dev-lang/python:2.5[sqlite] dev-python/pysqlite:2 ) )"

PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")

DOCS="tests/tutorial.txt"

src_test() {
	if use mysql; then
		elog "To run the MySQL-tests, you need:"
		elog "  - a running mysql-server"
		elog "  - an already existing database 'db'"
		elog "  - a user 'user' with full permissions on that database"
		elog "  - and an environment variable STORM_MYSQL_URI=\"mysql://user:password@host:1234/db\""
	fi
	if use postgres; then
		elog "To run the PostgreSQL-tests, you need:"
		elog "  - a running postgresql-server"
		elog "  - an already existing database 'db'"
		elog "  - a user 'user' with full permissions on that database"
		elog "  - and an environment variable STORM_POSTGRES_URI=\"postgres://user:password@host:1234/db\""
	fi

	testing() {
		PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" test --verbose
	}
	python_execute_function testing
}






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-python/storm: storm-0.19.ebuild ChangeLog
@ 2011-11-05 19:33 Markos Chandras (hwoarang)
  0 siblings, 0 replies; 2+ messages in thread
From: Markos Chandras (hwoarang) @ 2011-11-05 19:33 UTC (permalink / raw
  To: gentoo-commits

hwoarang    11/11/05 19:33:08

  Modified:             storm-0.19.ebuild ChangeLog
  Log:
  Fix support for Jython. Don't install C sources. Patch by Arfrever.
  
  (Portage version: 2.2.0_alpha72/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  dev-python/storm/storm-0.19.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/storm/storm-0.19.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/storm/storm-0.19.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/storm/storm-0.19.ebuild?r1=1.1&r2=1.2

Index: storm-0.19.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/storm/storm-0.19.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- storm-0.19.ebuild	3 Nov 2011 17:00:08 -0000	1.1
+++ storm-0.19.ebuild	5 Nov 2011 19:33:08 -0000	1.2
@@ -1,11 +1,12 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/storm-0.19.ebuild,v 1.1 2011/11/03 17:00:08 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/storm-0.19.ebuild,v 1.2 2011/11/05 19:33:08 hwoarang Exp $
 
 EAPI="3"
 PYTHON_DEPEND="2"
 SUPPORT_PYTHON_ABIS="1"
 RESTRICT_PYTHON_ABIS="3.*"
+PYTHON_TESTS_FAILURES_TOLERANT_ABIS="*-jython"
 
 inherit distutils
 
@@ -26,8 +27,20 @@
 
 PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
 
+DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
 DOCS="tests/tutorial.txt"
 
+src_prepare() {
+	distutils_src_prepare
+
+	preparation() {
+		if [[ "$(python_get_implementation)" == "Jython" ]]; then
+			sed -e "s/BUILD_CEXTENSIONS = True/BUILD_CEXTENSIONS = False/" -i setup.py
+		fi
+	}
+	python_execute_function -s preparation
+}
+
 src_test() {
 	if use mysql; then
 		elog "To run the MySQL-tests, you need:"
@@ -45,7 +58,12 @@
 	fi
 
 	testing() {
-		PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" test --verbose
+		PYTHONPATH="$(ls -d build/lib*)" "$(PYTHON)" test --verbose
 	}
-	python_execute_function testing
+	python_execute_function -s testing
+}
+
+src_install() {
+	distutils_src_install
+	python_clean_installation_image
 }



1.12                 dev-python/storm/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/storm/ChangeLog?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/storm/ChangeLog?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/storm/ChangeLog?r1=1.11&r2=1.12

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/storm/ChangeLog,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ChangeLog	3 Nov 2011 17:00:09 -0000	1.11
+++ ChangeLog	5 Nov 2011 19:33:08 -0000	1.12
@@ -1,6 +1,9 @@
 # ChangeLog for dev-python/storm
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/ChangeLog,v 1.11 2011/11/03 17:00:09 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/ChangeLog,v 1.12 2011/11/05 19:33:08 hwoarang Exp $
+
+  05 Nov 2011; Markos Chandras <hwoarang@gentoo.org> storm-0.19.ebuild:
+  Fix support for Jython. Don't install C sources. Patch by Arfrever.
 
 *storm-0.19 (03 Nov 2011)
 






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-05 19:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-05 19:33 [gentoo-commits] gentoo-x86 commit in dev-python/storm: storm-0.19.ebuild ChangeLog Markos Chandras (hwoarang)
  -- strict thread matches above, loose matches on Subject: below --
2011-11-03 17:00 Tim Harder (radhermit)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox