www-apps/syncserver: new package (and deps) for Firefox Sync Server
This commit is contained in:
parent
ceb5871da9
commit
b1dc230fa4
98 changed files with 1907 additions and 0 deletions
3
dev-python/paste/Manifest
Normal file
3
dev-python/paste/Manifest
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
AUX paste-2.0.3-unbundle-tempita.patch 1260 BLAKE2B eee8a9ede07730cc6af7de910a0298bfac23f6d2b31467101375720782920d878716bf91a031ba651e00a61f3a7201708e94ecd8b78f1bd6a52c50ef2826f8d5 SHA512 f21894596c81d984bd7820876e7dfc614728beba107294fecbab084ae1e023428d4d86bde31e428c2f0aa78647636d19f476129ff319dd2c90052218cf428c98
|
||||
DIST Paste-3.0.8.tar.gz 631298 BLAKE2B 0640e6eeec6ce990fd324ba0b4f1ead184072bd19985f8ceb2785893e965fe593bedf1b0d985ec4f3c48693856fe478bcabd5426da94cf74290106288b3163cf SHA512 d811e9a69f6fdd9cd7c960bae45c889cfb9b761f66c84b045e26f8cea0fa499c5ec27510d2b639062ab75cb090a35a37930813ac1f42c59c0426f2e3231d9c96
|
||||
EBUILD paste-3.0.8.ebuild 1901 BLAKE2B be5890f92d4feb948d51056320c7052a1ddc530b836115ddb6aebd16148b2f0c98ab64f9018799ccaefdde5ec625c3709c08d7e42b37e410953bbef6a3434988 SHA512 58c8620b6fde31ae28bcf7cb8aafbd45c173abf4573d90d2858e6e63240ebbbcd25153c335ca3d29bbe83f744bbdabaaf0a02a125ef4932662285f61b5206d51
|
||||
36
dev-python/paste/files/paste-2.0.3-unbundle-tempita.patch
Normal file
36
dev-python/paste/files/paste-2.0.3-unbundle-tempita.patch
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
paste/util/looper/__init__.py | 4 ++++
|
||||
paste/util/{looper.py => looper/_looper.py} | 0
|
||||
paste/util/template/__init__.py | 6 ++++++
|
||||
paste/util/{template.py => template/_template.py} | 0
|
||||
4 files changed, 10 insertions(+)
|
||||
|
||||
diff --git a/paste/util/looper/__init__.py b/paste/util/looper/__init__.py
|
||||
new file mode 100644
|
||||
index 0000000..77d7e80
|
||||
--- /dev/null
|
||||
+++ b/paste/util/looper/__init__.py
|
||||
@@ -0,0 +1,4 @@
|
||||
+try:
|
||||
+ from tempita._looper import *
|
||||
+except ImportError:
|
||||
+ from _looper import *
|
||||
diff --git a/paste/util/looper.py b/paste/util/looper/_looper.py
|
||||
similarity index 100%
|
||||
rename from paste/util/looper.py
|
||||
rename to paste/util/looper/_looper.py
|
||||
diff --git a/paste/util/template/__init__.py b/paste/util/template/__init__.py
|
||||
new file mode 100644
|
||||
index 0000000..a0a5730
|
||||
--- /dev/null
|
||||
+++ b/paste/util/template/__init__.py
|
||||
@@ -0,0 +1,6 @@
|
||||
+try:
|
||||
+ from tempita import *
|
||||
+ from tempita import paste_script_template_renderer
|
||||
+except ImportError:
|
||||
+ from _template import *
|
||||
+ from _template import paste_script_template_renderer
|
||||
diff --git a/paste/util/template.py b/paste/util/template/_template.py
|
||||
similarity index 100%
|
||||
rename from paste/util/template.py
|
||||
rename to paste/util/template/_template.py
|
||||
73
dev-python/paste/paste-3.0.8.ebuild
Normal file
73
dev-python/paste/paste-3.0.8.ebuild
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="Paste"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Tools for using a Web Server Gateway Interface stack"
|
||||
HOMEPAGE="https://pypi.org/project/Paste/"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="doc flup openid"
|
||||
|
||||
RDEPEND="dev-python/namespace-paste[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/tempita-0.5.2_pre20130828[${PYTHON_USEDEP}]
|
||||
flup? ( dev-python/flup[$(python_gen_usedep 'python2*')] )
|
||||
openid? ( dev-python/python-openid[$(python_gen_usedep 'python2*')] )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-runner[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_prepare_all() {
|
||||
# Disable failing tests.
|
||||
rm -f tests/test_cgiapp.py || die
|
||||
sed \
|
||||
-e "s/test_find_file/_&/" \
|
||||
-e "s/test_deep/_&/" \
|
||||
-e "s/test_static_parser/_&/" \
|
||||
-i tests/test_urlparser.py || die "sed failed"
|
||||
|
||||
# Remove a test that runs against the paste website.
|
||||
rm -f tests/test_proxy.py || die
|
||||
|
||||
local PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.0.3-unbundle-tempita.patch
|
||||
)
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile egg_info --egg-base "${BUILD_DIR}/lib"
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && esetup.py build_sphinx
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests -P -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install egg_info --egg-base "${BUILD_DIR}/lib"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. )
|
||||
distutils-r1_python_install_all
|
||||
|
||||
find "${D}" -name '*.pth' -delete || die
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue