dev-python: mass last-rites removal

Closes: https://bugs.gentoo.org/711808

Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
This commit is contained in:
Mikle Kolyada
2020-04-06 08:35:26 +03:00
parent 83428c9256
commit 7622f900c6
460 changed files with 0 additions and 7757 deletions

View File

@@ -1,36 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python3_6 pypy3 )
inherit distutils-r1 eutils
DESCRIPTION="The httplib2 caching algorithms packaged up for use with requests"
HOMEPAGE="https://github.com/ionrock/cachecontrol https://pypi.org/project/cachecontrol/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86"
IUSE="test"
RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
>=dev-python/lockfile-0.9[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
"
# Not included
RESTRICT=test
python_test() {
py.test -v -v || die
}
pkg_postinst() {
optfeature "Redis based caches" dev-python/redis-py
}

View File

@@ -1,36 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python3_6 pypy3 )
inherit distutils-r1 eutils
DESCRIPTION="The httplib2 caching algorithms packaged up for use with requests"
HOMEPAGE="https://github.com/ionrock/cachecontrol https://pypi.org/project/cachecontrol/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="test"
RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
>=dev-python/lockfile-0.9[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
"
# Not included
RESTRICT=test
python_test() {
py.test -v -v || die
}
pkg_postinst() {
optfeature "Redis based caches" dev-python/redis-py
}

View File

@@ -1,2 +0,0 @@
DIST CacheControl-0.11.5.tar.gz 13104 BLAKE2B 460d963e7459f34d8b1ceffb9d971e3690c87635e2e88aac0ca6b54f7b5a7a4f1c3887e653af7df27d66551e1db869790b48ec9a27c48fa548b1a31293ccf19d SHA512 2acce5a8be2e409a1a18254cfe71314074037bce3341f8b8fdec52c43500c90bfdb6063b2121c5cf6c8a2fc7c0903e4fd0c15813ffdfa547810b33571d211deb
DIST CacheControl-0.11.7.tar.gz 13902 BLAKE2B fc363357631efe3d81f53060cce9c71f21aeedcf285b40c8f9b3948155b8aa6e327ca51864073fb1eaf91bcc2c4c2d586baa73ab2b5776dae6574fd243b80c94 SHA512 fad1f93140dd6fcedb3797f4dbc1587045ade8dafe6cbc6774bf62bd635fbc1ba08b2dec124745cffed5259606b55f0e2edee036b5b5e34156d3114f6bf63493

View File

@@ -1,12 +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="github">ionrock/cachecontrol</remote-id>
<remote-id type="pypi">CacheControl</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,31 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="Image Hashing library"
HOMEPAGE="https://github.com/JohannesBuchner/imagehash"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64"
LICENSE="BSD-2"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/pywavelets[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
sci-libs/scipy[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( ${RDEPEND} )"
python_test() {
esetup.py test
}

View File

@@ -1 +0,0 @@
DIST ImageHash-4.0.tar.gz 296405 BLAKE2B 1623d679c0f10eb18d20f7cccb0a87c2584535e0afbb4e35b147f9be3e95cb0aea81eaa42fcce989427d99d8ebdcc143ce04f432520f54958d64c731042d22e8 SHA512 31265e85574cf330339d10c789d06ed0a0ff25aaa30c8ad5f2d39db3d3b40bf5b2001ff78f1e1622058d03f3a7203d2043d2a553adf6d8fe3337c44a4f605d2e

View File

@@ -1,19 +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>
<longdescription>
A image hashing library written in Python. ImageHash supports:
average hashing (aHash)
perception hashing (pHash)
difference hashing (dHash)
wavelet hashing (wHash)
.</longdescription>
<upstream>
<remote-id type="github">JohannesBuchner/imagehash</remote-id>
<remote-id type="pypi">ImageHash</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST ReParser-1.4.3.tar.gz 4560 BLAKE2B 1ec7ef9174ae284d80c6cd2a978da0bdfb897628bc72f9afaedc38de32bd26bf1dd80488e20fbb14e073f8eb1365b942621b65b5e0d95884501918845666c343 SHA512 db02caa6f4f1997cfc7a79283b1b90d3ff96e7fa2e7ba5b119e0060b97d1dd2604640c7d0a8503dbc05613b9b507e7d8732e9448c3ecb59ba85cf340ff1a5e2b

View File

@@ -1,24 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
if [[ ${PV} = *9999* ]]; then
EGIT_REPO_URI="https://github.com/hickford/MechanicalSoup"
inherit git-r3
else
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="Simple regex-based lexer/parser for inline markup"
HOMEPAGE="https://pypi.org/project/ReParser/"
LICENSE="MIT"
SLOT="0"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"

View File

@@ -1,14 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>williamh@gentoo.org</email>
<name>William Hubbs</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="pypi">ReParser</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST aadict-0.2.3.tar.gz 16511 BLAKE2B ab9450e358fe0339f60f4d6be6445064c67303420e2d4045a21661f8038ad506c8cfe551fef9353404822b1a2824f6eb6461fc783e252ae156f5d76de41c9d3e SHA512 16f3ff59f41d5dd1f9504ed11d660636766758332a0317544253daef9d76f2fdfc654add6346ad809e56e2be51c1f19a645c1047ef01e1e4aee8db24afcab113

View File

@@ -1,31 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python3_6 pypy3 )
inherit distutils-r1
DESCRIPTION="An auto-attribute dict (and a couple of other useful dict functions)"
HOMEPAGE="https://github.com/metagriffin/aadict https://pypi.org/project/aadict/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/six-1.6.0[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
>=dev-python/nose-1.3.0[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
}

View File

@@ -1,16 +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="pypi">aadict</remote-id>
<maintainer status="unknown">
<email>mg.pypi@uberdev.org</email>
<name>metagriffin</name>
</maintainer>
<remote-id type="github">metagriffin/aadict</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST abstract_rendering-0.5.1.tar.gz 33753 BLAKE2B 8395568da0cf93a954fc8f4ab9ed259ded5ac58845a33f96fbd36645cc3316692e0c5f55a978212867fe768184baa926ce1d2332abde639283f4b8d1393d3e1e SHA512 6e687bbcbf8017d58667c92f6199e037abfbd2d787167f2ed457dcc174bc99f3bef19e94be67c41937df52d5efa72e605d6649151d8d9b19880895f7f4d4a792

View File

@@ -1,34 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="Rendering as a binning process"
HOMEPAGE="
https://github.com/JosephCottam/AbstractRendering
https://pypi.org/project/abstract_rendering/
"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="uni_indiana"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
python_prepare_all() {
sed \
-e 's:"-O3",::g' \
-i setup.py || die
distutils-r1_python_prepare_all
}

View File

@@ -1,16 +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="pypi">abstract_rendering</remote-id>
<maintainer status="unknown">
<email>jcottam@indiana.edu</email>
<name>Joseph Cottam</name>
</maintainer>
<remote-id type="github">ContinuumIO/abstract_rendering</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST aioeventlet-0.5.1.tar.gz 62371 BLAKE2B f9f6ec222649fab7e69694214af424992f19008572ad9639fdaeb480970ea5dd80a55b454dde07fe1fa87a06560e220128b02f7738a0527b6fec23d559807721 SHA512 b89d99c2ac1f59ed599f01bfaee6b1eb60fc7f3332cb64b7061e67b0c1de15c38b3787100c176995750b7f8debd04bc8651362c6c2d43beff6af35bc15b64204

View File

@@ -1,30 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="asyncio event loop scheduling callbacks in eventlet"
HOMEPAGE="https://pypi.org/project/aioeventlet/"
SRC_URI="mirror://pypi/a/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-python/eventlet[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/aiotest[${PYTHON_USEDEP}] )"
python_test() {
# from tox.ini
"${PYTHON}" runtests.py -v || die "Tests fail with ${EPYTHON}"
"${PYTHON}" run_aiotest.py -v || die "Tests fail with ${EPYTHON}"
}

View File

@@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>prometheanfire@gentoo.org</email>
<name>Matthew Thode</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<longdescription lang="en">
aioeventlet implements the asyncio API (PEP 3156) on top of eventlet. It makes possible to write asyncio code in a project currently written for eventlet.
</longdescription>
<upstream>
<remote-id type="pypi">aioeventlet</remote-id>
<remote-id type="bitbucket">haypo/aioeventlet</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST aiotest-0.3.tar.gz 10146 BLAKE2B 730da4dcdf50d0cc6262f8ec07c260981440734b672be6c997dd7f98afa7b71300f0461d5b3ebfc052995327b1f9f9429a1e84658b100dc689f633e8d7db5071 SHA512 6af65e283dfae1ff0f09fb09498f1a5be971daef4907c5079acc1c7ad353f4aa415e03f3fb18d9fac28c54abe35c9db917584082a56b4b43cd80cbf5fa689d59

View File

@@ -1,23 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="Test suite for an implementation of asyncio (PEP 3156)"
HOMEPAGE="https://bitbucket.org/haypo/aiotest"
SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE=""
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
python_test() {
"${PYTHON}" "test_asyncio.py" || die "Tests fail with ${EPYTHON}"
}

View File

@@ -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>
</maintainer>
<upstream>
<remote-id type="bitbucket">haypo/aiotest</remote-id>
<remote-id type="pypi">aiotest</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST amqplib-1.0.2.tgz 58544 BLAKE2B fed0cc178042467ae4e73d197dd1f2819725236274aa5951d67f7277825b851425712c96b5b1fd95010e47310746bc5b903f8858777f8999a9d310b675d60a11 SHA512 6c8c9fd7fd68fd6a1eb944962094e57f89525bc78dd002dc0dadd491b262293367a86569dfc52f0701723b4327b7c290150dc2e69e3ac1a28613578d9e0d0710

View File

@@ -1,41 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="Python client for the Advanced Message Queuing Procotol (AMQP)"
HOMEPAGE="https://barryp.org/software/py-amqplib/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tgz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="examples extras test"
RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}/${PN}-0.6.1_disable_socket_tests.patch"
"${FILESDIR}/${P}-unicode_tests_py3.patch"
)
python_test() {
"${PYTHON}" tests/client_0_8/run_all.py \
|| die "Tests fail with ${EPYTHON}"
}
python_install_all() {
distutils-r1_python_install_all
dodoc -r docs/.
if use examples; then
docinto examples
dodoc -r demo/.
fi
if use extras; then
insinto /usr/share/${PF}
doins -r extras
fi
}

