Medusa (and dependencies)

This commit is contained in:
2018-11-09 17:53:55 -08:00
parent b5afec3bb3
commit 567265d773
66 changed files with 1571 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy 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 ~sh ~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

@@ -0,0 +1,3 @@
DIST CacheControl-0.12.5.tar.gz 14383 SHA256 cef77effdf51b43178f6a2d3b787e3734f98ade253fa3187f3bb7315aaa42ff7 SHA512 b7be614c84405ad4bc1125d3d4d149131ffd56455925c7eea4706c4a2d3841e1edfca58f9612cd85dc2a2838313b4c0e56df4ba93a5297b12ebafbb900ea20f6 WHIRLPOOL f7b37d647a12d17ce91e06de729665c6b855ec58f9293bb979927f5b16f6d43bd0bd41ef93e505582d4a97b8524fa75b7e47b13e72c8d40c51840dd9489f5b3d
EBUILD CacheControl-0.12.5.ebuild 903 SHA256 8db6ec486eb683b469b00cc09619750c2dbef183bf8bf9551d3b47696dda4f17 SHA512 339a43649ccc78800ee9ccbe327c827d7acda9f01d77d02929d6a9917f757a83edd48945615b221ac5732c7d0a081ce784fe50026446e8be2cadeedeec4c7a30 WHIRLPOOL 12d7786a7009bd2a79e702e818c583a35477822c6349da12094d711d6e9b96d30e630b110c8b4aa9a828f06012c9137ea155cbb8d701f716f25bb8adc23d05d2
MISC metadata.xml 387 SHA256 2489e872a5c0fe2c69017187eb092455259e344699bf597870bc50e2c3ed606c SHA512 c80bc300402e7cac33d5350aafda6c93579b3d14094ea34bfe4dd898ca498ab0139c428f01e4917544df64a1aef0022a4868650e2bb66f2cf9606c28fe885f65 WHIRLPOOL 85d1c45a9d00892d1c45ec1143488c644f94c42190de5d235dcd5477536a7f144a21c65065ba64c79b0b8680f2ada86bab24c12a8827d2e5f536006d3e6ad97f

View File

@@ -0,0 +1,12 @@
<?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>

4
dev-python/adba/Manifest Normal file
View File

@@ -0,0 +1,4 @@
AUX setup.py 852 SHA256 39a979cd8bf3c0eb2f8af5b978e4f0f0e8796d06e65ed349fbe0b62e96d20601 SHA512 b96453cadd4b01dbfaa25b909c81328dc26b90bb86c78aa32e0091da5ae5283efbe55c24d89274a939e2a4f396754145973210e1d2fc82ee87ca855688de4f6a WHIRLPOOL 9f0a1a328cdf360da7986b5c69fb3c660b93aadf7186ad968ea6be5c2b955c64b81a7a80bf38ef814c7af2fb88676c75d651c8e4ad3d1867a7d2e8ce259731e0
DIST adba-1.1.0.tar.gz 662594 SHA256 dac9c8b61eeb14a7f8a7bd6d24d7f7b1709211a210a9ef6c5d6698c73ddb3792 SHA512 42497c470baf9a908b48dae3dd5d47d1700b55fd10e9d5597827d425f89a45e86ec1f878b463fe95d6ecae68dbeb498a654dd8d7a05545c976f2351b3950156d WHIRLPOOL ebdd1455bb01c393358b4bd0305c2769c0f0e7b2d402032461294e5349ed6f1c68b083e2eab7e299e3c45403959f9ce1b77af3f7fb6f4407b1fd286b4dd6c8e4
EBUILD adba-1.1.0.ebuild 551 SHA256 d2fa1ef771b29786200bba63a57fe67b8e310d8fd2cb77c68570d5e81b8f0401 SHA512 4e1b68afc759f6907f937d941e1d21ed03b916b3a04be7577e3df15d94dcc430501e9b5bed9020be88ae4933bc6c02429875f7809c407b081fde21d2204f5019 WHIRLPOOL e4eff7d17d5bc65e4cd48187c31905817169ab860af72af74f2ae3f838d29d1ba038bb67045e9dbed1da0eac3dae9820ff15ae6a350cb3048cf9e7f0e96dfdda
MISC metadata.xml 339 SHA256 1bedf8d0b713cbd7ef928bd788e12fdf011fb7d176a516473125e54270fe5a50 SHA512 7b21790671400085139631b3f37efbc517513e319098654c41c5bd5ac541cf3a176e2f831f27ee8e07793962c0971ea94191911f3d85a0de0e3a583d071b6654 WHIRLPOOL e092ab35ec6e986baed0f7c338fa7c48b7892c4b15cdbc5dc3175c7a60e7bd3835e5dd2546d252160c9479d226eab9d6c0ee40a8b0e60e38326c7a895a15d7a2

View File

@@ -0,0 +1,28 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
inherit distutils-r1
DESCRIPTION="simple and abstract interface for anidb"
HOMEPAGE="https://github.com/pymedusa/adba"
SRC_URI="https://github.com/pymedusa/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/configparser-3.5.0
<dev-python/configparser-4.0.0
"
DEPEND=""
src_unpack()
{
unpack $A
cd $S
cp $FILESDIR/setup.py .
}

View File

@@ -0,0 +1,30 @@
#!/usr/bin/env python
import io
import os
from setuptools import setup
with io.open(os.path.join(os.path.dirname(__file__), 'README'), 'r', encoding='utf-8') as fh:
long_description = fh.read()
setup(
name='adba',
version='1.1.0',
description='Python wrapper for the AniDB.net UDP API',
long_description=long_description,
url='https://github.com/pymedusa/adba',
packages=['adba'],
install_requires=[
'configparser>=3.5.0,<4.0.0;python_version<"3"'
],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
]
)

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>jauhien@gentoo.org</email>
<name>Jauhien Piatlicki</name>
</maintainer>
<longdescription>The BitTorrent bencode module as light-weight, standalone package.</longdescription>
</pkgmetadata>

View File

@@ -0,0 +1,3 @@
DIST bencode-2.0.0.tar.gz 7266 SHA256 067cf936e29a7b698d2b4d00902343b78d434d73d837c33d6ca1a8be6038fe72 SHA512 50257e377f2af3c5b9306d31690ac3e2246d444456c6d2a39778bf586f93085206cdf96d7e0d916a770568495042231fe1dc46bcae49300cfe831b3290e3ada6 WHIRLPOOL 7aa35227708dec43df26c851ed1bb63a4970ec6bcd7fca380d128f974fcf9b565686d71e2517db43cbc73f37790135733771dd26961e3398851952f0133db43a
EBUILD bencode-2.0.0.ebuild 530 SHA256 89faa763e78cc698427a5346901f42b7ff16822c29b7c5ed49482019ce8320a7 SHA512 e4d2f344d4a61af2991479c11d7a51bfcfd3dfb0cc476d11f5c2016d24cec505a763320b8bf008112ab3ad63f3b0722804e819eb648e7dc316d86e17eaa35dcb WHIRLPOOL b6aacb3c41d47600663081210c183949ddb1cc6c6e623e6983ab4004323a16a596238fcaafea07ab322827701f5fc748eb2eebfb46a9dec9e93d29fabc688dd9
MISC metadata.xml 339 SHA256 1bedf8d0b713cbd7ef928bd788e12fdf011fb7d176a516473125e54270fe5a50 SHA512 7b21790671400085139631b3f37efbc517513e319098654c41c5bd5ac541cf3a176e2f831f27ee8e07793962c0971ea94191911f3d85a0de0e3a583d071b6654 WHIRLPOOL e092ab35ec6e986baed0f7c338fa7c48b7892c4b15cdbc5dc3175c7a60e7bd3835e5dd2546d252160c9479d226eab9d6c0ee40a8b0e60e38326c7a895a15d7a2

View File

@@ -0,0 +1,21 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
inherit distutils-r1
DESCRIPTION="Simple bencode parser"
HOMEPAGE="https://github.com/fuzeman/bencode.py/"
SRC_URI="mirror://pypi/${PN:0:1}/bencode.py/bencode.py-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/bencode.py-${PV}"
LICENSE="bittorrent-osl"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
>dev-python/pbr-1.9"

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>jauhien@gentoo.org</email>
<name>Jauhien Piatlicki</name>
</maintainer>
<longdescription>The BitTorrent bencode module as light-weight, standalone package.</longdescription>
</pkgmetadata>

View File

@@ -0,0 +1,2 @@
DIST boto_utils-0.3.tar.gz 6958 SHA256 578d97a8b04b3fa66ed28ab939f32fe557dd3c1a37d97f59bb3f42b4ce05b39e SHA512 353d8c7c973f806b8017163971da40016e1c8decbf5497e7b914425135700850641fd26b273f0b9cfd8c776bff93ac4e95b6bf9019c3b5f7fbb70d701b1af701 WHIRLPOOL 903846a708baf0fe3d3789edaf609592ccdae453752be548acb722a631cb04bb4251689f3587f36f2d532f8db580e415e012aa0fbcb9e61a806a56117205ba97
EBUILD boto_utils-0.3.ebuild 357 SHA256 eae368ebd4dc833264be703b0bee40e6f857bcca06d0c226d913b111406a10ae SHA512 90dd5f27f01f64d0c37740c01633e114b24cfae7a563033e646e694341cc426133f8cb7327226ff8bd11b44f5be9433ea68cb195a77f77aa702a02299fb4c3a9 WHIRLPOOL 35f4cfa7f3bd8cb92061782121d6dad367126b601d8989d5897e2f691cb39585331744aa656f8ced4bede21ccbf612c43e5adc8d7aab67a7b465d574f5eee990

View File

@@ -0,0 +1,19 @@
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
DESCRIPTION="Command-line tools for interacting with Amazon Web Services, based on Boto"
HOMEPAGE="https://pypi.org/project/boto_utils/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/boto-2.2.0
dev-python/pytz
"
DEPEND=""

View File

@@ -0,0 +1,2 @@
DIST cfscrape-1.9.5.tar.gz 8390 SHA256 cb9159955d0e6e82cf4ad8cc9b19413e68ebfed1ce98a26e51f62e66d45146f1 SHA512 6b14266106e80ea77b393a7c358831f7cecedddb22011a835cc102c2cf913bf9cc9ae91d3a49d7c450bbf809b334ef85eb22175afb019ffa14fbd3d906bcf3f6 WHIRLPOOL 3518e47a3dc20be1b5fa89ffd7b5250cabf4c0f2516721edda97c1eb1888b77ab5ec1ef1bd77958d9f2ea2e2cdf4a701119fe3b1b9a1c4e4610f53b6b45e7eb6
EBUILD cfscrape-1.9.5.ebuild 326 SHA256 c8d6869f6cafd679244a802259c1684b1ae06e202beea354e1395bcc1052988c SHA512 52b41f664dd5928a98cb672a322f4de2ad3df033eaec1bd2d139e89cedeede4a5201a2d79100a198bffefb718d1beddd5246e60a521ae3a664e8e4581e38a6f6 WHIRLPOOL 5eee8fc374fa0bbc81ed5f7f87759ca60af904b469b827b40610d94f34483ea4710ed23fca8a06a87f6005c389ebeeeb1af7009583fbb6dc03e5da23884f1844

View File

@@ -0,0 +1,19 @@
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
inherit distutils-r1
DESCRIPTION="module to bypass Cloudflare's anti-bot page"
HOMEPAGE="https://pypi.org/project/cfscrape/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=""
RDEPEND="
>=dev-python/requests-2.0.0
"

View File

