idella4     15/02/20 11:30:34

  Modified:             ChangeLog
  Added:                storm-0.20-r1.ebuild
  Removed:              storm-0.20.ebuild
  Log:
  revbump; convert -> distutils-r1, rm old
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.18                 dev-python/storm/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/storm/ChangeLog,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ChangeLog   23 Jan 2015 05:06:04 -0000      1.17
+++ ChangeLog   20 Feb 2015 11:30:34 -0000      1.18
@@ -1,6 +1,12 @@
 # ChangeLog for dev-python/storm
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/ChangeLog,v 1.17 
2015/01/23 05:06:04 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/ChangeLog,v 1.18 
2015/02/20 11:30:34 idella4 Exp $
+
+*storm-0.20-r1 (20 Feb 2015)
+
+  20 Feb 2015; Ian Delaney <[email protected]> +storm-0.20-r1.ebuild,
+  -storm-0.20.ebuild:
+  revbump; convert -> distutils-r1, rm old
 
   23 Jan 2015; Manuel RĂ¼ger <[email protected]> -storm-0.18.ebuild,
   -storm-0.19.ebuild:



1.1                  dev-python/storm/storm-0.20-r1.ebuild

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

Index: storm-0.20-r1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/storm/storm-0.20-r1.ebuild,v 1.1 
2015/02/20 11:30:34 idella4 Exp $

EAPI=5

PYTHON_COMPAT=( python2_7 )
DISTUTILS_SINGLE_IMPL=1
PYTHON_REQ_USE="sqlite?"

inherit distutils-r1

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[${PYTHON_USEDEP}] )
        postgres? ( =dev-python/psycopg-2*[${PYTHON_USEDEP}] )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
        test? ( dev-python/fixtures[${PYTHON_USEDEP}] )"

CFLAGS="${CFLAGS} -fno-strict-aliasing"

DOCS="tests/tutorial.txt"

pkg_setup() {
        python-single-r1_pkg_setup
}

python_prepare_all() {
        sed -e "s:find_packages():find_packages(exclude=['test','test.*']):" \
                -i setup.py || die

        # delete rogue errors in setting exceptions
        sed -e '/module_exception is not None:/d' \
                -e '/module_exception.__bases__ += (exception,)/d' \
                -i storm/exceptions.py || die

        distutils-r1_python_prepare_all
}

python_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

        # Some tests require a server instance which is absent
        "${PYTHON}" test --verbose
}




Reply via email to