From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-python/pastedeploy/Manifest | 6 ++++ .../files/pastedeploy-1.5.2-py3-tests.patch | 19 ++++++++++ dev-python/pastedeploy/metadata.xml | 17 +++++++++ dev-python/pastedeploy/pastedeploy-1.5.2-r1.ebuild | 42 ++++++++++++++++++++++ dev-python/pastedeploy/pastedeploy-1.5.2.ebuild | 30 ++++++++++++++++ 5 files changed, 114 insertions(+) create mode 100644 dev-python/pastedeploy/Manifest create mode 100644 dev-python/pastedeploy/files/pastedeploy-1.5.2-py3-tests.patch create mode 100644 dev-python/pastedeploy/metadata.xml create mode 100644 dev-python/pastedeploy/pastedeploy-1.5.2-r1.ebuild create mode 100644 dev-python/pastedeploy/pastedeploy-1.5.2.ebuild (limited to 'dev-python/pastedeploy') diff --git a/dev-python/pastedeploy/Manifest b/dev-python/pastedeploy/Manifest new file mode 100644 index 000000000000..bc5d220161b7 --- /dev/null +++ b/dev-python/pastedeploy/Manifest @@ -0,0 +1,6 @@ +AUX pastedeploy-1.5.2-py3-tests.patch 606 BLAKE2B 8f7d5a9f8c517e14a1ecdcbfa040977ab9d3c8e7a072eef3c31d50ac74c02b377ea25fa965d36a89f3c9e0fbfed63364447cfe5525468766df976445d9cebe9c SHA512 0301653864071de976bae24a945ba6d8499aaf21d41c5117ad922254055ee8a3b975cdadc6590677cd458a233ad115647a01a05d52feb0dd40d16bcf4de8f5cc +DIST PasteDeploy-1.5.2.tar.gz 24006 BLAKE2B 1088d5cdafc80402b44c6c0e62829d1efe666d9ef8c84409125173ce927aecb8ed3ec4283b9821a42cc614d27e74e43e79407554fabfd79f6a913f9742532c72 SHA512 03147b2e735f4504b928066d35f46e7d19a49b85afc506b793fba69c8827a4d5b8185074bdd4a963ac392cc104f5a608d1db9a3538d7d3239da5febcbff4ccab +DIST pastedeploy-1.5.2-r1.tar.gz 29528 BLAKE2B 0c36f24e51eb66b9a2176083d42726be5be8e7eb9b7d73972bcb5a2b0094beb1c88f3eea9ce94bfccaf688b6f5fdbf18e43e38694b91107a141ac0acf0576ed6 SHA512 5d9f648d4bddb4fa0b018f5e1c100d0899ff9e6a429a0a54aede69800fa13b7bb0d606ff454c516b36c3b056320bbda4581de9d57a154e71493a8bd6208fb3ce +EBUILD pastedeploy-1.5.2-r1.ebuild 1020 BLAKE2B 21211d3e37b763a61ef726f9e35f79330c3cf84ddec939fe2d6b5eabca8257e4ec6f22f8b8eec2d81bbfef83d170aab1160d091ac18e095a9818a70745232449 SHA512 dba68d4f7638b9abb4f93c8f9c3f4dbe29b3082ff84dd36bae175ef94912e816cf0237d017987fdf8cbb287b3429e058926445fde2472df78f56b8836d565242 +EBUILD pastedeploy-1.5.2.ebuild 722 BLAKE2B 2526770d694c21d7bfb74e277cf889ce35e1763e6a9e7f8122a48cb849c6a0897ecb6f1768de56c9a9d6b48af7d2cb6df7d25f2e985063fb60a1df19122e1231 SHA512 16e96c1835599ddf9021482b1f6589d5255d5de9dbe607fbf17d04992b23a2d42de0999466dbf2d9727a0a02aa0e028e15647fd7cbd0c7ce2e7bb0c4f845f677 +MISC metadata.xml 806 BLAKE2B f945ec7a43dac81abc59fa63d078872fe4bbd9bf3945ca0f03b4d78bb2511bbe137ef8d01424c5c54a55b73f22778dbd9efa009ab64ef41a20d55bd71bb15e99 SHA512 da770a4fe1f5918391fa4861dab525dcee34d5aeb362a464307c6c8b32edb4731effd22339056f01d77eea8d3729d3ca57572d1d95ebab8b786cad9029250f7d diff --git a/dev-python/pastedeploy/files/pastedeploy-1.5.2-py3-tests.patch b/dev-python/pastedeploy/files/pastedeploy-1.5.2-py3-tests.patch new file mode 100644 index 000000000000..0839406813b6 --- /dev/null +++ b/dev-python/pastedeploy/files/pastedeploy-1.5.2-py3-tests.patch @@ -0,0 +1,19 @@ +# HG changeset patch +# User aodag +# Date 1457425517 -32400 +# Node ID 6aeb907ef222ed071b149f8b07b14f0a61e45dbe +# Parent 0c2ea2f675bc77f2ee2a889c0e83d61d026fbc7b +use explicit bytes literal + +diff --git a/tests/test_config_middleware.py b/tests/test_config_middleware.py +--- a/tests/test_config_middleware.py ++++ b/tests/test_config_middleware.py +@@ -10,7 +10,7 @@ + + def app_with_exception(environ, start_response): + def cont(): +- yield "something" ++ yield b"something" + raise Bug + start_response('200 OK', [('Content-type', 'text/html')]) + return cont() diff --git a/dev-python/pastedeploy/metadata.xml b/dev-python/pastedeploy/metadata.xml new file mode 100644 index 000000000000..c40531961758 --- /dev/null +++ b/dev-python/pastedeploy/metadata.xml @@ -0,0 +1,17 @@ + + + + + python@gentoo.org + Python + + Paste Deployment is a system for finding and configuring WSGI applications + and servers. For WSGI application consumers it provides a single, simple + function (loadapp) for loading a WSGI application from a configuration file + or a Python Egg. For WSGI application providers it only asks for a single, + simple entry point to your application, so that application users don't need + to be exposed to the implementation details of your application. + + PasteDeploy + + diff --git a/dev-python/pastedeploy/pastedeploy-1.5.2-r1.ebuild b/dev-python/pastedeploy/pastedeploy-1.5.2-r1.ebuild new file mode 100644 index 000000000000..f23af57e0f7c --- /dev/null +++ b/dev-python/pastedeploy/pastedeploy-1.5.2-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 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} ) + +inherit distutils-r1 vcs-snapshot + +MY_PN="PasteDeploy" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Load, configure, and compose WSGI applications and servers" +HOMEPAGE="https://pypi.org/project/PasteDeploy/" +# pypi tarball does not include tests +SRC_URI="https://bitbucket.org/ianb/pastedeploy/get/${PV}.tar.gz -> ${P}-r1.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="doc test" + +RDEPEND="dev-python/namespace-paste[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +S=${WORKDIR}/${P}-r1 + +PATCHES=( + "${FILESDIR}"/${P}-py3-tests.patch +) + +python_test() { + esetup.py test +} + +python_install_all() { + distutils-r1_python_install_all + + use doc && dodoc docs/*.txt + find "${D}" -name '*.pth' -delete || die +} diff --git a/dev-python/pastedeploy/pastedeploy-1.5.2.ebuild b/dev-python/pastedeploy/pastedeploy-1.5.2.ebuild new file mode 100644 index 000000000000..d52292e3ec2c --- /dev/null +++ b/dev-python/pastedeploy/pastedeploy-1.5.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 + +MY_PN="PasteDeploy" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Load, configure, and compose WSGI applications and servers" +HOMEPAGE="https://pypi.org/project/PasteDeploy/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="doc" + +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +python_install_all() { + distutils-r1_python_install_all + + use doc && dodoc docs/*.txt +} -- cgit v1.2.3