@@ -0,0 +1,2 @@
DIST dirtyjson-1.0.7.tar.gz 25351 SHA256 b1d1e457b5432fd53283eb0341b2a273690a8b6bb9090689d2cd6a776f57efe7 SHA512 9d741111aae33853a1cbba3fc3bd3cdacbfdca2861289822cd646e0bbe06dd1ccc6f3118cb743680e4dc3855113c1cfb63a9d909d0bff3c3d9124b04849e181f WHIRLPOOL f003b202a16ab224270bf1612463bc195d63c01e530a01ba1fb55a147256b237660f1d45a35457988d3ab9746a2125acd896ea989924d6b07eba043872d348c7
EBUILD dirtyjson-1.0.7.ebuild 325 SHA256 c4fc7b03a81d94a60b19cd8f9674140c8174903e770215e8fa434636701f1985 SHA512 03261bb38c4126746a37c1424b34991a900d6131489ece207ef4921f8de9cadaf97a1febaee99709b6ce862bbcb2d31a22db14595595ba30957003d37432a3fb WHIRLPOOL 1202d99d3e994a2a944510f7019ddaeab01b7cf620588d551b596d42edd9b149c005f64c0ddaf1476de10a2ebe804d5f10823f5e5d9f5979103735076abf93fe

View File

@@ -0,0 +1,16 @@
EAPI=6
PYTHON_COMPAT=( python2_{6,7} python3_{3,4,5,6})
inherit distutils-r1
DESCRIPTION="Python JSON parser for reading JSON objects out of JS files"
HOMEPAGE="https://pypi.org/project/dirtyjson/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT AFL-2.1"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=""
DEPEND=""

View File

@@ -0,0 +1,3 @@
DIST diskcache-2.8.3.tar.gz 438587 SHA256 61ccc77a51a3e3b31abfb80de7163ba51ce09b1612e0d026f1c0457575c23002 SHA512 d96ac76dfb68cb817febd3f4ed8927a8409c02b13b4112a739528cade40f9a588c732dfc3148392dd12676380c3a2b006ee63b86f30ad70f5d205273003bf23d WHIRLPOOL 0ad78c98a64ae59661eb08c842cb363b42f076e856c1eca8c516bb6b14856c6391afc8a2d5e01bfe0e20fe88e20b8967dbd7cda51785e13e7c6b1dd9947930fd
EBUILD diskcache-2.8.3.ebuild 819 SHA256 f4899f570aa9a68087d88e0c20b12da872b702cd2aa8e5c40fff506220c84af6 SHA512 127d04e92450423cadecda679465dff12ac96c8312fb61f42840f5e055ae85e50de5f58679999583741b8d6fbf58d0e146e48bb81d5c87e150cdc8a480d365ea WHIRLPOOL 5cc5e27aaaf130fd7095e843021dc01c1001ecfb8f3d4bb25e9dd5199f4fb2bcebe6c4f16653c0e5420fe93e644161a735342a0dc129dd59230ebce32f127ea6
MISC metadata.xml 391 SHA256 cf1d3d976cf6eb05f2636e2c9d9064f85ec561d0fc55b72fb52c535275f41f16 SHA512 0d088c14dbbf7c11541b5f47d193280c0f92f8f1b3ec62c8aad49648b3fbcc393ce639b5b9ae18533a4d4b9cb5ad536a5a847b705e2b4bd385d3b90d48f812ec WHIRLPOOL 6d29118acc202a920f81dd62f05482a84ec03835bd34ea80cca93cca550e560d32d2c18bbda18c7b6f778de7817b29e0c7eefe4edd63ef29dd930d8cfe5b6821

View File

@@ -0,0 +1,41 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
HOMEPAGE="http://www.grantjenks.com/docs/diskcache/"
DESCRIPTION="Disk and file backed cache"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
RDEPEND="
dev-python/django[${PYTHON_USEDEP}]
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
${RDEPEND}
dev-python/mock[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
)
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
"
python_compile_all() {
if use doc; then
emake -C docs html
HTML_DOCS=( docs/_build/html/. )
fi
}
python_test() {
nosetests -v || die "failed with ${PYTHON}"
}

View File

@@ -0,0 +1,12 @@
<?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">diskcache</remote-id>
<remote-id type="github">grantjenks/python-diskcache</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,3 @@
DIST feedparser-20180811.03.tar.gz 250088 SHA256 e0aba3855f44e1916180190e27c090c757906aae01fdd11f7931f634ce74f826 SHA512 900e5696ed85238c2c57466c9c02aa7c355ef512f0eac11e0beb84313702db4f0066a2c446fb6e38e61152f255607c8f5e25a00bcb2e0e8f556bd678b82c2dd4 WHIRLPOOL 48c98977658f46bf293bf04c2451f1971b918def27c25cfbff42afa6d9a2770ff7ec1f2047e12f44593dfbb5304537a2ab904efda209f375f39f21a75b7f426f
EBUILD feedparser-20180811.03.ebuild 1138 SHA256 a67cc7740ec615ec006554f3c3f30da4686eca6b95d506d8a7c76b1d60a0bf0c SHA512 866598099725f32ea957994dafc90098e17f88a943010aee73eb90d06b7f68b3b3bb001e2b33a6e3608af20b1b7b0644e7607ba2d56a97ffc0a042a5b559522b WHIRLPOOL fdeab0937c6911756eb63498fb8baba855cd112d95514fe9249c0fe7669ca876c245c3528c623288ce307d3fb6f1557ae9b371492aad8cfc21305b8b68aa7a74
MISC metadata.xml 545 SHA256 e3e9ff90e29ef8d291b9a14d1a1695c20b5ff381d1a0531e3e659fbddcb6cd65 SHA512 529faf4a7612e461dbae6746acf9e886a0ea497b11996e0c5f89de5fece30b544226fdf02a4e19915d132e40b0abcc5b180cce36b5a9f172cd6364ebe3d3f46d WHIRLPOOL 4b389c1312d6e2df2ad7da8520e597d9558bc51d72087dc046fa569fa9603dfed7f02e11f835273a44330e22c937533dea175f40763f63bf004f9a05a6d387f4

View File

@@ -0,0 +1,37 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
inherit distutils-r1
COMMIT=2b11c8028321ed43cbaf313f83b0c94820143d66
DESCRIPTION="Parse RSS and Atom feeds in Python"
HOMEPAGE="https://github.com/kurtmckee/feedparser https://pypi.org/project/feedparser/"
SRC_URI="https://github.com/kurtmckee/$PN/archive/$COMMIT.tar.gz -> ${P}.tar.gz"
S=$WORKDIR/$PN-$COMMIT
# sgmllib is licensed under PSF-2.
LICENSE="BSD-2 PSF-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND=""
# Tests have issues with chardet installed, and are just kind of buggy.
RESTRICT="test"
python_test() {
cp feedparser/feedparsertest.py "${BUILD_DIR}" || die
ln -s "${S}/feedparser/tests" "${BUILD_DIR}/tests" || die
cd "${BUILD_DIR}" || die
if [[ ${EPYTHON} == python3* ]]; then
2to3 --no-diffs -w -n feedparsertest.py || die
fi
"${PYTHON}" feedparsertest.py || die "Testing failed with ${EPYTHON}"
}

View File

@@ -0,0 +1,14 @@
<?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>Parse RSS and Atom feeds in Python. 2000 unit tests. Open source.</longdescription>
<upstream>
<remote-id type="google-code">feedparser</remote-id>
<remote-id type="github">kurtmckee/feedparser</remote-id>
<remote-id type="pypi">feedparser</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,2 @@
DIST imdbpie-5.6.3.tar.gz 14750 SHA256 39946cf15ea6e105496e282a0464eb57d756c5a3341dfccb4aa2ba666cf885a8 SHA512 738863649b41981d83179afeeb57f41140be1275b8e41b05a576610af68412778bdf0386fae2b28768bfea7ed33a15d53907d83feb49b730f9c20616c1b37212 WHIRLPOOL 924be503b2938b51d358a6827e28956088bb558fbbe4eae3c98b405818b530ecca02807ffaef4f7e2fa474500fc71b5a375e5673c052ed47e55c5ae4bbec15dd
EBUILD imdbpie-5.6.3.ebuild 350 SHA256 ca98de4fc1bc1ec8ae5cca378bbc55568b97b742c52ccc819cb84c3b926325f2 SHA512 b05a65dec4c360c39c4787279abe79b742b7f3d5aa1b948ea04674f8c8c3b583e44b55e04b9590d9b7084040b8bf2d390d1f048918633c79dacbd07e1161e3e3 WHIRLPOOL 5cb0774dc342add909f675a35f45c8c5b490f1bdf93b9e30e68d902f7f3f0ef6b7decee5995c0fa4e2c171abbe61545704cc73d7bf9add077359b1b5b3643e25

View File

@@ -0,0 +1,16 @@
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{3,4,5,6})
inherit distutils-r1
DESCRIPTION="Python IMDB client using the IMDB JSON web service made available for their iOS application"
HOMEPAGE="https://pypi.org/project/imdbpie/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=""
DEPEND=""

View File

@@ -0,0 +1,3 @@
DIST jsonrpclib-pelix-0.3.2.tar.gz 38658 SHA256 14d288d1b3d3273cf96a729dd21a2470851c4962be8509f3dd62f0137ff90339 SHA512 074a0ca5893a8a488a11304aa6f2fb6a27b1e18f5b76a580c5b77049042d3ee90f2ecfc193200dfa6e8fdafb0f68c3c2e4c27384770d0cf9e9bf7012c6fc735f WHIRLPOOL 0f2379ad5a332db6a0269c734efba9ce91db3c8cfbe462a5a1a3b1b824a26ef7cc2770d877ea0a0f5ee14bb8c42c0a84559bf017579d4c077109adeb5f29c903
EBUILD jsonrpclib-pelix-0.3.2.ebuild 581 SHA256 c818e43ed3976eaf74c50688ac6d47e9fc65626782238e562493e26715842b13 SHA512 1cbcaa73a1a2da7858ced4e765ca8141f078c35862c9a6237dbc5c2f99181937ffd00b6d5b482826943c7f07f08a56bcfcb873da344534936cee9e1a08648203 WHIRLPOOL 5ac185aeb0071bf626b2989d8af6bdeec6a6e3d8680cf64c01b2efbbc3fe6a0d6334a26942cab5bbc37005d1d0369c63243ec6f4faab04d19d29492ccbb22267
MISC metadata.xml 453 SHA256 f16e7c3db282d2bb027138a8b873f46dfcbef8b95e74d4c77a5f523efd49c632 SHA512 5ecbc0cc593546cfc7bb86cb789df99aa25e38c215971c35e0dab83d6134348f591db126f62f4a578728922b2aaad0d664b797edd85324b51c6b9e6ec0cd264e WHIRLPOOL dda2bcb6f3d7451b431c26c91b8a12be38046659ecaef145551cbcd4ee5d38c0d66188d53543f769518204a623a699b052ff9f8ef487693907e0f0064ae6a102

View File

