add Emby Theater
This commit is contained in:
3
dev-python/pastescript/Manifest
Normal file
3
dev-python/pastescript/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
AUX pastescript-setup.py-exclude-tests.patch 656 BLAKE2B 4570f85c9476528e19d548a3760fcf1ddb9d4f6cdc61ec7f6336d03ebaf92be0dae849bad044d7307a68be76a1b635a1764394fc7b409b4c5f9dfbdde83cd803 SHA512 231018ef54e937721efb84da42c238afc3903614c030d9966e05512e0a93a1717b8b20d668ab0ebea1c70202ade8d83de41edb85d2ae4665e0100abf1f75d963
|
||||
DIST PasteScript-2.0.2.tar.gz 117521 BLAKE2B 2de72050ee7f5b7037b99f9661b5445e523607afc84a8846f0e5d9e89196e302627f552825ce0e4f821b7ed9ed2713c87d7b504a4e2abf092f1e8fa014c40c4b SHA512 2f093eb982972fed354219c75c2e008931cea553960cea8aaafbe57cde8556de5626e7eb9bb3b9b7328bad3b7d9899f11fc9773a65380396dae506e7531516de
|
||||
EBUILD pastescript-2.0.2.ebuild 1259 BLAKE2B 716f1b1c4dc16e9389e8881db6c5b6d52de3b0b0060cdb9c7ae0fbc5733fbacd865e9669eccd937f50f75f3eccb96877d2aa608508c4d19514bc5ae3e038a1e9 SHA512 9ab181cf81909df9b80b29433aab29c2a831f27baec3bcf85195ebb53ed03529c1fa65f455369c7be13c37265f47cc900f1a58d7e46b5edacc99a4e5651c5fcb
|
||||
@@ -0,0 +1,18 @@
|
||||
# HG changeset patch
|
||||
# User Mike Gilbert <floppym@gentoo.org>
|
||||
# Date 1353179174 18000
|
||||
# Node ID 814fbc493e7a9999086127f64c2406ecb1794990
|
||||
# Parent 510ff7d7627750eb0dbbc0d36fa63c72ffa6b303
|
||||
Exclude subpackages of tests.
|
||||
diff --git a/setup.py b/setup.py
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -61,7 +61,7 @@
|
||||
url="http://pythonpaste.org/script/",
|
||||
namespace_packages=['paste'],
|
||||
license='MIT',
|
||||
- packages=find_packages(exclude='tests'),
|
||||
+ packages=find_packages(exclude=['tests','tests.*']),
|
||||
package_data={
|
||||
'paste.script': ['paster-templates/basic_package/setup.*',
|
||||
'paster-templates/basic_package/tests/*.py',
|
||||
44
dev-python/pastescript/pastescript-2.0.2.ebuild
Normal file
44
dev-python/pastescript/pastescript-2.0.2.ebuild
Normal file
@@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5,6,7,8,9} )
|
||||
inherit distutils-r1
|
||||
MY_PN="PasteScript"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="A pluggable command-line frontend, including commands to setup package file layouts"
|
||||
HOMEPAGE="http://pythonpaste.org/script/ https://pypi.python.org/pypi/PasteScript"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||
IUSE="doc test"
|
||||
RDEPEND="
|
||||
>=dev-python/paste-1.3[${PYTHON_USEDEP}]
|
||||
dev-python/pastedeploy[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? (
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
# Tests are broken.
|
||||
RESTRICT="test"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
einfo "Generation of documentation"
|
||||
esetup.py build_sphinx
|
||||
fi
|
||||
}
|
||||
python_test() {
|
||||
nosetests -v -v || die
|
||||
}
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
if use doc; then
|
||||
cd "${BUILD_DIR}"/sphinx/html || die
|
||||
dohtml -r [a-z]* _static
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user