summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-21 20:23:03 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-21 20:28:25 +0100
commit0df43670084ad78a3938b094c47ff3d4e7d1494a (patch)
tree26f3ab510aafc4562ca57e70ecf98d546f740577 /dev-python
parentdev-python/steadymark: Remove last-rited package (diff)
downloadgentoo-0df43670084ad78a3938b094c47ff3d4e7d1494a.tar.gz
gentoo-0df43670084ad78a3938b094c47ff3d4e7d1494a.tar.bz2
gentoo-0df43670084ad78a3938b094c47ff3d4e7d1494a.zip
dev-python/storm: Remove last-rited package
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/storm/Manifest1
-rw-r--r--dev-python/storm/metadata.xml11
-rw-r--r--dev-python/storm/storm-0.20-r2.ebuild70
3 files changed, 0 insertions, 82 deletions
diff --git a/dev-python/storm/Manifest b/dev-python/storm/Manifest
deleted file mode 100644
index 8f52ffdbd300..000000000000
--- a/dev-python/storm/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST storm-0.20.tar.bz2 213069 BLAKE2B 746fe55e720fe52369778390e2b748b297911be7631b2a29c6372d384907cc195d0e3b3627a736baa81e6852a762a80d9a4a66de318de3d3c0375939e686ad08 SHA512 7a22c6a6fa45f7bbeeb5c6f934d6f889a6d90d78a6d3e3b9c6a6825485ec35301f573d08c619693a2587e795582db633254631c0be7cd8f1fee6b03a88378a8d
diff --git a/dev-python/storm/metadata.xml b/dev-python/storm/metadata.xml
deleted file mode 100644
index 5ff1e589f865..000000000000
--- a/dev-python/storm/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>python@gentoo.org</email>
- <name>Python</name>
- </maintainer>
- <upstream>
- <remote-id type="launchpad">storm</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-python/storm/storm-0.20-r2.ebuild b/dev-python/storm/storm-0.20-r2.ebuild
deleted file mode 100644
index 5bfc5d440906..000000000000
--- a/dev-python/storm/storm-0.20-r2.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-DISTUTILS_SINGLE_IMPL=1
-PYTHON_REQ_USE="sqlite?"
-
-inherit distutils-r1 flag-o-matic
-
-DESCRIPTION="An object-relational mapper for Python developed at Canonical"
-HOMEPAGE="https://storm.canonical.com/ https://pypi.org/project/storm/"
-SRC_URI="https://launchpad.net/storm/trunk/${PV}/+download/${P}.tar.bz2"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="mysql postgres sqlite test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- $(python_gen_cond_dep '
- mysql? ( dev-python/mysql-python[${PYTHON_MULTI_USEDEP}] )
- postgres? ( =dev-python/psycopg-2*[${PYTHON_MULTI_USEDEP}] )
- ')"
-DEPEND="
- $(python_gen_cond_dep '
- dev-python/setuptools[${PYTHON_MULTI_USEDEP}]
- test? ( dev-python/fixtures[${PYTHON_MULTI_USEDEP}] )
- ')"
-
-DOCS="tests/tutorial.txt"
-
-pkg_setup() {
- append-cflags -fno-strict-aliasing
- python-single-r1_pkg_setup
-}
-
-python_prepare_all() {
- sed -e "s:find_packages():find_packages(exclude=['tests','tests.*']):" \
- -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 || die
-}