@@ -0,0 +1,25 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
inherit distutils-r1
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="amd64 arm ~mips x86"
DESCRIPTION="python implementation of the JSON-RPC spec (1.0 and 2.0)"
HOMEPAGE="https://pypi.org/project/jsonrpclib-pelix/"
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
DEPEND="!dev-python/jsonrpclib"
RDEPEND="${DEPEND}
dev-python/simplejson"
python_test() {
esetup.py test || die "tests failed with ${EPYTHON}"
}

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>blueness@gentoo.org</email>
<name>Anthony G. Basile</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="github">tcalmant/jsonrpclib</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,2 @@
DIST knowit-0.2.4.tar.gz 24961 SHA256 8798c484bcbde3f6fb4cb5cd2c609c3f1c8ef3730ab46af80d9fbd20686dedf3 SHA512 155d5d436d0b238ad8a3eb416f1b177b0357037437e1ab691853e55e7ec0a93692c757d418e43de2087aa8eb611302e2cd9da64beb2f0fe8296026af1aed5eeb WHIRLPOOL f2a5c3d588baaf567dddc7f78c119332a79c70dd378ff42c3909307bcdd6a0ff59a7235f13027fd62ba88388c8cae7de329cc3fa8ecbbb49bd3df3f864da4a3e
EBUILD knowit-0.2.4.ebuild 433 SHA256 08f5cb80fef303e49e20c18de0eadb18d227de0082b5b847fb30e62d92a19540 SHA512 a5e68b1b16527ea476ac80549f5d757011b0f53af938ebce4a882431dc989532cd0464408c23b4d0de396f570fce56134e6703983d2a9663565fc7a5d7dc3418 WHIRLPOOL da2a572a3adde2fb4144d21e6ed0b62f23763c8282f9706ba5b46f2d73b823173123209c345da7a58daa22adb343d647a657f13a8458efa0d66fecb219c6faf3

View File

@@ -0,0 +1,23 @@
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6})
inherit distutils-r1
DESCRIPTION="Know better your media files"
HOMEPAGE="https://pypi.org/project/knowit/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/babelfish-0.5.2
>=dev-python/enzyme-0.4.1
>=dev-python/pint-0.8
>=dev-python/pymediainfo-2.1.5
dev-python/pyyaml
>=dev-python/six-1.9.0
"
DEPEND=""

View File

@@ -0,0 +1,3 @@
DIST markdown2-2.3.6.zip 166114 SHA256 08a124043aa0ad36ba2136239547d5011a2b770278abb11a5609611e0040ea05 SHA512 4b8647424dd94406199adf5cb619143b466a3e5026be15ac682df9c0da21d2995195a873313988e8c572407e6053632e0c4910da70eadb2de2b10832102f3340 WHIRLPOOL 0dd039171ad1884320d762ff8c5f9818a93824491709cde4bda1b25fa023c687088002fe4a08eb2f1984fb806752126a4fea7c8b4a48543bdab4c0b61b80b075
EBUILD markdown2-2.3.6.ebuild 702 SHA256 211fd13f99d1781536fd1865f92e71da1c7863278012c35fb6ffcbc8b5788678 SHA512 3e106556a5942e84e0e80e87e01376c9da00e09c547c0a92cab328919bb50b22473f75630803012f678d983290d0e93cb50a583b061b7e9a73f0415bab71a49f WHIRLPOOL 8245c537e98c38ba20268ea14f9f1545f3868bb10a50a31f5cff640e99a432996119119261ea7e25e8b1afaeb7b4e909c1b51e07771954ad3114e9019760536e
MISC metadata.xml 641 SHA256 f41e19c7467693fb8278a242aa15f69b72726162ab297d039d730de0c9f7cb1e SHA512 ece3faf6646450ac53797ac77c91f7e7a9953dcc419f98738cb8529722d04fa00a9a0e9fbe0958c2119b6e0909fe1ca6eee50749a133e2aec8b2d242071348f7 WHIRLPOOL a5e3b727755454b0692abe05efe50b6d98f50f79cd6c821158514ccbf3cd1abe1d2fd3e13eb99576fb73a364065a324fd1b1c1551182804a2ef736deb19a9edb

View File

@@ -0,0 +1,32 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
inherit distutils-r1
DESCRIPTION="Python Markdown language reimplementation"
SRC_URI="mirror://pypi/m/markdown2/${P}.zip"
HOMEPAGE="https://github.com/trentm/python-markdown2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE=""
DEPEND="dev-python/pygments[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
python_prepare_all() {
# [issue52, knownfailure]
rm -f test/tm-cases/issue52* || die
distutils-r1_python_prepare_all
}
python_test() {
cd test || die
"${PYTHON}" test.py || die "Tests fail with ${EPYTHON}"
}

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>maksbotan@gentoo.org</email>
<name>Maxim Koltsov</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<maintainer>
<name>Trent Mick</name>
</maintainer>
<bugs-to>https://github.com/trentm/python-markdown2/issues</bugs-to>
<remote-id type="pypi">markdown2</remote-id>
<remote-id type="github">trentm/python-markdown2</remote-id>
</upstream>
</pkgmetadata>

2
dev-python/pint/Manifest Normal file
View File

@@ -0,0 +1,2 @@
DIST pint-0.8.1.tar.gz 162197 SHA256 afcf31443a478c32bbac4b00337ee9026a13d0e2ac83d30c79151462513bb0d4 SHA512 e8c33c147e5a86da45d84823ab974070a44c2fa34ea48e81aa07ca6f70804c5a11b316b91c8471b4798ef3ac3ba5488b9c9c6a6ecea5c43f426348430f941cee WHIRLPOOL caee7a963501d4e52eae11de470c5647124c00173269a6bfcf664a7b6b5b9fd0bdf6b306593b0faed0d9a4c5dea6e3fbf80d59277a833bb78f6bdcb2d1acb38e
EBUILD pint-0.8.1.ebuild 311 SHA256 20e8680480002b5e24248d05da48199e35d002f9390b59b55ac596a5f7daa455 SHA512 d5aa69a187918f59691c8b10de0a6c9d2d088cdffafd39dbfe742a9a505a8c7417c55513ee118c7bf48a3b3f15c253f6a3748963bdd29b8134c1c565fd6fa2bb WHIRLPOOL 2564f73bb62ed435aaa3cdd27334a96e9e6bf3859443ca1552c469253fb0c8ac550e64ef9d1c72ec5c0651ffbfbfef93c38d95b59c56a33d8bec6fb4c561538d

View File

@@ -0,0 +1,18 @@
EAPI=6
PYTHON_COMPAT=( python2_{6,7} python3_{3,4,5,6})
inherit distutils-r1
DESCRIPTION="makes units easy"
HOMEPAGE="https://pypi.org/project/pint/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/Pint-${PV}.tar.gz -> ${P}.tar.gz"
S=$WORKDIR/Pint-$PV
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
"
DEPEND=""

View File

@@ -0,0 +1,3 @@
DIST profilehooks-1.10.0.tar.gz 15540 SHA256 47a3818dfff6a28b27f5ead625fea377e7087cc0b6cc23d301fd0670138212bc SHA512 b6eaeef357cf153ffccb4ea41eb206840578e82a760eecd4463fd86226b9bac41543b37036f0f5c770cef6cfc330efe9cb1b559feaecf746b7308019faae41eb WHIRLPOOL 11db4f7633c1d5397097a177450a2f4c8f95f24e4bc648f03e86fab13ae4b40a6b655bccd9730c08b19c76f9f2b007421cfdd2fb2864b4d73b7878cbcc8484db
EBUILD profilehooks-1.10.0.ebuild 419 SHA256 2797f368664ec9aa0808ec4a84565588ce122931fb6603f5d395902a514713fd SHA512 5ec7d916e59924abd6e2db04f439390664ac5b8ac18be0a906aadc0472827d5d973c5e4a1eb8129dbc5ac30061e829c750d3f3203d484158e8e1c0e0ce2a2435 WHIRLPOOL dbcff7f2bda55f6153645caeaadecc8479ce213b9c0faf1b2e407bbca4ae17090ccc14d0b1fe024fe895e51e995794cbfa811fce40abe8d99cb5bda1ea932b29
MISC metadata.xml 339 SHA256 1bedf8d0b713cbd7ef928bd788e12fdf011fb7d176a516473125e54270fe5a50 SHA512 7b21790671400085139631b3f37efbc517513e319098654c41c5bd5ac541cf3a176e2f831f27ee8e07793962c0971ea94191911f3d85a0de0e3a583d071b6654 WHIRLPOOL e092ab35ec6e986baed0f7c338fa7c48b7892c4b15cdbc5dc3175c7a60e7bd3835e5dd2546d252160c9479d226eab9d6c0ee40a8b0e60e38326c7a895a15d7a2

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>jauhien@gentoo.org</email>
<name>Jauhien Piatlicki</name>
</maintainer>
<longdescription>The BitTorrent bencode module as light-weight, standalone package.</longdescription>
</pkgmetadata>

View File

@@ -0,0 +1,19 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5,3_6} pypy )
inherit distutils-r1
DESCRIPTION="collection of decorators for profiling functions"
HOMEPAGE="https://pypi.org/project/profilehooks/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=""
DEPEND=""

View File

@@ -0,0 +1,3 @@
DIST requests-oauthlib-1.0.0.tar.gz 43183 SHA256 5859b184f179370a4ee1812ceb0bf89552a444226523f82fb8c9fe52d6a0573b SHA512 5ceac61f14044b7c7ec4c26f68fc7b4ab6eda1529c367fead3e8aa5049b4aad12c76511861c13f2d62d11ec7ecd1d870ff69c7261bd51bcb01aa6d2e3ba5aa99 WHIRLPOOL 044d614a73ce7b73ee9142c4d9ae649c9b063a0473bad5476d6e283b5b724a24e5b180da82350d2b0c8a794d7bb3d0cb1f6e58fa18532ba879e5b0746ab0f562
EBUILD requests-oauthlib-1.0.0.ebuild 800 SHA256 65e170a68b406153eb255f7872f575305ea35c227d3fffe5f9a8133660a4dbe0 SHA512 ea28f62d03a95e6d475a19b1b364d761d1116b11030857221114762cfa76de2274ff9cc94c14ba065977a91a9fa062edeb706fbbb2a86af9d8eb9b23bb531f9b WHIRLPOOL 6659264be69affaa2a9df8fb87e8201d6ad49ecbc7e386099dfa80b1f46aac127ff5ae602a7206a15a0b1f3cd6d614e6415ebcc184aac401a68e1149356acb59
MISC metadata.xml 331 SHA256 6ed0fd7d57bc8324dd94ab0b4fe3eb96c46fd771b1a7b2a3e1ce717bf87c8790 SHA512 871f44e56ecb16ea43e5702c30a43d24f911ae1b83fb2a5ba3ca4ab45b3676ee7d4841fc343f336c0249b0165777659bd393160728cb20e3484eee4854919d1f WHIRLPOOL cf605bcfd11a1054efdc0f32f6254a1da69765aaaefd038401e179517c5503ae56f0227e69c143da2a400ff62d585b16735554375b82310e8f9792ff2978850d

View File

@@ -0,0 +1,11 @@
<?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">requests/requests-oauthlib</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,34 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
inherit distutils-r1
DESCRIPTION="This project provides first-class OAuth library support for Requests"
HOMEPAGE="https://github.com/requests/requests-oauthlib"
SRC_URI="https://github.com/requests/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="ISC"
KEYWORDS="amd64 x86"
IUSE="test"
DEPEND="test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/requests-mock[${PYTHON_USEDEP}]
)"
RDEPEND="
>=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
>=dev-python/oauthlib-0.6.2[${PYTHON_USEDEP}]"
#Refrain from a doc build for now
#python_compile_all() {
# use doc && emake -C docs html
#}
python_test() {
esetup.py test
}

View File