View File

@@ -1,17 +0,0 @@
diff -uNr amqplib-0.6.1.org/tests/client_0_8/run_all.py amqplib-0.6.1/tests/client_0_8/run_all.py
--- amqplib-0.6.1.org/tests/client_0_8/run_all.py 2011-07-06 16:21:22.000000000 -0400
+++ amqplib-0.6.1/tests/client_0_8/run_all.py 2011-07-06 16:21:38.000000000 -0400
@@ -28,13 +28,8 @@
'test_exceptions',
'test_serialization',
'test_basic_message',
- 'test_connection',
- 'test_channel',
]
-if sys.version_info >= (2, 5):
- TEST_NAMES.append('test_with')
-
def main():
suite = unittest.TestLoader().loadTestsFromNames(TEST_NAMES)
unittest.TextTestRunner(**settings.test_args).run(suite)

View File

@@ -1,63 +0,0 @@
--- a/tests/client_0_8/test_serialization.py 2011-07-18 00:11:48.000000000 -0400
+++ b/tests/client_0_8/test_serialization.py 2012-03-02 16:54:35.000000000 -0500
@@ -32,6 +32,18 @@
# Python 2.5 and lower
bytes = str
+#Unicode Strings for py3 tests
+uni_strings = {
+ 'u0100' : '\u0100',
+ 'hello' : 'hello',
+ 'a' : 'a',
+ 'another' : 'And something in unicode'
+}
+
+if hasattr(str, 'decode'):
+ for wk, wv in uni_strings.iteritems():
+ uni_strings[wk] = wv.decode("utf-8")
+
import settings
from amqplib.client_0_8.serialization import AMQPReader, AMQPWriter, GenericContent
@@ -232,12 +244,12 @@
def test_shortstr_unicode(self):
w = AMQPWriter()
- w.write_shortstr(u'hello')
+ w.write_shortstr(uni_strings['hello'])
s = w.getvalue()
self.assertEqualBinary(s, '\x05hello')
r = AMQPReader(s)
- self.assertEqual(r.read_shortstr(), u'hello')
+ self.assertEqual(r.read_shortstr(),uni_strings['hello'])
def test_long_shortstr(self):
w = AMQPWriter()
@@ -245,7 +257,7 @@
def test_long_shortstr_unicode(self):
w = AMQPWriter()
- self.assertRaises(ValueError, w.write_shortstr, u'\u0100' * 128)
+ self.assertRaises(ValueError, w.write_shortstr, uni_strings['u0100'] * 128)
#
@@ -273,7 +285,7 @@
self.assertEqual(r.read_longstr(), str(val))
def test_longstr_unicode(self):
- val = u'a' * 512
+ val = uni_strings['a'] * 512
w = AMQPWriter()
w.write_longstr(val)
s = w.getvalue()
@@ -324,7 +336,7 @@
'foo': 7,
'bar': Decimal('123345.1234'),
'baz': 'this is some random string I typed',
- 'ubaz': u'And something in unicode',
+ 'ubaz': uni_strings['another'],
'dday_aniv': datetime(1994, 6, 6),
'more': {
'abc': -123,

View File

@@ -1,16 +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>
<use>
<flag name="extras">Install extra tools to generate initial Python mod
from an AMQP XML file</flag>
</use>
<upstream>
<remote-id type="google-code">py-amqplib</remote-id>
<remote-id type="pypi">amqplib</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST anyjson-0.3.3.tar.gz 8332 BLAKE2B 196596b832bddf7969fa9f77f7b78e37bf7fbc93dacb2790615555072b1b504b70d43e50bd968969abe92b6503b79d392f344b72b663fc3be700a0e4053c278f SHA512 9e70df3cb8bfe2348fdb0eb03cf3c33ca5a1171aca6467787fc28c161354b5ebe89b2f73badfa00708774d6825799860493ddcac7f5da8cc9c251b92b5a343bc

View File

@@ -1,35 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="Wraps the best available JSON implementation available in a common interface"
HOMEPAGE="https://bitbucket.org/runeh/anyjson"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
# please keep all supported implementations in 'test?'
# to make sure the package is used in the widest way
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
)"
python_test() {
cp -r -l tests "${BUILD_DIR}" || die
if [[ ${EPYTHON} == python3* ]]; then
2to3 -w --no-diffs "${BUILD_DIR}"/tests || die
fi
nosetests -w "${BUILD_DIR}"/tests || die "Tests fail with ${EPYTHON}"
}

