mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-24 20:48:31 -07:00
dev-python/sqlobject: Clean old up
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST SQLObject-2.1.1.tar.gz 888532 BLAKE2B c2998a768b5a8f65c96863e91738028ba274ec628495bdaf6484cba13d046c6d94e782bc56b60937252fe2e858249a2873828252cf80cbebc74aac647286166e SHA512 9f51452afb728b3eaa0b113aca7086af6cd858d3b6e84c557af56a086d9a04c7e061f1b45179d0c74ef6a175e593376e1ea3ce561a337d71df6eea0f7bd09fee
|
||||
DIST SQLObject-3.4.0.tar.gz 1269199 BLAKE2B d44712c72f18e3b13d81087926039ede842df8939eb116cc5fc4df39aa0dc8293a4737fc2de3f2843a11e9775a57a4ab39a939867e48496ef0aaf10e64f26ec3 SHA512 f10e2b950d5e404aec57442acebae06e2a95adf386de57f73339f62fadd627965667b462055f12586cbfa9be485cc1ab46a21b8fa43da9d6696489d058421aca
|
||||
|
||||
@@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="sqlite?"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="SQLObject"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Object-Relational Manager, aka database wrapper"
|
||||
HOMEPAGE="http://sqlobject.org/ https://pypi.python.org/pypi/SQLObject"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="doc mysql postgres sqlite"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/formencode-1.1.1[${PYTHON_USEDEP}]
|
||||
mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
|
||||
postgres? ( dev-python/psycopg[${PYTHON_USEDEP}] )"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e '/..docs/d' -i setup.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
HTML_DOCS=( docs/html/. )
|
||||
DOCS=( docs/europython/. )
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
Reference in New Issue
Block a user