From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-python/adodb-py/Manifest | 6 ++++ dev-python/adodb-py/adodb-py-2.20-r1.ebuild | 35 ++++++++++++++++++++++ .../files/adodb-py_sandbox_violation.patch | 22 ++++++++++++++ dev-python/adodb-py/metadata.xml | 15 ++++++++++ 4 files changed, 78 insertions(+) create mode 100644 dev-python/adodb-py/Manifest create mode 100644 dev-python/adodb-py/adodb-py-2.20-r1.ebuild create mode 100644 dev-python/adodb-py/files/adodb-py_sandbox_violation.patch create mode 100644 dev-python/adodb-py/metadata.xml (limited to 'dev-python/adodb-py') diff --git a/dev-python/adodb-py/Manifest b/dev-python/adodb-py/Manifest new file mode 100644 index 000000000000..9d13c9684f88 --- /dev/null +++ b/dev-python/adodb-py/Manifest @@ -0,0 +1,6 @@ +AUX adodb-py_sandbox_violation.patch 801 SHA256 eb64c8bc401f734ce6b31876d0c878dcc7e2aff314adea165e6a8a71fd67f585 SHA512 10c0f87dcf832587ced130177183459581347fa30cafc3adff3211be59a4114f7ca373990d99864265b0668c6647f1a312199233bd0ab18c4feeb995852b1a07 WHIRLPOOL d2b8765c1e142ead7835bae97286ae0bc32b261999a7e01bcabb6c36637d6ad2e91e03b26ec3e1ef826441da7d1648e3f0cc1c3628ad269b652ffbe1e7cd864a +DIST adodb-220.zip 32438 SHA256 92dd475b96853f4932da64c1833cd5247e83cd61196dce67827b4b682d1fa50b SHA512 7aba87a32835b51639240194bc0745d58fd713fe2d6d5d5145f82eb1acb192377bc5dae904fa013b323f38ccd9d8dff77d99c0a8c91e1ee38c21e6a6b05a81d8 WHIRLPOOL d2d3f882c4f10d9a3771b69b40174481a5fed458a3e1d044a4d493b868c5152efdf8e2af67794738979e199a29267e085dbac3b25c954577b7865a38c01d8246 +EBUILD adodb-py-2.20-r1.ebuild 808 SHA256 efc9d3fb57a6d662bd44ed0824bc37bf9c876cca47fd1666757a6c119dd3601c SHA512 53e61628510e1b1fbe4290056000db8c134b1ae3a59601e82b51971025f8f0ba983234bcc1aa99981bbbd473b408917302689756cf13bd3729ab6a27efd32829 WHIRLPOOL 0b5179acc36f9be2dd77b38955da95257d815a740578cee4f2ea7a5356237db9a8b6d18f9c834821eacb192d0efb19618a36985fd71f5a5c375afff01d49d5b9 +MISC ChangeLog 2477 SHA256 2af0e01acdc46b2b5f0f557db0b8c39f034b36576e7121932067091224b19858 SHA512 9933f0a2d99c9c744ffa5e5a5d2d42f714ae10eab4b5d2ac1f1ae2ea6c9d71154cd165b0e1f5a657fd52c93cee6477cae6851b35b917573cca645bc2a3d27bb5 WHIRLPOOL 879629a011d6115dbd1e34f06d890014487b5eda509a84eb7d736dee6f937691bb56d7462a3818a57afaf2afb219b259ecd4d5954d28ad359d81ffc4b8aaa6ba +MISC ChangeLog-2015 5492 SHA256 8a649d6a06b00507f7b703310ca80e06067735dac6644143f96a704e652a378c SHA512 929e35f3ab46c504797a993276f724502c46425dc9c124bea8ceea7ccd52687f3b463dacaaaac226dd0bd4386489b490f1864c9daa8180ead92e1a185924e149 WHIRLPOOL b56ea1f9c5dffad7ecb396b2d887ef09806c2e19e7077d1d40d44b4a80cff9244d5e1eb9f2eaf5d5ca6d09d347ac1a25feb2ad4f3a4e8ae8f20787d2475ec846 +MISC metadata.xml 506 SHA256 d2485db6ab5e1a059352c6d2ab1feb5537295dc0cd6d9c1ec01c3899424d295a SHA512 f7691dd3dac55ff707ede331262f954976236f6d8e6ab7d5a021230b17d360913af30d6f613fa0d7dc58ef2772eaca0b3f7814fa50da30d9cc99c6959f7ccda9 WHIRLPOOL 1b242e3d834371ce21efa734fb70b45fad5e530d809e41ba70d3c325909bf3ecfbed249c6a65a16aa5fbe3c7ccad472b10005b46c53d1e4713b1a2739cf94d8b diff --git a/dev-python/adodb-py/adodb-py-2.20-r1.ebuild b/dev-python/adodb-py/adodb-py-2.20-r1.ebuild new file mode 100644 index 000000000000..c945d58692c6 --- /dev/null +++ b/dev-python/adodb-py/adodb-py-2.20-r1.ebuild @@ -0,0 +1,35 @@ +# 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_P=${PN/-py/}-${PV//./} + +DESCRIPTION="Active Data Objects Data Base library for Python" +HOMEPAGE="http://adodb.sourceforge.net/" +SRC_URI="mirror://sourceforge/adodb/${MY_P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ia64 ppc ppc64 x86" +IUSE="mysql postgres sqlite" + +RDEPEND="postgres? ( dev-python/psycopg:0[${PYTHON_USEDEP}] ) + mysql? ( >=dev-python/mysql-python-0.9.2[${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND} + app-arch/unzip" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${PN}_sandbox_violation.patch" +) + +python_install_all() { + local HTML_DOCS=( adodb-py-docs.htm *.gif ) + distutils-r1_python_install_all +} diff --git a/dev-python/adodb-py/files/adodb-py_sandbox_violation.patch b/dev-python/adodb-py/files/adodb-py_sandbox_violation.patch new file mode 100644 index 000000000000..ca79eb5a7db6 --- /dev/null +++ b/dev-python/adodb-py/files/adodb-py_sandbox_violation.patch @@ -0,0 +1,22 @@ +diff -uNtr adodb-220.orig/setup.py adodb-220/setup.py +--- adodb-220.orig/setup.py 2008-07-16 15:28:26.000000000 -0430 ++++ adodb-220/setup.py 2009-09-19 00:01:24.000000000 -0430 +@@ -25,17 +25,3 @@ + except: + pass + +- +-for p in sys.path: +- if p.find('site-packages')>0: +- trydel(p+os.sep+'adodb.py') +- trydel(p+os.sep+'adodb_access.py') +- trydel(p+os.sep+'adodb_mssql.py') +- trydel(p+os.sep+'adodb_mxodbc.py') +- trydel(p+os.sep+'adodb_mxoracle.py') +- trydel(p+os.sep+'adodb_mysql.py') +- trydel(p+os.sep+'adodb_oci8.py') +- trydel(p+os.sep+'adodb_odbc.py') +- trydel(p+os.sep+'adodb_odbc_mssql.py') +- trydel(p+os.sep+'adodb_postgres.py') +- trydel(p+os.sep+'adodb_vfp.py') +\ No newline at end of file diff --git a/dev-python/adodb-py/metadata.xml b/dev-python/adodb-py/metadata.xml new file mode 100644 index 000000000000..8b3824a4c38f --- /dev/null +++ b/dev-python/adodb-py/metadata.xml @@ -0,0 +1,15 @@ + + + + + python@gentoo.org + Python + + Database abstraction library for Python + +Python言語用データベース抽象化ライブラリです。 + + + adodb + + -- cgit v1.2.3