View File

@@ -1,12 +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="pypi">anyjson</remote-id>
<remote-id type="bitbucket">runeh/anyjson</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST asciimatics-1.10.0.tar.gz 1536207 BLAKE2B 9a96150d43e4f59932e4a23a9d580698a053b35a6f5ddc9c967e4202ba1e2b0bb181bc88d9382725d2ae4b10241397f421d8e0d9baf1f269cb52977115d47296 SHA512 dbf2d44f5d667e59bbd14db761ad60a482b8afbbc8190248cdd49a8317575194ce9d2127f9275599bca800f1d5bd5e57fed5cd02b28d739c2a203b15ddebce7f

View File

@@ -1,45 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="Pythonic library to create text UIs and ASCII art animations"
HOMEPAGE="https://github.com/peterbrittain/asciimatics"
SRC_URI="https://github.com/peterbrittain/asciimatics/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc examples"
DEPEND="
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/future[${PYTHON_USEDEP}]
dev-python/wcwidth[${PYTHON_USEDEP}]
dev-python/pyfiglet[${PYTHON_USEDEP}]
dev-python/setuptools_scm[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
src_prepare() {
sed -i -e "s/use_scm_version.*/version='${PV}',/g;" setup.py || die
distutils-r1_src_prepare
}
python_compile_all() {
if use doc; then
sed -i -e 's/base_version = .*//g;' doc/source/conf.py || die
sed -i -e 's/release = .*//g;' doc/source/conf.py || die
sed -i -e 's/version = .*//g;' doc/source/conf.py || die
sphinx-build -b html doc/source doc/_build/ || die
HTML_DOCS=( doc/_build/. )
fi
}
python_install_all() {
use examples && dodoc -r samples
distutils-r1_python_install_all
}

View File

@@ -1,15 +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>Gentoo Python Project</name>
</maintainer>
<maintainer type="person">
<email>monsieurp@gentoo.org</email>
<name>Patrice Clement</name>
</maintainer>
<upstream>
<remote-id type="github">peterbrittain/asciimatics</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST asset-0.6.11.tar.gz 28071 BLAKE2B b9222e0c51ccf4417afccde445c1ebb8583459977c8a39ad7650eb7c6cbf5b6252c239c714635b8b4d95ac16e53c2edf268871d733e71d6b89a403472da3fc62 SHA512 b9c002febd234d1342de92279a0e1fbaf30d53e9efa46e3ca2cfced43f4a9582bf731545185f868752a20d97c5ab0f7b5fbb453c1fdfe4e67d6bfcab222d0bc7

View File

@@ -1,33 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="A package resource and symbol loading helper library"
HOMEPAGE="https://pypi.org/project/asset/ https://github.com/metagriffin/asset"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-3+"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/aadict-0.2.2[${PYTHON_USEDEP}]
>=dev-python/globre-0.0.5[${PYTHON_USEDEP}]
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
test? (
>=dev-python/nose-1.3.0[${PYTHON_USEDEP}]
>=dev-python/pxml-0.2.11[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
}

View File

@@ -1,12 +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="pypi">asset</remote-id>
<remote-id type="github">metagriffin/asset</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST atom-0.4.1.tar.gz 65082 BLAKE2B 9f2f1fe4a910e69a083567472d1d442570b922e1aafd3a94ec55541b406d7fa876a5260193137f9de37b1c44fd97f95d0868fd345cc82e0c1c73683c149aa2e7 SHA512 95c5b5a78fb8466a78b8f983290e722d7f797ecbd9d149e37f2f52f0604c932bb747c791a4d16922535e0ef2c992c59021c2f695563d5a320a86538a6a80b958

View File

@@ -1,24 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1 flag-o-matic
DESCRIPTION="Memory efficient Python objects"
HOMEPAGE="https://github.com/nucleic/atom"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Clear-BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
RDEPEND=""
DEPEND="
dev-python/future[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
RESTRICT="test"

View File

@@ -1,12 +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="pypi">atom</remote-id>
<remote-id type="github">nucleic/atom</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,2 +0,0 @@
DIST batinfo-0.3.tar.gz 3951 BLAKE2B 11360a3322866b084294b930569d3c2e424b8bb56e0484aba81085b68707287ad7be9a65b0bf5188c030384d70fbbefd30886ef73d03e7c29801a0e5ce49a3d8 SHA512 822e8e70f14a7f08713028ebc8b41aef6d9256984a6a381af11e5b36980a355636bc21d8b21753f4dabd20e38becf6152c623134a65109593ccba019afe3f3f3
DIST batinfo-0.4.2.tar.gz 6497 BLAKE2B 24efbd63f25bbd743e02ea04bf656d24b3132b6ce7e2754359a84648c357fb40967c3bb2a0aa27a3938489f2fb64c9b712718c8a5ede0869f83a19eaa82a74e1 SHA512 c45232cdd79d2d10d814019bbfc167ef54c3d970c74320a5a007d3b603e62fbdfeaf53f88074cf53a7865293181707e2e63e5a565219c094a77be2adc5d53876

View File

@@ -1,21 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 pypy3 )
inherit distutils-r1
DESCRIPTION="A simple Python lib to retreive battery information"
HOMEPAGE="https://github.com/nicolargo/batinfo https://pypi.org/project/batinfo/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"

View File

@@ -1,21 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 pypy3 )
inherit distutils-r1
DESCRIPTION="A simple Python lib to retreive battery information"
HOMEPAGE="https://github.com/nicolargo/batinfo https://pypi.org/project/batinfo/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
RDEPEND=""
DEPEND="
${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"

View File

@@ -1,16 +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="pypi">batinfo</remote-id>
<maintainer status="unknown">
<email>nicolas@nicolargo.com</email>
<name>Nicolas Hennion</name>
</maintainer>
<remote-id type="github">nicolargo/batinfo</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST bcolz-1.1.2.tar.gz 1271418 BLAKE2B 322a755ce3a744d14e185a2a242cd9c2326033404f15a8bef789d0f9cb961a63ad12aa28860c0f62577cc61091983e17e043deafe7c2ca78f0ab2c620da2e395 SHA512 cc0149b5a8a0ded7653c4f1e2232fbf8501027538a3e5d8de4be0eed096e17e7d3845f19cb687a533a4c385b31f5a5262fe140a27ac63b434b57667ec5a55e66

View File

@@ -1,52 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="Provides columnar and compressed data containers"
HOMEPAGE="http://bcolz.blosc.org/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/c-blosc:=
dev-python/numpy[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/setuptools_scm[${PYTHON_USEDEP}]
dev-python/cython[${PYTHON_USEDEP}]
doc? (
dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/numpydoc[${PYTHON_USEDEP}]
)
test? ( dev-python/mock[${PYTHON_USEDEP}] )
"
python_compile() {
distutils-r1_python_compile --blosc="${EPREFIX}/usr"
}
python_compile_all() {
use doc && sphinx-build -b html -N docs/ docs/_build/html
}
python_test() {
cd "${BUILD_DIR}"/lib
"${PYTHON}" -c 'import bcolz; bcolz.test()' || die
}
python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
distutils-r1_python_install_all
dodoc *.rst
}

View File

@@ -1,21 +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>
<longdescription>
bcolz provides columnar and compressed data containers. Column
storage allows for efficiently querying tables with a large number of
columns. It also allows for cheap addition and removal of column. In
addition, bcolz objects are compressed by default for reducing
memory/disk I/O needs. The compression process is carried out
internally by Blosc, a high-performance compressor that is optimized
for binary data.
</longdescription>
<upstream>
<remote-id type="pypi">bcolz</remote-id>
<remote-id type="github">Blosc/bcolz</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST beaker-1.8.1.tar.gz 80541 BLAKE2B b60ba47a41f5f039699324dcb403d99cbf3d7e7cdbf593e275e1d41e6abc86dc829fd9a582b80e6274d6459624218585239b1b623e70636e2a1d736c584ce245 SHA512 bd9c4a4bbf21749a59c50ffff1d1dbff8bc9116394f79924efc6be637fb8c1ffef91a8363da3375bffdcb0ba291b71b57f75303f3fbe111e8670a390058e9fa5

View File

@@ -1,50 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="A Session and Caching library with WSGI Middleware"
HOMEPAGE="
https://github.com/bbangert/beaker
https://beaker.readthedocs.io/en/latest/
https://pypi.org/project/Beaker/"
# pypi tarball lacks tests
SRC_URI="https://github.com/bbangert/beaker/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? (
$(python_gen_impl_dep sqlite)
dev-python/mock[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
|| (
dev-python/pycryptodome[${PYTHON_USEDEP}]
dev-python/pycrypto[${PYTHON_USEDEP}]
)
dev-python/sqlalchemy[${PYTHON_USEDEP}]
dev-python/webtest[${PYTHON_USEDEP}]
)"
python_prepare_all() {
# disarm pycrypto dep to allow || ( pycryptodome pycrypto )
sed -i -e "/TEST/s:'pycrypto'::" setup.py || die
distutils-r1_python_prepare_all
}
python_test() {
esetup.py test
}
pkg_postinst() {
elog "beaker also has optional support for packages"
elog "pycrypto and pycryptopp"
}

View File

@@ -1,12 +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="pypi">Beaker</remote-id>
<remote-id type="github">bbangert/beaker</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,2 +0,0 @@
DIST biplist-1.0.1.tar.gz 16251 BLAKE2B ca56064e4d0ea6cee1088964c38d2cb780366ecb36a5c19458a975fde70d100063ed057cc597bfe7db86542f4acd027d37f5e5526a0c63a5f4bae080653aba20 SHA512 017bbea254f74d2c647322044a7b9a6006a0d69ecd44d1cd0281a3f30b38fd0feeef1b07272b9495440d3cd4434e2d4802681959b4185e2c354999884605a657
DIST biplist-1.0.2.tar.gz 16246 BLAKE2B 7eb12a7f416c8ef588e4dbc2ea9332664150aacd2d3064b901d3aeaffcf5efd871d47f68e3ce941c82a6697c5149e6bb8dd93f42ef6eb94ccc5e44ac71ad5ddd SHA512 2418d24b2d9e36aad76ac6626e82b8f60f0c167636142a054b02de3437d117fa1ccfeb9c104801fe106fec2d7a31c2bdeaab27fd519f1bce3bdf8a3b90b42c27

View File

@@ -1,29 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="A binary plist parser/generator for Python"
HOMEPAGE="https://pypi.org/project/biplist/ https://github.com/wooster/biplist"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="amd64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
LICENSE="BSD"
SLOT="0"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
${RDEPEND} )"
python_test() {
# This failure still occurs, after 18 momths
# https://github.com/wooster/biplist/issues/8
nosetests || die "Tests failed under ${EPYTHON}"
}

View File

@@ -1,32 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="A binary plist parser/generator for Python"
HOMEPAGE="https://pypi.org/project/biplist/ https://github.com/wooster/biplist"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
LICENSE="BSD"
SLOT="0"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
${RDEPEND}
)"
python_test() {
# This failure still occurs, after 18 momths
# https://github.com/wooster/biplist/issues/8
nosetests || die "Tests failed under ${EPYTHON}"
}