@@ -0,0 +1,2 @@
DIST subliminal-2.0.5.tar.gz 4440754 SHA256 b956f02ae0286ad04be5bbf1c5570964aa17bb53c99fcce067e8334d99516ae2 SHA512 e2f563fa86fea286a172aa4a6a846d997e777cf69666fb39f3f73e3073ce5b5467474561ced4468d51708c0b1559f97b314f2f9ffb3d5e61978ad635c00ba0f8 WHIRLPOOL cb57c8d553eb0164a21d2ea1c81129aef78b425748d52be6d73444fc111b227eeae5e3321253d163c2df46acfa274d6c0852d5aa7153b3ee2ba3c311c56dfd2d
EBUILD subliminal-2.0.5.ebuild 902 SHA256 a9587c4768d98073be3f05152f8b639b520b7b250b253a3fd1e4fff8ad2e8f31 SHA512 cc2f9c3601f0da68c1fe26849951d6632df258a8d8c87f713b23c2a818e5e85f487fa54d0407ab06317f60335aaffa7b528f473485f1ee8d9b5d144329cd17cc WHIRLPOOL d6ee8c819c7b555db9a81c47af4e1c7cbab07c2359557a7a7ed79535efba196d70a1743330a2c41858f171f880c0542e4ee4ca6b8b6b11d73d4d5f8abe497487

View File

@@ -0,0 +1,37 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
inherit distutils-r1
DESCRIPTION="Subtitles, faster than your thoughts"
HOMEPAGE="https://github.com/pymedusa/subliminal"
SRC_URI="https://github.com/pymedusa/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}
>=dev-python/guessit-2.0.1
>=dev-python/babelfish-0.5.2
>=dev-python/enzyme-0.4.1
>=dev-python/beautifulsoup-4.4.0
>=dev-python/requests-2.0
>=dev-python/click-4.0
>=dev-python/dogpile-cache-0.6.0
>=dev-python/stevedore-1.0.0
>=dev-python/chardet-2.3.0
>=dev-python/pysrt-1.0.1
>=dev-python/six-1.9.0
>=dev-python/appdirs-1.3
>=dev-python/rarfile-2.7
>=dev-python/pytz-2012c
>=dev-python/futures-3.2.0"
#S="${WORKDIR}/python-xapp-${PV}"

View File

@@ -0,0 +1,2 @@
DIST tornroutes-0.5.1.tar.gz 1882 SHA256 65e17f23c22642a9481a2adbd0129be6ce67b4d3db3ec23aecd2c5f34606815e SHA512 8f17281de3ab5061e51e600be65ca05c65f0fac32aa90fa7736e5043f582ebfb61e7e5f0f604543df421c7a764012e1a49b4bd7d712a64f11f209ff2cb12288c WHIRLPOOL 7a6f1c5cb49037400b97b129fe9e67d1a28d0bbde8c65498a722ee4201fc3a6fa5cde55dc033649779bd347faa65e180815624714a5dc2b664c6ac025ad01e4e
EBUILD tornroutes-0.5.1.ebuild 283 SHA256 d165c07a8195f6ab1fad44a15b331dd8710971bae61cf714cedf8bc3d10f65b7 SHA512 f4a86cc62e51572c446caf7eef3e9aadce25992f7f4d5a3d605ec6f9430cdc48a48a4f48557ec66134230b4eb62d8ff244a526120e3d2f19f61d0f7dd8b4929a WHIRLPOOL eabb454695ba61c17880be5c22824267d16c470cbf62d5638c969ca93cebc45c31517908f7cc3d997929f2a57a3cfef84780b2befd50ed44ec2b3c5cab810b4e

View File

@@ -0,0 +1,16 @@
EAPI=6
PYTHON_COMPAT=( python2_{6,7} python3_{3,4,5,6})
inherit distutils-r1
DESCRIPTION="Tornado Web Route Decorator"
HOMEPAGE="https://pypi.org/project/tornroutes/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE=""
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=""
DEPEND=""

View File

@@ -0,0 +1,2 @@
DIST trans-2.1.0.tar.bz2 6864 SHA256 417d8f7862a4a01470bdf0ab2a96b60983e459d202c1b12e8df3fa563146b71f SHA512 c35d2de55687aa898934b4b673df24b1ab96555e541b18d1535c09add2d282a1ed56865383b0160be801fc455d3161b43044c705925340999c81ca19f1719555 WHIRLPOOL e8f87850b661c8a0c53458e5c723182d0706d3f2019509b6da2fbfccfbb52ef15f31d668380c52a4ff28239bfe27304dd24d5f976a2ded64f5c61ea22b590b36
EBUILD trans-2.1.0.ebuild 342 SHA256 e6a7199540007513782afb26e3862332d79af4c41d9dbfcd841766197f2a1a57 SHA512 6c6d5749f569856dde595c0e17ed80f8ab43b35b1ecc80ba1ef5de607c512a14cc2c6e61b02dd88c4b033b53cb8b1dbaff431eaf152f618a41837167360ce5e4 WHIRLPOOL b8da4988ec28a493a4771f5ee203cfc6a7f2be2ea4d5180318ad91b6c737f14d1ab892a6ce1e129006d846a951de30c2a44d70efb5eb554612ad6d325ad193f7

View File

@@ -0,0 +1,16 @@
EAPI=6
PYTHON_COMPAT=( python2_{6,7} python3_{3,4,5,6})
inherit distutils-r1
DESCRIPTION="translates national characters into similar sounding latin characters (transliteration)"
HOMEPAGE="https://pypi.org/project/trans/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=""
DEPEND=""

View File

@@ -0,0 +1,2 @@
DIST validators-0.12.2.tar.gz 22383 SHA256 172ac45f7d1944ce4beca3c5c53ca7c83e9759e39fd3fedc1cf28e2130268706 SHA512 adc2398a91f589fb5595c6d942ced3aa157a3bceadaf0f7e49476a7f0ec16c0f0d89aa2b1f63550911bab2d6a5417708f9e236d27a3a1250fab3701e1db70f4b WHIRLPOOL a69bfb2d60e46aab3b9d62a50ea56ad2d11385ae6cd9b33d9e631b300ebf8b91c2e2eb8ca7a7b73a7bc35b280748e115defbe4308b32bdb75d110c64a6098f3d
EBUILD validators-0.12.2.ebuild 343 SHA256 536cc2b6304bec1ae770b12a43b5b12adda4cabf8acb38b0dccd85dd49525efc SHA512 cafabf0f87aef7504859ceb49b1f8bfbb3d53e344dcb0967297041ae23b2b7c91d573cf59c88e875e21a3181e1c1974523ed1b1730cf72a5ef94d9aaaad3de15 WHIRLPOOL 3a4f270e1311eeb08562e90a1da50f1a0b7ba6c28134f38e8bd3e2f36136eee3e5df95a0b5df20f1bae6e199fa3db532eca2e0127526ef0b8b6d4e68fd106cf4

View File

@@ -0,0 +1,19 @@
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{3,4,5,6})
inherit distutils-r1
DESCRIPTION="Python Data Validation for Humans"
HOMEPAGE="https://pypi.org/project/validators/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/six-1.4.0
>=dev-python/decorator-3.4.0
"
DEPEND=""

81
licenses/bittorrent-osl Normal file
View File

@@ -0,0 +1,81 @@
BitTorrent Open Source License
Version 1.2
This BitTorrent Open Source License (the "License") applies to certain software that is distributed by BitTorrent, Inc. ("Licensor") specifically under this license (“BitTorrent Products”). Any BitTorrent Product licensed pursuant to this License is a Licensed Product. Licensed Product, in its entirety, is protected by U.S. copyright law. This License identifies the terms under which you may use, copy, distribute or modify Licensed Product.
Preamble
This Preamble is intended to describe, in plain English, the nature and scope of this License. However, this Preamble is not a part of this license. The legal effect of this License is dependent only upon the terms of the License and not this Preamble.
This License complies with the Open Source Definition and is derived from the Jabber Open Source License 1.0 (the "JOSL"), which has been approved by Open Source Initiative. Sections 4(c) and 4(f)(iii) from the JOSL have been deleted.
This License provides that:
You may use or give away the Licensed Product, alone or as a component of an aggregate software distribution containing programs from several different sources. No royalty or other fee is required.
Both Source Code and executable versions of the Licensed Product, including Modifications made by previous Contributors, are available for your use. (The terms "Licensed Product," "Modifications," "Contributors" and "Source Code" are defined in the License.)
You are allowed to make Modifications to the Licensed Product, and you can create Derivative Works from it. (The term "Derivative Works" is defined in the License.)
By accepting the Licensed Product under the provisions of this License, you agree that any Modifications you make to the Licensed Product and then distribute are governed by the provisions of this License. In particular, you must make the Source Code of your Modifications available to others free of charge and without a royalty.
You may sell, accept donations or otherwise receive compensation for executable versions of a Licensed Product, without paying a royalty or other fee to the Licensor or any Contributor, provided that such executable versions contain your or another Contributors material Modifications. For the avoidance of doubt, to the extent your executable version of a Licensed Product does not contain your or another Contributors material Modifications, you may not sell, accept donations or otherwise receive compensation for such executable.
You may use the Licensed Product for any purpose, but the Licensor is not providing you any warranty whatsoever, nor is the Licensor accepting any liability in the event that the Licensed Product doesn't work properly or causes you any injury or damages.
If you sublicense the Licensed Product or Derivative Works, you may charge fees for warranty or support, or for accepting indemnity or liability obligations to your customers. You cannot charge for, sell, accept donations or otherwise receive compensation for the Source Code.
If you assert any patent claims against the Licensor relating to the Licensed Product, or if you breach any terms of the License, your rights to the Licensed Product under this License automatically terminate.
You may use this License to distribute your own Derivative Works, in which case the provisions of this License will apply to your Derivative Works just as they do to the original Licensed Product.
Alternatively, you may distribute your Derivative Works under any other OSI-approved Open Source license, or under a proprietary license of your choice. If you use any license other than this License, however, you must continue to fulfill the requirements of this License (including the provisions relating to publishing the Source Code) for those portions of your Derivative Works that consist of the Licensed Product, including the files containing Modifications.
New versions of this License may be published from time to time in connection with new versions of a Licensed Product or otherwise. You may choose to continue to use the license terms in this version of the License for the Licensed Product that was originally licensed hereunder, however, the new versions of this License will at all times apply to new versions of the Licensed Product released by Licensor after the release of the new version of this License. Only the Licensor has the right to change the License terms as they apply to the Licensed Product.
This License relies on precise definitions for certain terms. Those terms are defined when they are first used, and the definitions are repeated for your convenience in a Glossary at the end of the License.
License Terms
Grant of License From Licensor. Subject to the terms and conditions of this License, Licensor hereby grants you a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims, to do the following:
Use, reproduce, modify, display, perform, sublicense and distribute any Modifications created by a Contributor or portions thereof, in both Source Code or as an executable program, either on an unmodified basis or as part of Derivative Works.
Under claims of patents now or hereafter owned or controlled by Contributor, to make, use, sell, offer for sale, have made, and/or otherwise dispose of Modifications or portions thereof, but solely to the extent that any such claim is necessary to enable you to make, use, sell, offer for sale, have made, and/or otherwise dispose of Modifications or portions thereof or Derivative Works thereof.
Grant of License to Modifications From Contributor. "Modifications" means any additions to or deletions from the substance or structure of (i) a file containing a Licensed Product, or (ii) any new file that contains any part of a Licensed Product. Hereinafter in this License, the term "Licensed Product" shall include all previous Modifications that you receive from any Contributor. Subject to the terms and conditions of this License, By application of the provisions in Section 4(a) below, each person or entity who created or contributed to the creation of, and distributed, a Modification (a "Contributor") hereby grants you a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims, to do the following:
Use, reproduce, modify, display, perform, sublicense and distribute any Modifications created by such Contributor or portions thereof, in both Source Code or as an executable program, either on an unmodified basis or as part of Derivative Works.
Under claims of patents now or hereafter owned or controlled by Contributor, to make, use, sell, offer for sale, have made, and/or otherwise dispose of Modifications or portions thereof, but solely to the extent that any such claim is necessary to enable you to make, use, sell, offer for sale, have made, and/or otherwise dispose of Modifications or portions thereof or Derivative Works thereof.
Exclusions From License Grant. Nothing in this License shall be deemed to grant any rights to trademarks, copyrights, patents, trade secrets or any other intellectual property of Licensor or any Contributor except as expressly stated herein. No patent license is granted separate from the Licensed Product, for code that you delete from the Licensed Product, or for combinations of the Licensed Product with other software or hardware. No right is granted to the trademarks of Licensor or any Contributor even if such marks are included in the Licensed Product. Nothing in this License shall be interpreted to prohibit Licensor from licensing under different terms from this License any code that Licensor otherwise would have a right to license. As an express condition for your use of the Licensed Product, you hereby agree that you will not, without the prior written consent of Licensor, use any trademarks, copyrights, patents, trade secrets or any other intellectual property of Licensor or any Contributor except as expressly stated herein. For the avoidance of doubt and without limiting the foregoing, you hereby agree that you will not use or display any trademark of Licensor or any Contributor in any domain name, directory filepath, advertisement, link or other reference to you in any manner or in any media.
Your Obligations Regarding Distribution.
Application of This License to Your Modifications. As an express condition for your use of the Licensed Product, you hereby agree that any Modifications that you create or to which you contribute, and which you distribute, are governed by the terms of this License including, without limitation, Section 2. Any Modifications that you create or to which you contribute may be distributed only under the terms of this License or a future version of this License released under Section 7. You must include a copy of this License with every copy of the Modifications you distribute. You agree not to offer or impose any terms on any Source Code or executable version of the Licensed Product or Modifications that alter or restrict the applicable version of this License or the recipients' rights hereunder. However, you may include an additional document offering the additional rights described in Section 4(d).
Availability of Source Code. You must make available, without charge, under the terms of this License, the Source Code of the Licensed Product and any Modifications that you distribute, either on the same media as you distribute any executable or other form of the Licensed Product, or via a mechanism generally accepted in the software development community for the electronic transfer of data (an "Electronic Distribution Mechanism"). The Source Code for any version of Licensed Product or Modifications that you distribute must remain available for as long as any executable or other form of the Licensed Product is distributed by you. You are responsible for ensuring that the Source Code version remains available even if the Electronic Distribution Mechanism is maintained by a third party.
Intellectual Property Matters.
Third Party Claims. If you have knowledge that a license to a third party's intellectual property right is required to exercise the rights granted by this License, you must include a text file with the Source Code distribution titled "LEGAL" that describes the claim and the party making the claim in sufficient detail that a recipient will know whom to contact. If you obtain such knowledge after you make any Modifications available as described in Section 4(b), you shall promptly modify the LEGAL file in all copies you make available thereafter and shall take other steps (such as notifying appropriate mailing lists or newsgroups) reasonably calculated to inform those who received the Licensed Product from you that new knowledge has been obtained.
Contributor APIs. If your Modifications include an application programming interface ("API") and you have knowledge of patent licenses that are reasonably necessary to implement that API, you must also include this information in the LEGAL file.
Representations. You represent that, except as disclosed pursuant to 4(c)(i) above, you believe that any Modifications you distribute are your original creations and that you have sufficient rights to grant the rights conveyed by this License.
Required Notices. You must duplicate this License in any documentation you provide along with the Source Code of any Modifications you create or to which you contribute, and which you distribute, wherever you describe recipients' rights relating to Licensed Product. You must duplicate the notice contained in Exhibit A (the "Notice") in each file of the Source Code of any copy you distribute of the Licensed Product. If you created a Modification, you may add your name as a Contributor to the Notice. If it is not possible to put the Notice in a particular Source Code file due to its structure, then you must include such Notice in a location (such as a relevant directory file) where a user would be likely to look for such a notice. You may choose to offer, and charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Licensed Product. However, you may do so only on your own behalf, and not on behalf of the Licensor or any Contributor. You must make it clear that any such warranty, support, indemnity or liability obligation is offered by you alone, and you hereby agree to indemnify the Licensor and every Contributor for any liability incurred by the Licensor or such Contributor as a result of warranty, support, indemnity or liability terms you offer.
Distribution of Executable Versions. You may distribute Licensed Product as an executable program under a license of your choice that may contain terms different from this License provided (i) you have satisfied the requirements of Sections 4(a) through 4(d) for that distribution, (ii) you include a conspicuous notice in the executable version, related documentation and collateral materials stating that the Source Code version of the Licensed Product is available under the terms of this License, including a description of how and where you have fulfilled the obligations of Section 4(b), and (iii) you make it clear that any terms that differ from this License are offered by you alone, not by Licensor or any Contributor. You hereby agree to indemnify the Licensor and every Contributor for any liability incurred by Licensor or such Contributor as a result of any terms you offer.
Distribution of Derivative Works. You may create Derivative Works (e.g., combinations of some or all of the Licensed Product with other code) and distribute the Derivative Works as products under any other license you select, with the proviso that the requirements of this License are fulfilled for those portions of the Derivative Works that consist of the Licensed Product or any Modifications thereto.
Compensation for Distribution of Executable Versions of Licensed Products, Modifications or Derivative Works. Notwithstanding any provision of this License to the contrary, by distributing, selling, licensing, sublicensing or otherwise making available any Licensed Product, or Modification or Derivative Work thereof, you and Licensor hereby acknowledge and agree that you may sell, license or sublicense for a fee, accept donations or otherwise receive compensation for executable versions of a Licensed Product, without paying a royalty or other fee to the Licensor or any other Contributor, provided that such executable versions (i) contain your or another Contributors material Modifications, or (ii) are otherwise material Derivative Works. For purposes of this License, an executable version of the Licensed Product will be deemed to contain a material Modification, or will otherwise be deemed a material Derivative Work, if (a) the Licensed Product is modified with your own or a third partys software programs or other code, and/or the Licensed Product is combined with a number of your own or a third partys software programs or code, respectively, and (b) such software programs or code add or contribute material value, functionality or features to the License Product. For the avoidance of doubt, to the extent your executable version of a Licensed Product does not contain your or another Contributors material Modifications or is otherwise not a material Derivative Work, in each case as contemplated herein, you may not sell, license or sublicense for a fee, accept donations or otherwise receive compensation for such executable. Additionally, without limitation of the foregoing and notwithstanding any provision of this License to the contrary, you cannot charge for, sell, license or sublicense for a fee, accept donations or otherwise receive compensation for the Source Code.
Inability to Comply Due to Statute or Regulation. If it is impossible for you to comply with any of the terms of this License with respect to some or all of the Licensed Product due to statute, judicial order, or regulation, then you must (i) comply with the terms of this License to the maximum extent possible, (ii) cite the statute or regulation that prohibits you from adhering to the License, and (iii) describe the limitations and the code they affect. Such description must be included in the LEGAL file described in Section 4(d), and must be included with all distributions of the Source Code. Except to the extent prohibited by statute or regulation, such description must be sufficiently detailed for a recipient of ordinary skill at computer programming to be able to understand it.
Application of This License. This License applies to code to which Licensor or Contributor has attached the Notice in Exhibit A, which is incorporated herein by this reference.
Versions of This License.
New Versions. Licensor may publish from time to time revised and/or new versions of the License.
Effect of New Versions. Once Licensed Product has been published under a particular version of the License, you may always continue to use it under the terms of that version, provided that any such license be in full force and effect at the time, and has not been revoked or otherwise terminated. You may also choose to use such Licensed Product under the terms of any subsequent version (but not any prior version) of the License published by Licensor. No one other than Licensor has the right to modify the terms applicable to Licensed Product created under this License.
Derivative Works of this License. If you create or use a modified version of this License, which you may do only in order to apply it to software that is not already a Licensed Product under this License, you must rename your license so that it is not confusingly similar to this License, and must make it clear that your license contains terms that differ from this License. In so naming your license, you may not use any trademark of Licensor or any Contributor.
Disclaimer of Warranty. LICENSED PRODUCT IS PROVIDED UNDER THIS LICENSE ON AN AS IS BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE LICENSED PRODUCT IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LICENSED PRODUCT IS WITH YOU. SHOULD LICENSED PRODUCT PROVE DEFECTIVE IN ANY RESPECT, YOU (AND NOT THE LICENSOR OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF LICENSED PRODUCT IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
Termination.
Automatic Termination Upon Breach. This license and the rights granted hereunder will terminate automatically if you fail to comply with the terms herein and fail to cure such breach within ten (10) days of being notified of the breach by the Licensor. For purposes of this provision, proof of delivery via email to the address listed in the WHOIS database of the registrar for any website through which you distribute or market any Licensed Product, or to any alternate email address which you designate in writing to the Licensor, shall constitute sufficient notification. All sublicenses to the Licensed Product that are properly granted shall survive any termination of this license so long as they continue to comply with the terms of this License. Provisions that, by their nature, must remain in effect beyond the termination of this License, shall survive.
Termination Upon Assertion of Patent Infringement. If you initiate litigation by asserting a patent infringement claim (excluding declaratory judgment actions) against Licensor or a Contributor (Licensor or Contributor against whom you file such an action is referred to herein as Respondent) alleging that Licensed Product directly or indirectly infringes any patent, then any and all rights granted by such Respondent to you under Sections 1 or 2 of this License shall terminate prospectively upon sixty (60) days notice from Respondent (the "Notice Period") unless within that Notice Period you either agree in writing (i) to pay Respondent a mutually agreeable reasonable royalty for your past or future use of Licensed Product made by such Respondent, or (ii) withdraw your litigation claim with respect to Licensed Product against such Respondent. If within said Notice Period a reasonable royalty and payment arrangement are not mutually agreed upon in writing by the parties or the litigation claim is not withdrawn, the rights granted by Licensor to you under Sections 1 and 2 automatically terminate at the expiration of said Notice Period.
Reasonable Value of This License. If you assert a patent infringement claim against Respondent alleging that Licensed Product directly or indirectly infringes any patent where such claim is resolved (such as by license or settlement) prior to the initiation of patent infringement litigation, then the reasonable value of the licenses granted by said Respondent under Sections 1 and 2 shall be taken into account in determining the amount or value of any payment or license.
No Retroactive Effect of Termination. In the event of termination under Sections 9(a) or 9(b) above, all end user license agreements (excluding licenses to distributors and resellers) that have been validly granted by you or any distributor hereunder prior to termination shall survive termination.
Limitation of Liability. UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE LICENSOR, ANY CONTRIBUTOR, OR ANY DISTRIBUTOR OF LICENSED PRODUCT, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTYS NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
Responsibility for Claims. As between Licensor and Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License. You agree to work with Licensor and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability.
U.S. Government End Users. The Licensed Product is a commercial item, as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of commercial computer software and commercial computer software documentation, as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Licensed Product with only those rights set forth herein.
Miscellaneous. This License represents the complete agreement concerning the subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by California law provisions (except to the extent applicable law, if any, provides otherwise), excluding its conflict-of-law provisions. You expressly agree that in any litigation relating to this license the losing party shall be responsible for costs including, without limitation, court costs and reasonable attorneys fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation that provides that the language of a contract shall be construed against the drafter shall not apply to this License.
Definition of You in This License. You throughout this License, whether in upper or lower case, means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License or a future version of this License issued under Section 7. For legal entities, you includes any entity that controls, is controlled by, is under common control with, or affiliated with, you. For purposes of this definition, control means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. You are responsible for advising any affiliated entity of the terms of this License, and that any rights or privileges derived from or obtained by way of this License are subject to the restrictions outlined herein.
Glossary. All defined terms in this License that are used in more than one Section of this License are repeated here, in alphabetical order, for the convenience of the reader. The Section of this License in which each defined term is first used is shown in parentheses.
Contributor: Each person or entity who created or contributed to the creation of, and distributed, a Modification. (See Section 2)
Derivative Works: That term as used in this License is defined under U.S. copyright law. (See Section 1(b))
License: This BitTorrent Open Source License. (See first paragraph of License)
Licensed Product: Any BitTorrent Product licensed pursuant to this License. The term "Licensed Product" includes all previous Modifications from any Contributor that you receive. (See first paragraph of License and Section 2)
Licensor: BitTorrent, Inc. (See first paragraph of License)
Modifications: Any additions to or deletions from the substance or structure of (i) a file containing Licensed Product, or (ii) any new file that contains any part of Licensed Product. (See Section 2)
Notice: The notice contained in Exhibit A. (See Section 4(e))
Source Code: The preferred form for making modifications to the Licensed Product, including all modules contained therein, plus any associated interface definition files, scripts used to control compilation and installation of an executable program, or a list of differential comparisons against the Source Code of the Licensed Product. (See Section 1(a))
You: This term is defined in Section 14 of this License.
EXHIBIT A
The Notice below must appear in each file of the Source Code of any copy you distribute of the Licensed Product or any hereto. Contributors to any Modifications may add their own copyright notices to identify their own contributions.
License:
The contents of this file are subject to the BitTorrent Open Source License Version 1.2 (the License). You may not copy or use this file, in either source code or executable form, except in compliance with the License. You may obtain a copy of the License at http://www.bittorrent.com/license/.
Software distributed under the License is distributed on an AS IS basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.

11
net-nntp/medusa/Manifest Normal file
View File

@@ -0,0 +1,11 @@
AUX autoProcessTV/autoProcessTV.cfg.sample 72 SHA256 7864fdeaffb3ad5e0ca5123d4550c57999d8bdf3e4f5337b8cf73b918f8fde3c SHA512 a0a1c70f10e1a67432520dc62807e8fb6685335d7c5e896097563f8f3ef881071d57c694bdc8c16471a2ce144933beb5c55f991bd13dff78e908f06c0b8b3e00 WHIRLPOOL 0884bd90212e174fe42c35864244e08049c5ec32408c5249fbe0ca281d950f8e248cac8c07a35430a8090fd4a398079f6aa1f95f89c8b7777d3694d3bed67f73
AUX autoProcessTV/autoProcessTV.py 4820 SHA256 d7d7e5a37c2fcf552a58e98c7c8b0184ae731e2b08f9867cf0b9fb9149adb29f SHA512 05af9c4a62bd6086708081cb163bdc45c49521d40fb1cbd5ed85703bc6909655ea3c326dc10a3d230297c3d24b7b8e3966dae894a5e3e9fb8c7929b3ec147358 WHIRLPOOL ba8397c499ffb8c59623fbe97daf10f850bbb2d2e82a47006e704de53fbf4b932ca5f30fe0267c0cde9fab031c9e98a08d7e7e903af0426217aeed546e56b3ce
AUX autoProcessTV/hellaToSickBeard.py 972 SHA256 d3ce8fcc6ac1c82a1f0eac3c9b539726562cfd23fd4ef5b1b9dd095ba20f83b6 SHA512 930e05c19db61dd7265133a36c76575c029207a9c241e8742c7468e10ca6e8f246939efbb86c770cdd04621ff8925c057a62f7c6aa7f6dad80dc27c4d6846a29 WHIRLPOOL 6f5db8f82e808fa401eac515e5827103b16ebfa0cc1902a9fbbde776beadc1505e8785843643d27b0a4a236a67377b1f63fa7f7dd0dd815d01891bd51f35dea7
AUX autoProcessTV/mediaToSickbeard.py 7057 SHA256 b50e0e1f440dcf96c7b477d410715bc49033ae98698e98f9757a2bbba86ee9f8 SHA512 4ab81509df8323531bab0f24c2b5f9e6a7c2fd56bc6cf58639887a8aa4e5a9817d776f9f234e3deb70d72631ccae406b0dcc601b2d83380e58d930b51806cee2 WHIRLPOOL 07a7f1e7d6ca6e3ac283fe129cc29674d01416b2d0001b9b4a37e4433eed285cbcebf35cd4ebcf925cef70b20deb387a0a65f01e14f2a7ee98603cd4ebf5fa4f
AUX autoProcessTV/sabToSickBeard.py 1138 SHA256 ae0f378c820e6e9d23368c18e868ddcd56fdfad389be1a1ed352607d62b0958c SHA512 2108b9d6092ebc3cbb6002e52a250e3699fe4559f809b6b391185cd8ec1953e7697d5f54090b459918f796d6daee700bbf7a60e35e656c6f6a82e07ffcc899aa WHIRLPOOL b3542998249cd005aee8377bfce789a77b3d80033c4ad8cef291e02f7eb7270771e570b8ed06540a1a7bf16c0baef9797bb2f1e28f16f9716f4ddf153a91d25a
AUX medusa.conf 1101 SHA256 4b0d9f9e434b9c6e03ab742f49e7c1b9f85e58b952404ec646cea2c22b2266e1 SHA512 10beec86b3c61d35bb8625b51002bc6035ed431030fb4ee0dba756d0cb9420341601b686326aae9d690dce665a1d73957c54dd2b85eec31074423c4d1783c6c3 WHIRLPOOL 91a37f656fe61d1f3dd63e05c494e16e097c768d0ac41acbb849ae3f5414c2a93f75e0991909b70d9e2a860914c3931d0424a337ab4c5eb9d1d44f43a6d3fe00
AUX medusa.ini 209 SHA256 5ca3688717b247d01fee15e318391b3126931968f57b22ee06f51890e338091e SHA512 36c1edc6dfb09fd95977dd9be33a1fa4ac1f0b6817b8579acd963caaaa89491ce2b3ecbe092ae86bf64e61f1ae74c5bf643e7acdbaee995bfa48f08c773dadeb WHIRLPOOL 810c2963ad17377cbc4916d40cc0f87edebcda8f0beb23052844e2292866997999643ec9cad8ec1aed1fd6536c55dc4bc22c6831b339fde33b289fb133428702
AUX medusa.init 1374 SHA256 0731daf07ad915e729b42ab2ff65512d1d852d94a52ec3f97a06219941de42cb SHA512 2d2171b5f9a9b8e6abd4037728c56e0ea2ccbfc84fdc22bffa43838d6585435c4b5e97efcf728ba692167a98b1f71fd9d8934017c05397f7c7b6624b3c0327f7 WHIRLPOOL 4720203888acd5f704ca3040b5c02062a8674b1f58884f4cf775569d57ea502f900ab463dac032322f590bf23f950bcf2dbe8c597b31fa8368308478a83a4eae
AUX medusa.logrotate 175 SHA256 fc3c6bf0c350509e0db0d9524d606b13b0973c73cfd13ff1ccc263ecf9f31adb SHA512 2e4a34afb29e7291a87c65a3fd66bf677da91f4ae7c13c8b2e3556730877d3546f55b853766245c122af32f538acdab95a91ba49352f86c136756886fbbeb33b WHIRLPOOL 6c8f4031ddddd34348ec33d4b535e053ee2167d47987213144054777bb5ed39fe9c22c4212a2f10ae13e033cfc9b19fb3ce72083a0892422d91a49a4b165c565
DIST medusa-0.2.11.tar.gz 28958909 SHA256 06ff8b2c8d28faf0502d8c1b08368ebffeed05aa604e5d48885f304a586f4060 SHA512 1ca22427296bbafc8acf4fa7f27948f54b443e5922d24abbab6083b283676154d930ee71c914845591e0d718cdfae0b089c1f473f14df23045ab95fa9e175024 WHIRLPOOL a475e9d7258284f996a6c2e5ccd9fcaf195733fc0e8c1fb7a3b5025cbfc33a2de77ee28434faca342045251d7ea5942c0b316ee01238ed8e1ab529c3d8837ca7
EBUILD medusa-0.2.11.ebuild 3263 SHA256 7a131f905ef7cf9f83f20adbaed9e7d920e4fe3bd13dcb16cf2e13bda022bb25 SHA512 9d7a5f5f7edd4010ec57fed10a77743b9a310387fa7ef6420c1af82d4db1c2dbb6662311537f8deb9fb62936f810a269a912f523c1bd13033ef40692ab32203a WHIRLPOOL ffa152bc373d36f2eb9bfda85cb4c1cf07ab27e4d21e730b29ab7946cac0082b45ca1dda6646da0f1997f6cef8feb47ae46c21664f19fde06c8064533db53e16

View File

@@ -0,0 +1,7 @@
[SickBeard]
host=localhost
port=8081
username=
password=
web_root=
ssl=0

View File

@@ -0,0 +1,154 @@
#!/usr/bin/env python
# Author: Nic Wolfe <nic@wolfeden.ca>
# URL: http://code.google.com/p/sickbeard/
#
# This file is part of SickRage.
#
# SickRage is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SickRage is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
from __future__ import with_statement
import os.path
import sys
# Try importing Python 2 modules using new names
try:
import ConfigParser as configparser
import urllib2
from urllib import urlencode
# On error import Python 3 modules
except ImportError:
import configparser
import urllib.request as urllib2
from urllib.parse import urlencode
# workaround for broken urllib2 in python 2.6.5: wrong credentials lead to an infinite recursion
if sys.version_info >= (2, 6, 5) and sys.version_info < (2, 6, 6):
class HTTPBasicAuthHandler(urllib2.HTTPBasicAuthHandler):
def retry_http_basic_auth(self, host, req, realm):
# don't retry if auth failed
if req.get_header(self.auth_header, None) is not None:
return None
return urllib2.HTTPBasicAuthHandler.retry_http_basic_auth(self, host, req, realm)
else:
HTTPBasicAuthHandler = urllib2.HTTPBasicAuthHandler
def processEpisode(dir_to_process, org_NZB_name=None, status=None):
# Default values
host = "localhost"
port = "8081"
username = ""
password = ""
ssl = 0
web_root = "/"
default_url = host + ":" + port + web_root
if ssl:
default_url = "https://" + default_url
else:
default_url = "http://" + default_url
# Get values from config_file
config = configparser.RawConfigParser()
config_filename = os.path.join(os.path.dirname(sys.argv[0]), "autoProcessTV.cfg")
if not os.path.isfile(config_filename):
print ("ERROR: " + config_filename + " doesn\'t exist")
print ("copy /rename " + config_filename + ".sample and edit\n")
print ("Trying default url: " + default_url + "\n")
else:
try:
print ("Loading config from " + config_filename + "\n")
with open(config_filename, "r") as fp:
config.readfp(fp)
# Replace default values with config_file values
host = config.get("SickBeard", "host")
port = config.get("SickBeard", "port")
username = config.get("SickBeard", "username")
password = config.get("SickBeard", "password")
try:
ssl = int(config.get("SickBeard", "ssl"))
except (configparser.NoOptionError, ValueError):
pass
try:
web_root = config.get("SickBeard", "web_root")
if not web_root.startswith("/"):
web_root = "/" + web_root
if not web_root.endswith("/"):
web_root = web_root + "/"
except configparser.NoOptionError:
pass
except EnvironmentError:
e = sys.exc_info()[1]
print ("Could not read configuration file: " + str(e))
# There was a config_file, don't use default values but exit
sys.exit(1)
params = {}
params['quiet'] = 1
params['dir'] = dir_to_process
if org_NZB_name != None:
params['nzbName'] = org_NZB_name
if status != None:
params['failed'] = status
if ssl:
protocol = "https://"
else:
protocol = "http://"
url = protocol + host + ":" + port + web_root + "home/postprocess/processEpisode?" + urlencode(params)
print ("Opening URL: " + url)
try:
password_mgr = urllib2.HTTPPasswordMgrWithDefaultRealm()
password_mgr.add_password(None, url, username, password)
handler = HTTPBasicAuthHandler(password_mgr)
opener = urllib2.build_opener(handler)
urllib2.install_opener(opener)
result = opener.open(url).readlines()
for line in result:
if line:
print (line.strip())
except IOError:
e = sys.exc_info()[1]
print ("Unable to open URL: " + str(e))
sys.exit(1)
if __name__ == "__main__":
print ("This module is supposed to be used as import in other scripts and not run standalone.")
print ("Use sabToSickBeard instead.")
sys.exit(1)

View File

@@ -0,0 +1,30 @@
#!/usr/bin/env python2
# Author: Nic Wolfe <nic@wolfeden.ca>
# URL: http://code.google.com/p/sickbeard/
#
# This file is part of SickRage.
#
# SickRage is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SickRage is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
import sys
import autoProcessTV
if len(sys.argv) < 4:
print "No folder supplied - is this being called from HellaVCR?"
sys.exit()
else:
autoProcessTV.processEpisode(sys.argv[3], sys.argv[2])

View File

@@ -0,0 +1,217 @@
#!/usr/bin/env python2
import sys
import os
import time
import ConfigParser
import logging
sickbeardPath = os.path.split(os.path.split(sys.argv[0])[0])[0]
sys.path.append(os.path.join( sickbeardPath, 'lib'))
sys.path.append(sickbeardPath)
configFilename = os.path.join(sickbeardPath, "config.ini")
import requests
config = ConfigParser.ConfigParser()
try:
fp = open(configFilename, "r")
config.readfp(fp)
fp.close()
except IOError, e:
print "Could not find/read Sickbeard config.ini: " + str(e)
print 'Possibly wrong mediaToSickbeard.py location. Ensure the file is in the autoProcessTV subdir of your Sickbeard installation'
time.sleep(3)
sys.exit(1)
scriptlogger = logging.getLogger('mediaToSickbeard')
formatter = logging.Formatter('%(asctime)s %(levelname)-8s MEDIATOSICKBEARD :: %(message)s', '%b-%d %H:%M:%S')
# Get the log dir setting from SB config
logdirsetting = config.get("General", "log_dir") if config.get("General", "log_dir") else 'Logs'
# put the log dir inside the SickBeard dir, unless an absolute path
logdir = os.path.normpath(os.path.join(sickbeardPath, logdirsetting))
logfile = os.path.join(logdir, 'sickbeard.log')
try:
handler = logging.FileHandler(logfile)
except:
print 'Unable to open/create the log file at ' + logfile
time.sleep(3)
sys.exit()
handler.setFormatter(formatter)
scriptlogger.addHandler(handler)
scriptlogger.setLevel(logging.DEBUG)
def utorrent():
# print 'Calling utorrent'
if len(sys.argv) < 2:
scriptlogger.error('No folder supplied - is this being called from uTorrent?')
print "No folder supplied - is this being called from uTorrent?"
time.sleep(3)
sys.exit()
dirName = sys.argv[1]
nzbName = sys.argv[2]
return (dirName, nzbName)
def transmission():
dirName = os.getenv('TR_TORRENT_DIR')
nzbName = os.getenv('TR_TORRENT_NAME')
return (dirName, nzbName)
def deluge():
if len(sys.argv) < 4:
scriptlogger.error('No folder supplied - is this being called from Deluge?')
print "No folder supplied - is this being called from Deluge?"
time.sleep(3)
sys.exit()
dirName = sys.argv[3]
nzbName = sys.argv[2]
return (dirName, nzbName)
def blackhole():
if None != os.getenv('TR_TORRENT_DIR'):
scriptlogger.debug('Processing script triggered by Transmission')
print "Processing script triggered by Transmission"
scriptlogger.debug(u'TR_TORRENT_DIR: ' + os.getenv('TR_TORRENT_DIR'))
scriptlogger.debug(u'TR_TORRENT_NAME: ' + os.getenv('TR_TORRENT_NAME'))
dirName = os.getenv('TR_TORRENT_DIR')
nzbName = os.getenv('TR_TORRENT_NAME')
else:
if len(sys.argv) < 2:
scriptlogger.error('No folder supplied - Your client should invoke the script with a Dir and a Relese Name')
print "No folder supplied - Your client should invoke the script with a Dir and a Relese Name"
time.sleep(3)
sys.exit()
dirName = sys.argv[1]
nzbName = sys.argv[2]
return (dirName, nzbName)
#def sabnzb():
# if len(sys.argv) < 2:
# scriptlogger.error('No folder supplied - is this being called from SABnzbd?')
# print "No folder supplied - is this being called from SABnzbd?"
# sys.exit()
# elif len(sys.argv) >= 3:
# dirName = sys.argv[1]
# nzbName = sys.argv[2]
# else:
# dirName = sys.argv[1]
#
# return (dirName, nzbName)
#
#def hella():
# if len(sys.argv) < 4:
# scriptlogger.error('No folder supplied - is this being called from HellaVCR?')
# print "No folder supplied - is this being called from HellaVCR?"
# sys.exit()
# else:
# dirName = sys.argv[3]
# nzbName = sys.argv[2]
#
# return (dirName, nzbName)
def main():
scriptlogger.info(u'Starting external PostProcess script ' + __file__)
host = config.get("General", "web_host")
port = config.get("General", "web_port")
username = config.get("General", "web_username")
password = config.get("General", "web_password")
try:
ssl = int(config.get("General", "enable_https"))
except (ConfigParser.NoOptionError, ValueError):
ssl = 0
try:
web_root = config.get("General", "web_root")
except ConfigParser.NoOptionError:
web_root = ""
tv_dir = config.get("General", "tv_download_dir")
use_torrents = int(config.get("General", "use_torrents"))
torrent_method = config.get("General", "torrent_method")
if not use_torrents:
scriptlogger.error(u'Enable Use Torrent on Sickbeard to use this Script. Aborting!')
print u'Enable Use Torrent on Sickbeard to use this Script. Aborting!'
time.sleep(3)
sys.exit()
if not torrent_method in ['utorrent', 'transmission', 'deluge', 'blackhole']:
scriptlogger.error(u'Unknown Torrent Method. Aborting!')
print u'Unknown Torrent Method. Aborting!'
time.sleep(3)
sys.exit()
dirName, nzbName = eval(locals()['torrent_method'])()
if dirName is None:
scriptlogger.error(u'MediaToSickbeard script need a dir to be run. Aborting!')
print u'MediaToSickbeard script need a dir to be run. Aborting!'
time.sleep(3)
sys.exit()
if not os.path.isdir(dirName):
scriptlogger.error(u'Folder ' + dirName + ' does not exist. Aborting AutoPostProcess.')
print u'Folder ' + dirName + ' does not exist. Aborting AutoPostProcess.'
time.sleep(3)
sys.exit()
if nzbName and os.path.isdir(os.path.join(dirName, nzbName)):
dirName = os.path.join(dirName, nzbName)
params = {}
params['quiet'] = 1
params['dir'] = dirName
if nzbName != None:
params['nzbName'] = nzbName
if ssl:
protocol = "https://"
else:
protocol = "http://"
if host == '0.0.0.0':
host = 'localhost'
url = protocol + host + ":" + port + web_root + "/home/postprocess/processEpisode"
scriptlogger.debug("Opening URL: " + url + ' with params=' + str(params))
print "Opening URL: " + url + ' with params=' + str(params)
try:
response = requests.get(url, auth=(username, password), params=params, verify=False)
except Exception, e:
scriptlogger.error(u': Unknown exception raised when opening url: ' + str(e))
time.sleep(3)
sys.exit()
if response.status_code == 401:
scriptlogger.error(u'Invalid Sickbeard Username or Password, check your config')
print 'Invalid Sickbeard Username or Password, check your config'
time.sleep(3)
sys.exit()
if response.status_code == 200:
scriptlogger.info(u'Script ' + __file__ + ' Succesfull')
print 'Script ' + __file__ + ' Succesfull'
time.sleep(3)
sys.exit()
if __name__ == '__main__':
main()

View File

@@ -0,0 +1,33 @@
#!/usr/bin/env python2
# Author: Nic Wolfe <nic@wolfeden.ca>
# URL: http://code.google.com/p/sickbeard/
#
# This file is part of SickRage.
#
# SickRage is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# SickRage is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
import sys
import autoProcessTV
if len(sys.argv) < 2:
print "No folder supplied - is this being called from SABnzbd?"
sys.exit()
elif len(sys.argv) >= 8:
autoProcessTV.processEpisode(sys.argv[1], sys.argv[2], sys.argv[7])
elif len(sys.argv) >= 3:
autoProcessTV.processEpisode(sys.argv[1], sys.argv[2])
else:
autoProcessTV.processEpisode(sys.argv[1])

View File

@@ -0,0 +1,34 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# Config file for medusa init script
# Version of Python ("2.6", "2.7" or "2"; default should work for almost everyone)
PYTHON_BIN="python2"
# Location of config file. # Make sure the user specified below can read and write to this file.
# Only change this if you really know what you are doing!
CONFIG_FILE="/etc/medusa/medusa.ini"
# Which port to run Medusa.
# This has priority over the port configured in the webinterface.
PORT="8081"
# Which user to run medusa
USER="medusa"
# Which group to run medusa
GROUP="medusa"
# Use WebUpdater [YES/NO]
# The correct way to update a package installed with emerge is simply to reemerge
# the package. If you wish to use the built in webupdater you will need to pull
# the git source to a seperate dir and change code_dir to reflect changes
# ie.
# git clone https://github.com/midgetspy/Sick-Beard.git /opt/medusa
# set below to CODE_DIR=/opt/medusa
WEBUPDATER="NO"
# Where Python code is installed
CODE_DIR="/usr/share/medusa"

View File

@@ -0,0 +1,9 @@
[General]
log_dir = /var/log/medusa
web_port = 8081
web_host = 0.0.0.0
web_username = "medusa"
web_password = "secret"
launch_browser = 0
cache_dir = /var/medusa/cache
tv_download_dir = "/var/medusa/download"

View File

@@ -0,0 +1,52 @@
#!/sbin/openrc-run
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
depend() {
need net
}
run_dir="/var/run/medusa"
pidfile="$run_dir/medusa.pid"
etc_dir="/etc/medusa"
var_dir="/var/medusa"
log_dir="/var/log/medusa"
program="$CODE_DIR/SickBeard.py"
bin=`which $PYTHON_BIN`
check_config() {
if [ ! -d "${run_dir}" ]; then
mkdir "${run_dir}"
fi
# Permission stuff. Should ensure that the daemon user always have write permissions.
# Quick and ugly but should get the job done.
chown -R ${USER}:${GROUP} "${run_dir}"
chown -R ${USER}.${GROUP} "${var_dir}"
chown -R ${USER}.${GROUP} "${etc_dir}"
chown -R ${USER}.${GROUP} "${log_dir}"
if [ "${WEBUPDATER}" = "YES" ]; then
chown -R ${USER}.${GROUP} "${CODE_DIR}"
fi
}
start() {
check_config
#sed -i "s/^cur_commit_hash.*/cur_commit_hash = `cat /usr/share/medusa/version.txt`/" /etc/medusa/medusa.ini
ebegin "Starting Medusa"
start-stop-daemon --start --pidfile ${pidfile} -u ${USER} -g ${GROUP}\
--exec ${bin} ${program} -- \
--daemon --pidfile ${pidfile} --datadir ${var_dir} --nolaunch --config ${CONFIG_FILE} --port ${PORT}
eend $?
}
stop() {
ebegin "Stopping Medusa"
start-stop-daemon --stop --pidfile ${pidfile} --retry 15
eend $?
}

View File

@@ -0,0 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
/var/log/medusa/*.log{
missingok
su medusa medusa
}

View File

@@ -0,0 +1,123 @@
# see https://github.com/pymedusa/Medusa/issues/3147 for Medusa hints
# retrieved from https://gitlab.com/salfter/portage/tree/b899ed256d8472ba9ea40e4544523c93e2998e72/net-nntp/sickrage
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python2_7 )
SRC_URI="https://github.com/pymedusa/Medusa/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S=$WORKDIR/Medusa-${PV}
inherit eutils user python-single-r1
DESCRIPTION="Automatic Video Library Manager for TV Shows"
HOMEPAGE="https://pymedusa.com/"
LICENSE="GPL-3" # only
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="${PYTHON_DEPS}"
#RDEPEND >=dev-python/beautifulsoup-4.6.3
#
RDEPEND="
>=www-servers/tornado-5.1.1
dev-python/six
dev-python/profilehooks
dev-python/contextlib2
>=dev-python/rarfile-3.0
>=dev-python/bencode-2.0.0
>=dev-python/guessit-3.0.3
>=dev-python/subliminal-2.0.5
>=dev-python/adba-1.1.0
>=dev-python/knowit-0.2.4
>=dev-python/CacheControl-0.12.5
dev-python/msgpack
>=dev-python/imdbpie-5.6.3
dev-python/trans
dev-python/diskcache
dev-python/boto_utils
dev-python/cfscrape
>=dev-python/feedparser-20180811.03
>=dev-python/requests-oauthlib-1.0.0
dev-python/twitter
dev-python/PyGithub
>=dev-python/validators-0.12.2
>=dev-python/jsonrpclib-pelix-0.3.2
>=dev-python/dirtyjson-1.0.7
>=dev-python/mako-1.0.7
>=dev-python/tornroutes-0.5.1
>=dev-python/markdown2-2.3.6
"
pkg_setup() {
python-single-r1_pkg_setup
# Create medusa group
enewgroup ${PN}
# Create medusa user, put in medusa group
enewuser ${PN} -1 -1 -1 ${PN}
}
src_install() {
dodoc readme.md
newconfd "${FILESDIR}/${PN}.conf" ${PN}
newinitd "${FILESDIR}/${PN}.init" ${PN}
# Location of log and data files
keepdir /var/${PN}
fowners -R ${PN}:${PN} /var/${PN}
keepdir /var/{${PN}/{cache,download},log/${PN}}
fowners -R ${PN}:${PN} /var/{${PN}/{cache,download},log/${PN}}
insinto /etc/${PN}
insopts -m0660 -o ${PN} -g ${PN}
doins "${FILESDIR}/${PN}.ini"
# Rotation of log files
insinto /etc/logrotate.d
insopts -m0644 -o root -g root
newins "${FILESDIR}/${PN}.logrotate" ${PN}
# # weird stuff ;-)
# last_commit=$(git rev-parse HEAD)
# echo ${last_commit} > version.txt
insinto /usr/share/${PN}
doins -r themes lib runscripts medusa tests SickBeard.py ${FILESDIR}/autoProcessTV
fowners -R ${PN}:${PN} /usr/share/${PN}
}
pkg_postinst() {
# we need to remove .git which old ebuild installed
if [[ -d "/usr/share/${PN}/.git" ]] ; then
ewarn "stale files from previous ebuild detected"
ewarn "/usr/share/${PN}/.git removed."
ewarn "To ensure proper operation, you should unmerge package and remove directory /usr/share/${PN} and then emerge package again"
ewarn "Sorry for the inconvenience"
rm -Rf "/usr/share/${PN}/.git"
fi
elog "Medusa has been installed with data directories in /var/${PN}"
elog
elog "New user/group ${PN}/${PN} has been created"
elog
elog "Config file is located in /etc/${PN}/${PN}.ini"
elog
elog "Please configure /etc/conf.d/${PN} before starting as daemon!"
elog
elog "Start with ${ROOT}etc/init.d/${PN} start"
elog "Visit http://<host ip>:8081 to configure Medusa"
elog "Default web username/password : medusa/secret"
elog
}

View File

@@ -0,0 +1,6 @@
AUX 4.4-drop-intersphinx.patch 935 SHA256 69fbb60d35904690200abd8c1157656a716eeb326ca367122de3bb6690bdea51 SHA512 457a78af92b57b91186bbc06386e4db167b291c50f453dafc58cd4c3245994263cdefb560d29d97ffd027117f6c571c1d373b7e6f9762dcc79ba4ad8abcdafcf WHIRLPOOL e5e735b7eed5d1b1f048fad6f121609bac811f531c4253060dc48ce8f1b9a8f4d3fa07daabf428ae7c5d84d16f25983be42e2d346583b8ec5494e4eb1147751a
AUX 4.4.1-options-test.patch 651 SHA256 f676251b534a39266f1aa4c56668ac22e65702f344b4f1ebbef36dbb7c37e1af SHA512 b92b14f723afe290e6d42cd490f901fd389e8fe4752dcb9e28f8df24bc1c40db53035b89636f379a1d0b20af33c950a00970e033983cfd8440361552bb424cde WHIRLPOOL 61a87787e0011a477b6b7a7d8c7788de264b80c111fb95bf4d5eb43fc544a84b23598d4f59dbc754351bfe9893ca5e3e60e3d276889517494cc41ceed9761029
AUX 4.5.1-drop-intersphinx.patch 717 SHA256 5cf329a22effdcc9e6fbbdf3e7b5c765c1f2585fd8478e546743e14e73af9279 SHA512 1959062a395544a9557ff8603debb58e73cbd146e501b4d9f9e04bb4a1d9531899a8cfe5cbd41c474638245755e040cd10156a3b1874f66489757447a1af815e WHIRLPOOL 62be10d8d436118e89ee8b0a9caf7efbacfea8dc0d2bd5c0dad8e875b061a7ff75de75a3d2d81deff19e2d5f19ca5ed86ec13d9773669ada55a35d21101e4aee
DIST tornado-5.1.1.tar.gz 516819 SHA256 4e5158d97583502a7e2739951553cbd88a72076f152b4b11b64b9a10c4c49409 SHA512 f9ecedb20c055981f482c9a2a8bb30082dcc479674f75f6c8654afcf40f2ce5a45e82c7e2b5a6ce5d1c9da7896e865e78c7d29a64b6b1d28d6e74a718be62dc7 WHIRLPOOL 5b29d73253a01c6990feb64602a173da00e20e860429c312b6d7208c8b2f803eff941f69cfb118707c7c1523146e4b09108e769c9c5facf1c9042832bb7ab78a
EBUILD tornado-5.1.1.ebuild 1614 SHA256 79c954a8489ad0b7ef8fa8d8809969f6d0ce8334105d4b14c2ea8398c111d1eb SHA512 f4cdb0adcbb69e364e9dee6baccad15ff19cae62233293cf82706b15fe5ee35b94dc62abfa5447a76658d84e768e7f60840ede1b1ccd989a8deb3b18ef3dd821 WHIRLPOOL fb32d63c39c354a5fada2df64818b3a114569a33557607de002fb521cd73d3ae7c307c48ce4b7a74e99e2bb6b6f111fe22c4d27616bc59387dab1189b18704ba
MISC metadata.xml 380 SHA256 e0de71a43dcfabaffceb93eb1c239ad8f76c5f62de07f8aa9a5bcf454b3f4982 SHA512 e790429d61042b60a9011710e96df0044c64cc5ac941ab6268386138d3a66e46d40ed1098ec8bc164d9f4341040946ec7231e8f28dda11790ecc482b06978771 WHIRLPOOL a817f648f562c43ea9293a8aeed5f436e2c54a6c2617593a34d796875db9df0f920473da882809c4d8a1097228c1c12a55e95f6ad56795bcd020f17edbccac3d

View File

@@ -0,0 +1,36 @@
diff --git a/docs/Makefile b/docs/Makefile
index 7001b80..ab2ffdd 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -3,7 +3,7 @@ all: sphinx
# No -W for doctests because that disallows tests with empty output.
SPHINX_DOCTEST_OPTS=-n -d build/doctress .
-SPHINXOPTS=-n -W -d build/doctrees .
+SPHINXOPTS=-n -d build/doctrees .
.PHONY: sphinx
sphinx:
diff --git a/docs/conf.py b/docs/conf.py
index 368e4e8..85a276d 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -17,7 +17,6 @@ extensions = [
"sphinx.ext.coverage",
"sphinx.ext.doctest",
"sphinx.ext.extlinks",
- "sphinx.ext.intersphinx",
"sphinx.ext.viewcode",
]
@@ -92,10 +91,6 @@
'tornado-%s.tar.g' % version),
}
-intersphinx_mapping = {
- 'python': ('https://docs.python.org/3.5/', None),
- }
-
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
# On RTD we can't import sphinx_rtd_theme, but it will be applied by

View File

@@ -0,0 +1,13 @@
diff --git a/tornado/test/options_test.py b/tornado/test/options_test.py
index f7b215c..c050cb6 100644
--- a/tornado/test/options_test.py
+++ b/tornado/test/options_test.py
@@ -36,7 +36,7 @@ class OptionsTest(unittest.TestCase):
options.define("port", default=80)
options.define("username", default='foo')
options.define("my_path")
- config_path = os.path.join(os.path.dirname(__file__),
+ config_path = os.path.join(os.path.dirname(os.path.abspath(__file__)),
"options_test.cfg")
options.parse_config_file(config_path)
self.assertEqual(options.port, 443)

View File

@@ -0,0 +1,22 @@
diff -Nur tornado-4.5.1.orig/docs/conf.py tornado-4.5.1/docs/conf.py
--- tornado-4.5.1.orig/docs/conf.py 2017-06-27 17:39:55.881133239 +0000
+++ tornado-4.5.1/docs/conf.py 2017-06-27 17:40:59.910682166 +0000
@@ -16,7 +16,6 @@
"sphinx.ext.autodoc",
"sphinx.ext.coverage",
"sphinx.ext.doctest",
- "sphinx.ext.intersphinx",
"sphinx.ext.viewcode",
]
@@ -81,10 +80,6 @@
('index', 'tornado.tex', 'Tornado Documentation', 'The Tornado Authors', 'manual', False),
]
-intersphinx_mapping = {
- 'python': ('https://docs.python.org/3.5/', None),
- }
-
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
# On RTD we can't import sphinx_rtd_theme, but it will be applied by

View File

@@ -0,0 +1,12 @@
<?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">tornado</remote-id>
<remote-id type="github">tornadoweb/tornado</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,62 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="Python web framework and asynchronous networking library"
HOMEPAGE="http://www.tornadoweb.org/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
IUSE="doc examples test"
CDEPEND="
$(python_gen_cond_dep 'dev-python/futures[${PYTHON_USEDEP}]' 'python2_7')
>=dev-python/pycurl-7.19.3.1[${PYTHON_USEDEP}]
>=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
virtual/python-backports_abc[${PYTHON_USEDEP}]
virtual/python-futures[${PYTHON_USEDEP}]
virtual/python-singledispatch[${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/mock[${PYTHON_USEDEP}]
)
"
RDEPEND="${CDEPEND}"
# doc without intersphinx does not build (asyncio error)
#PATCHES=(
# "${FILESDIR}"/4.5.1-drop-intersphinx.patch
#)
python_compile_all() {
use doc && emake -C docs sphinx
}
python_test() {
"${PYTHON}" -m tornado.test.runtests || die "tests failed under ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( docs/build/html/. )
if use examples; then
insinto /usr/share/doc/${PF}/examples
doins -r demos/.
docompress -x /usr/share/doc/${PF}/examples
fi
distutils-r1_python_install_all
}