View File

@@ -1,12 +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="pypi">biplist</remote-id>
<remote-id type="github">wooster/biplist</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST blaze-0.11.3.tar.gz 9691443 BLAKE2B 13734e3b2f63ad044991644a4c8243b449c5179a80efdaa5faf6ecf443434bec7a00953f0f17d73885b9e9fa506e72a9bc369380d2d7a561f5da064d8339e03f SHA512 030079e5d3f17355dac588154ffb7ba7993935dfd39bce141341b6e2b9a17f812982ce83776ac1e4224649a343b58615621347ba65e5aba2ca2e568d755f276f

View File

@@ -1,76 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="Next generation Python numpy"
HOMEPAGE="https://blaze.pydata.org https://blaze.readthedocs.io/en/latest/"
SRC_URI="https://github.com/blaze/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="examples test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-python/bcolz[${PYTHON_USEDEP}]
dev-python/cytoolz[${PYTHON_USEDEP}]
dev-python/dask[${PYTHON_USEDEP}]
dev-python/datashape[${PYTHON_USEDEP}]
dev-python/dynd-python[${PYTHON_USEDEP}]
dev-python/flask[${PYTHON_USEDEP}]
dev-python/flask-cors[${PYTHON_USEDEP}]
dev-python/h5py[${PYTHON_USEDEP}]
dev-python/into[${PYTHON_USEDEP}]
dev-python/multipledispatch[${PYTHON_USEDEP}]
dev-python/networkx[${PYTHON_USEDEP}]
dev-python/numba[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/odo[${PYTHON_USEDEP}]
dev-python/pandas[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
dev-python/pymongo[${PYTHON_USEDEP}]
dev-python/pyparsing[${PYTHON_USEDEP}]
dev-python/pytables[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/sqlalchemy[${PYTHON_USEDEP}]
dev-python/toolz[${PYTHON_USEDEP}]
dev-python/unicodecsv[${PYTHON_USEDEP}]
dev-python/xlrd[${PYTHON_USEDEP}]
"
DEPEND="
dev-python/cython[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( ${RDEPEND}
dev-python/chardet[${PYTHON_USEDEP}]
dev-python/contextlib2[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
)
"
python_test() {
cd "${BUILD_DIR}"/lib
# trying to skip a few tests which spill errors
py.test \
--ignore blaze/compute/tests/test_mongo_compute.py \
--ignore blaze/compute/tests/test_core_compute.py \
--ignore blaze/tests/test_interactive.py \
blaze || die "Tests failed under ${EPYTHON}"
}
python_install_all() {
distutils-r1_python_install_all
if use examples; then
insinto /usr/share/doc/${PF}
doins -r blaze/examples
docompress -x /usr/share/doc/${PF}/examples
fi
rm -r "${ED}"usr/lib*/*/*/blaze/examples || die
}

View File

@@ -1,17 +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>
<longdescription lang="en">
Blaze is the next-generation of NumPy. It is designed as a
foundational set of abstractions on which to build out-of-core and
distributed algorithms over a wide variety of data sources and to
extend the structure of NumPy itself.
</longdescription>
<upstream>
<remote-id type="github">ContinuumIO/blaze</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST colander-1.3.1.tar.gz 119999 BLAKE2B 8677dc49eb24b353dc42e858da4e745e711cf852226079190e475f45e6dec341d429cf3d62cfa6b4835b9bd137956ef6a04eb7f1684807bd5f230e114f3ee2e5 SHA512 0aa9063e6f88ef63b5378cd93d3b121c8323e4632dcff31f143d2ee6dd33edb93a7fedfa06ca250288f7bc194a534f1027b89c9c6cc92765cf4348709e539da5

View File

@@ -1,57 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python3_6 pypy3 )
inherit distutils-r1
DESCRIPTION="A simple schema-based serialization and deserialization library"
HOMEPAGE="https://docs.pylonsproject.org/projects/colander/en/latest/ https://pypi.org/project/colander/"
MY_P=${P/_beta1/b1}
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
# MIT license is used by included (modified) iso8601.py code.
LICENSE="repoze MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
RESTRICT="!test? ( test )"
# Depend on an ebuild of translationstring with Python 3 support.
RDEPEND=">=dev-python/translationstring-1.1[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( dev-python/nose[${PYTHON_USEDEP}]
dev-python/iso8601[${PYTHON_USEDEP}] )"
# Include COPYRIGHT.txt because the license seems to require it.
DOCS=( CHANGES.rst COPYRIGHT.txt README.rst )
python_prepare_all() {
# Remove pylons theme since it's not included in source
sed -e "/# Add and use Pylons theme/,+37d" -i docs/conf.py || die
distutils-r1_python_prepare_all
}
python_compile_all() {
if use doc; then
# https://github.com/Pylons/colander/issues/38
emake -C docs html SPHINXOPTS=""
fi
}
python_test() {
nosetests || die "Tests fail with ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
distutils-r1_python_install_all
}

View File

@@ -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="pypi">colander</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST colorful-0.4.1.tar.gz 19696 BLAKE2B 9229200853d3050ebe61817fcfd975444a6568cbd490798c8bb2fdf3bb0286f7263d40942bb5edb28f64c6dd28e7a02cab5939d562bd2b091c05232efc3ac37f SHA512 41ce1c35193ebd8fa22bc06afb5536d02cdfc6bde89068693f6ddd1fec140f8823dafab10cf40496f48cb38ad87f874edd6819446b824028575030160b0adc7c

View File

@@ -1,23 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="Terminal string styling done right in Python"
HOMEPAGE="https://github.com/timofurrer/colorful"
SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
python_install() {
distutils-r1_python_install
find "${ED}" -name '*.pth' -delete || die
}

View File

@@ -1,12 +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 Project</name>
</maintainer>
<upstream>
<remote-id type="pypi">colorful</remote-id>
<remote-id type="github">timofurrer/colorful</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST columnize-0.3.9.tar.gz 8581 BLAKE2B 553927b6d5c9385da13402e27c5f42506840df3fd9df7aed3c077d440ac0d7ec6e5f3f0fa0ce0a7c088a1fe01075ab525580de8a22c995365f8913d2cab5e342 SHA512 2bb9a25200a1574cc6471ce06dfb2b4b62c5a23fa0e4fabad515dd2939b3f67ca61132121e4326dd820691691dce67d664302d99248ea2d5c5f25357203d9d08

View File

@@ -1,21 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="Format a simple (i.e. not nested) list into aligned columns"
HOMEPAGE="https://github.com/rocky/pycolumnize https://pypi.org/project/columnize/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="PSF-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
PATCHES=( "${FILESDIR}"/${PN}-0.3.8-nose.patch )

View File

@@ -1,15 +0,0 @@
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 4a4b238..854d3e1 100755
--- a/setup.py
+++ b/setup.py
@@ -33,6 +33,6 @@ setup(
version = VERSION,
py_modules = py_modules,
install_requires = install_requires,
- setup_requires = ['nose>=1.0'],
+ tests_requires = ['pytest'],
zip_safe = zip_safe
)

View File

@@ -1,13 +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="google-code">pycolumnize</remote-id>
<remote-id type="pypi">columnize</remote-id>
<remote-id type="github">rocky/pycolumnize</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST common-0.1.2.tar.gz 3541 BLAKE2B 5791d91a49776646ebb57bedacfbaa4b87f61ab89b4bcde2e147c5712c66f5c138b7a94f48421b751753cb689fbbd91badbf5a1fbbd185286c574f1316be7e16 SHA512 2cba2602fde34ced5b6fe603eea0aaa6810981089c9484f25ede16f6910896e783312f4d7bfc411d4eb8c278967c21ce000c3d1eb2a775d2bd76728eeebe80dc

View File

@@ -1,19 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="Common tools and data structures implemented in pure python"
HOMEPAGE="https://pypi.org/project/common/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="all-rights-reserved"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE=""
RESTRICT="mirror bindist"

View File

@@ -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="pypi">common</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST crumbs-2.1.0.tar.gz 19968 BLAKE2B 2d02e3d7235e64624558edb4de7cca133f8e013c636d9b0a087171cecc7cc0a5540e20725f65969aae3e2bfe8864fd52b1b01e501ad6ac456641befd7d3cd165 SHA512 f68a7d0eb4375db6172ce714cf9350d236320e9a37b732f96cb6fa35f11b14ff19dcb233ae5062cadede625470e777ade12ddebe669d1ab7fccf9425a31a6087

View File

@@ -1,46 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="Generalized all-in-one parameters module"
HOMEPAGE="https://github.com/alunduil/crumbs"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64"
IUSE="doc test"
RESTRICT="!test? ( test )"
CDEPEND="dev-python/pyinotify[${PYTHON_USEDEP}]"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
doc? (
dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
)
test? (
${CDEPEND}
dev-python/coverage[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
)
"
RDEPEND="${CDEPEND}"
python_compile_all() {
use doc && esetup.py build_sphinx
}
python_test() {
nosetests || die "Tests failed on ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
distutils-r1_python_install_all
}

View File

@@ -1,12 +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="pypi">crumbs</remote-id>
<remote-id type="github">alunduil/crumbs</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST d2to1-0.2.12.post1.tar.gz 35973 BLAKE2B 19cc191b18168cdbe291235eeb7d0a6f9c9ad9e049c91a337541903ee39c0f1b247bc966c311bd703ddf0283b33fa0a2dc09ec5ba78cd694bc9cdee17c625575 SHA512 89890afc78b21d78f42ef5c920d377cd58075829e025c512d86138d52943ce8b71d1245bf267f76f775c6a69bf81bf9881322bd64b0e75ae088134e6b66f4d2d

View File

@@ -1,41 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
MY_P="${P/_p/.post}"
DESCRIPTION="Allows using distutils2-like setup.cfg files for a package metadata"
HOMEPAGE="https://pypi.org/project/d2to1/ https://github.com/embray/d2to1"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE=""
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]"
S="${WORKDIR}"/${MY_P}
python_prepare_all() {
rm ${PN}/extern/six.py || die
cat > ${PN}/extern/__init__.py <<- EOF
import six
EOF
sed \
-e 's:.extern.six:six:g' \
-i ${PN}/*py || die
distutils-r1_python_prepare_all
}
python_test() {
esetup.py test
}

View File

@@ -1,17 +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>
<longdescription>d2to1 (the 'd' is for 'distutils') allows using distutils2-like
setup.cfg files for a package's metadata with a distribute/setuptools
setup.py script. It works by providing a distutils2-formatted setup.cfg
file containing all of a package's metadata, and a very minimal setup.py
which will slurp its arguments from the setup.cfg.</longdescription>
<upstream>
<remote-id type="pypi">d2to1</remote-id>
<remote-id type="github">embray/d2to1</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST datashape-0.5.4.tar.gz 99343 BLAKE2B f976a565e5a099949e359b6b2de0cd9ebf0520e780fc096b1e528e54b26d13fb68a27cc86a7ae6f402837ecd76a6f889308cc79adc9579a26173fdf2f8abf234 SHA512 3640c3871e6a00ad5c9961586821c0aab94ed10e82f5c2d361707c66853025aec70793f74f057c30a7bbc58d4645791b33df2916732e703586fd6bb84e91bdfa

View File

@@ -1,50 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="Language defining a data description protocol"
HOMEPAGE="https://github.com/blaze/datashape"
SRC_URI="https://github.com/blaze/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/numpy-1.7[${PYTHON_USEDEP}]
>=dev-python/multipledispatch-0.4.7[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
"
DEPEND="
doc? ( ${RDEPEND} dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( ${RDEPEND}
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)
"
python_prepare_all() {
# Prevent un-needed d'loading
sed -e "s/'sphinx.ext.intersphinx', //" -i docs/source/conf.py || die
distutils-r1_python_prepare_all
}
python_compile_all() {
use doc && emake -C docs html
}
python_test() {
py.test || die "Tests failed under ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( docs/build/html/. )
distutils-r1_python_install_all
}

View File

@@ -1,15 +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>
<longdescription lang="en">
DataShape is a language for describing data. It is an extension of
the NumPy dtype with an emphasis on cross language support.
</longdescription>
<upstream>
<remote-id type="github">blaze/datashape</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST deform-0.9.9.tar.gz 1336829 BLAKE2B 45ef40587e308f889ab8088abea51756291289c44d2ccbc63cafffea57d885360ef750860f95436a3e6d1b4f16ba67e8ebac69ff8281466227655a51a813c00b SHA512 f0f615415696adba8add8f37c7ab8b8d213ec6d1eb68e2322961cef46df9e381b2368515b524d71eed110a33aa8a7f0aee8302e39b4d6a8871a0eb78108aca11

View File

@@ -1,40 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="Another form generation library"
HOMEPAGE="https://docs.pylonsproject.org/projects/deform/en/latest/ https://pypi.org/project/deform/ https://github.com/Pylons/deform"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="repoze"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
# tests require zope.deprecation
RESTRICT="test"
RDEPEND=">=dev-python/translationstring-1.1[${PYTHON_USEDEP}]
>=dev-python/colander-1.0_alpha1[${PYTHON_USEDEP}]
>=dev-python/peppercorn-0.4[${PYTHON_USEDEP}]
>=dev-python/chameleon-1.2.3[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
test? ( dev-python/beautifulsoup:4[${PYTHON_USEDEP}] )"
# Include COPYRIGHT.txt because the license seems to require it.
DOCS=( CHANGES.txt COPYRIGHT.txt README.txt )
src_install() {
distutils-r1_src_install
# Install only the .rst source, as sphinx processing requires
# a theme only available from git that contains hardcoded
# references to files on https://static.pylonsproject.org/ (so
# the docs would not actually work offline). Install the
# source, which is somewhat readable.
docinto docs
dodoc docs/*.rst
}

View File

@@ -1,12 +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="pypi">deform</remote-id>
<remote-id type="github">Pylons/deform</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,2 +0,0 @@
DIST distlib-0.2.1.zip 542424 BLAKE2B 241b14519499b76beaa8994b30be8b78ea83f3073668174f4e2e02cc9609feb957b3b4fdb59e68943223e6fb8d0251a8bab990396c4e4297c683ab4eda8fbcc9 SHA512 f6453585650db242ad4a176bbd468cc6069ee0941b6ea23f24fc32000778097d8a100de82eaad7b3d8d998dc153d25f537505c7eefcc6f98f37995cfc9d5be77
DIST distlib-0.2.4.zip 547411 BLAKE2B 763027059faccdcee682d5eddbdeb2c23cfefff178d992db811233b48d7a4d605626f8619d51dacc55ae5a016557e528b0bec0c625258e469f2fd98a9a659c6b SHA512 03f9f9474578226e1a40a85a490aead3ec0509ba444856a263d4f25b3c86b5f919a3e18ff715a3a329d80a3f20a540b8c57a6e3dff55703c9cce730e2d021084

View File

@@ -1,27 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python3_6 pypy3 )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="Distribution utilities"
HOMEPAGE="https://pypi.org/project/distlib/ https://bitbucket.org/vinay.sajip/distlib https://github.com/vsajip/distlib"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
SLOT="0"
LICENSE="BSD"
KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
IUSE=""
DEPEND="app-arch/unzip"
python_test() {
sed \
-e '/PIP_AVAILABLE/s:True:False:g' \
-i tests/*py || die
PYTHONHASHSEED=0 esetup.py test
}

View File

@@ -1,53 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 pypy3 )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="Distribution utilities"
HOMEPAGE="https://pypi.org/project/distlib/ https://bitbucket.org/vinay.sajip/distlib https://github.com/vsajip/distlib"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
SLOT="0"
LICENSE="BSD"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE=""
DEPEND="app-arch/unzip"
PATCHES=(
"${FILESDIR}"/${PN}-0.2.2-unbundle.patch
)
python_prepare_all() {
rm -r \
distlib/*.exe \
distlib/_backport \
tests/test_shutil.py* \
tests/test_sysconfig.py* || die
distutils-r1_python_prepare_all
# Broken tests
# 1 fails due to it being sensitive to dictionary ordering
# inconsistency between code and test
sed \
-e 's:test_dependency_finder:_&:g' \
-i tests/*py || die
# Gentoo still doesn't report correct ABI
sed \
-e 's:test_abi:_&:g' \
-i tests/*py || die
}
python_test() {
sed \
-e '/PIP_AVAILABLE/s:True:False:g' \
-i tests/*py || die
SKIP_ONLINE=True PYTHONHASHSEED=0 esetup.py test
}

View File

@@ -1,35 +0,0 @@
--- distlib-0.1.9/distlib/compat.py.orig 2014-06-06 09:58:21.317560756 +0200
+++ distlib-0.1.9/distlib/compat.py 2014-06-06 09:58:29.955611427 +0200
@@ -17,7 +17,7 @@ if sys.version_info[0] < 3:
from types import FileType as file_type
import __builtin__ as builtins
import ConfigParser as configparser
- from ._backport import shutil
+ import shutil
from urlparse import urlparse, urlunparse, urljoin, urlsplit, urlunsplit
from urllib import (urlretrieve, quote as _quote, unquote, url2pathname,
pathname2url, ContentTooShortError, splittype)
@@ -267,7 +267,7 @@ except ImportError: # pragma: no cover
try:
import sysconfig
except ImportError: # pragma: no cover
- from ._backport import sysconfig
+ import sysconfig
try:
callable = callable
--- distlib-0.1.9/setup.py.orig 2014-06-06 10:19:13.971997156 +0200
+++ distlib-0.1.9/setup.py 2014-06-06 10:19:20.012034150 +0200
@@ -62,12 +62,7 @@ distutils.core.setup(
platforms='any',
packages=[
'distlib',
- 'distlib._backport',
],
- package_data={
- 'distlib._backport': ['sysconfig.cfg'],
- 'distlib': ['t32.exe', 't64.exe', 'w32.exe', 'w64.exe'],
- },
cmdclass={
'test': TestCommand,
},

View File

@@ -1,13 +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="pypi">distlib</remote-id>
<remote-id type="github">vsajip/distlib</remote-id>
<remote-id type="bitbucket">vinay.sajip/distlib</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST django-appconf-1.0.1.tar.gz 16743 BLAKE2B 0f40d2bac6ca596c83dd67b1109c0a298d845a8091565aceb57230132004f634e9227aeaf07766a3e690feae9833ec1395bc6f409f4412648d8e7df4c2533ba1 SHA512 b6075bed0372f7f9da7c7af49124a08a2d119533ea15b284529166bcc09e61a541ce179a696dd426a9323ea1874c219880869ef7934345f4d40b1b3201eb2c6d

View File

@@ -1,39 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="A helper class for handling configuration defaults of packaged apps gracefully"
HOMEPAGE="
https://github.com/jezdez/django-appconf
https://django-appconf.readthedocs.io/en/latest/
https://pypi.org/project/django-appconf/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND="
>=dev-python/django-1.4.1[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
"
PATCHES=( "${FILESDIR}"/docs.patch )
python_compile_all() {
use doc && emake -C docs html
}
python_install_all() {
use doc && HTML_DOCS=( docs/_build/html/. )
distutils-r1_python_install_all
}

View File

@@ -1,16 +0,0 @@
Prevent unwanted d'loading of un-needed oject.inv files in doc build
diff -ur django-appconf-0.6.orig/docs/conf.py django-appconf-0.6/docs/conf.py
--- docs/conf.py 2013-01-29 01:45:50.000000000 +0800
+++ docs/conf.py 2013-05-18 21:40:38.737985957 +0800
@@ -218,11 +218,3 @@
('index', 'django-appconf', u'django-appconf Documentation',
[u'Jannis Leidel and individual contributors'], 1)
]
-
-
-# Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {
- 'python': ('http://python.readthedocs.org/en/v2.7.2/', None),
- 'django': ('http://django.readthedocs.org/en/latest/', None),
- 'celery': ('http://celery.readthedocs.org/en/latest/', None),
-}

View File

@@ -1,12 +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="github">jezdez/django-appconf</remote-id>
<remote-id type="pypi">django-appconf</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST django-baker-0.11.tar.gz 14920 BLAKE2B 532a0a528cce8468b989d4fe876bea05ce11bbfaa39e15d23f730dd27329914b4c8e87e5b5c1df417939e937b2651a03d6801bbca0c3735ea1d11cdcf08a1c81 SHA512 98a64efec8a0cabe9c4091852f3dcbff95007c0ff2020b782f73ab6cc5e3d73cd52356546f1f64b55a69fefdf8f053d95d604584831cf07cb1b8037446892439

View File

@@ -1,22 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="Management command that generates views, forms, urls, and templates for models"
HOMEPAGE="https://pypi.org/project/django-baker/ https://github.com/krisfields/django-baker"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""
PATCHES=(
"${FILESDIR}"/${P}-py3-backport.patch
"${FILESDIR}"/${P}-py3-iter.patch
)

View File

@@ -1,50 +0,0 @@
From baf971a58d310d6d3bfe7ddea81b33c810e3d3cf Mon Sep 17 00:00:00 2001
From: Tim Kamanin <tim@timonweb.com>
Date: Sat, 21 Feb 2015 18:42:45 +0100
Subject: [PATCH] Added Python 3 support
---
django_baker/bakery.py | 4 ++--
django_baker/management/commands/bake.py | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/django_baker/bakery.py b/django_baker/bakery.py
index ff04ef3..7c0cbc2 100644
--- a/django_baker/bakery.py
+++ b/django_baker/bakery.py
@@ -4,7 +4,7 @@
import re
from django.template.loader import get_template
from django.template import Context
-
+from django.utils.six import iteritems
class Baker(object):
"""
@@ -16,7 +16,7 @@ def bake(self, apps_and_models):
"""
Iterates a dictionary of apps and models and creates all the necessary files to get up and running quickly.
"""
- for app_label, models in apps_and_models.iteritems():
+ for app_label, models in iteritems(apps_and_models):
model_names = {model.__name__: self.get_field_names_for_model(model) for model in models}
self.create_directories(app_label)
self.create_init_files(app_label, model_names.keys(), models)
diff --git a/django_baker/management/commands/bake.py b/django_baker/management/commands/bake.py
index e602345..f7dc16a 100644
--- a/django_baker/management/commands/bake.py
+++ b/django_baker/management/commands/bake.py
@@ -1,3 +1,4 @@
+from __future__ import print_function
from django.core.management.base import BaseCommand, CommandError
from django.core.exceptions import ImproperlyConfigured
from django.db.models import get_app, get_models
@@ -51,7 +52,7 @@ def get_selected_models(self, app, app_label, model_names):
"""
if model_names:
try:
- print app_label, model_names
+ print(app_label, model_names)
return [get_model(app_label, model_name) for model_name in model_names]
except:
raise CommandError("One or more of the models you entered for %s are incorrect." % app_label)

View File

@@ -1,42 +0,0 @@
From c6c856c999cb9a9ce4ec8ecee714da7f6719019d Mon Sep 17 00:00:00 2001
From: Matt Clement <mclement@savantgroup.com>
Date: Tue, 3 Mar 2015 14:57:41 -0500
Subject: [PATCH] Switch iteritems to items for Py3 compatibility
---
django_baker/templates/django_baker/__init__urls | 2 +-
django_baker/templates/django_baker/forms | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/django_baker/templates/django_baker/__init__urls b/django_baker/templates/django_baker/__init__urls
index 1baf063..d6c9bec 100644
--- a/django_baker/templates/django_baker/__init__urls
+++ b/django_baker/templates/django_baker/__init__urls
@@ -1,6 +1,6 @@
from django.conf.urls import patterns, include
urlpatterns = patterns('',
-{% for model_name_slug, plural_model_name_slug in model_names_dict.iteritems %}
+{% for model_name_slug, plural_model_name_slug in model_names_dict.items %}
(r'^{{ plural_model_name_slug }}/', include('{{ app_label }}.urls.{{ model_name_slug }}_urls')),{% if forloop.first %} # NOQA{% endif %}{% endfor %}
)
diff --git a/django_baker/templates/django_baker/forms b/django_baker/templates/django_baker/forms
index 1f55c86..a21234d 100644
--- a/django_baker/templates/django_baker/forms
+++ b/django_baker/templates/django_baker/forms
@@ -1,7 +1,7 @@
from django import forms
from .models import {{ model_names|join:", " }}
-{% for model_name, model_fields in model_names.iteritems %}
+{% for model_name, model_fields in model_names.items %}
class {{ model_name }}Form(forms.ModelForm):
class Meta:
@@ -36,4 +36,4 @@ class {{ model_name }}Form(forms.ModelForm):
def save(self, commit=True):
return super({{ model_name }}Form, self).save(commit)
{% if not forloop.last %}
-{% endif %}{% endfor %}
\ No newline at end of file
+{% endif %}{% endfor %}

View File

@@ -1,12 +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="pypi">django-baker</remote-id>
<remote-id type="github">krisfields/django-baker</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST django-crispy-forms-1.6.0.tar.gz 118917 BLAKE2B f504542164a911a8bd682438a14c949072415fbc84b28683004595cc41f51142de77d894649093e96444f85076fe145df8ac974c536413289b905d2ffa09cedf SHA512 8fa46366d2f3376f4190c219a624eaf983c19243db25d6c1723917ab5f8c2d9087e2228f3208df8bd35ba26abe00f6cef46e1e3ca0c0097282d292a217f977f8

View File

@@ -1,32 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="Best way to have Django DRY forms"
HOMEPAGE="
https://pypi.org/project/django-crispy-forms/
https://github.com/maraujop/django-crispy-forms
https://django-crispy-forms.readthedocs.org/en/latest/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
"
# Seems to be incompletely packed
RESTRICT=test
python_test() {
DJANGO_SETTINGS_MODULE=crispy_forms.tests.test_settings py.test crispy_forms/tests || die
}

View File

@@ -1,12 +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="pypi">django-crispy-forms</remote-id>
<remote-id type="github">maraujop/django-crispy-forms</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST django-discover-runner-1.0.tar.gz 9190 BLAKE2B d8f1c0b3ff65b7e0432f6f14a01ffd7309ff4800267a35fa9ef882c512c15e4ceb0013ed958b4bb908251376967f2c3a513c4c9f147a9eea3a8d70e089f8d6c6 SHA512 669287ed7f801dbfe949e2affd9ee1861aa6a41fcc2e2403dc2e106dee3d23c8400d686ef750242bdc74d23eaf316fcf36071c82d7c458ff724305e5fe27410e

View File

@@ -1,21 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="A Django test runner based on unittest2's test discovery"
HOMEPAGE="https://github.com/jezdez/django-discover-runner
https://pypi.org/project/django-discover-runner/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/django[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"

Some files were not shown because too many files have changed in this diff Show More