diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/foolscap |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/foolscap')
-rw-r--r-- | dev-python/foolscap/Manifest | 7 | ||||
-rw-r--r-- | dev-python/foolscap/foolscap-0.11.0.ebuild | 53 | ||||
-rw-r--r-- | dev-python/foolscap/foolscap-0.7.0.ebuild | 36 | ||||
-rw-r--r-- | dev-python/foolscap/metadata.xml | 28 |
4 files changed, 124 insertions, 0 deletions
diff --git a/dev-python/foolscap/Manifest b/dev-python/foolscap/Manifest new file mode 100644 index 000000000000..80f254f2822d --- /dev/null +++ b/dev-python/foolscap/Manifest @@ -0,0 +1,7 @@ +DIST foolscap-0.11.0.tar.gz 491916 SHA256 b6874de97eb08654362cce80317e68d203bcccf85e4eed613ef10a3cf4b1aa87 SHA512 577cd15e7f9207a9675999590cb1189edbdd77a2daee5cab80d66d40b1343bcb338a064eedf372ca7f8a102ed1cef0770923d6dea27dd6c3b37c0717cdc912e8 WHIRLPOOL 5ecc908bc46e1ab7ce8709351488111d187b71d85f6c59a5063eacb81b010e1925dd25f48341a775c6c1daa1a649613eb28822b588a8594187458ba76b2e1c6d +DIST foolscap-0.7.0.tar.gz 478999 SHA256 fba0e016079442c9e69e2752727a1307f4110a1c62319a059650b2ab044b29d8 SHA512 b2eb5415376d4e8e4ee3fd9ecef80a02d195d6b44059e5292c2daa7dcfdea9deafd8678ff89391128244a8d41fb6a69a92f9e4f07cc599f7358783dc8cb70f15 WHIRLPOOL 58bc4b34d36e1edfa3bbcadb6a16704820af8b6448bf09d6d5e95c23edf60f41481d6792fcae808c0bd8bb3f71b18ed794c0be00e77cc67f160cb3b026567384 +EBUILD foolscap-0.11.0.ebuild 1271 SHA256 2d706696f78fefa799d95778643acfe8c2bffc300af68f32291cc027bcab7599 SHA512 4a1d9ebfce4c7679f1939c28742b95d6f63a0725abec04f3d2f9301f8aa9367b1cf8fa88eb8ddd6c6382d0a21c3fd39be4fa19b971c1afdf8bc5652e077817c2 WHIRLPOOL 138b65377230b53af506b6e259a0f7459d551a2e1d171bdf2e39ebacca42a0037c982cb3fb65c3e22adfd1c27acf57be866e980f1d27d5f86539c9e4821cd175 +EBUILD foolscap-0.7.0.ebuild 913 SHA256 9919c910a93952c9d75fd41b2fc7b5151761033b479cca0d293ecd31f8ce571d SHA512 6c5a16876e4225704c9a43a20c06fd925a203e09a4268c47b493337561623c6f0b976d6d3e4a12f9360ea7569ba0b20537f5062bc1942c66411801438e799d9d WHIRLPOOL 9e2a2f5f994e517dec5f64e4d64a541694ef8f50ab65e97958f208038bc8ab4d8546d832ca38f88cd4e3093218e6e56f59e008ee2aad0e9335c909b40f69f173 +MISC ChangeLog 3489 SHA256 04c737f16cbab97e95266879896e9d2474041db7a012341afe6aa7cb83cf1d4e SHA512 9083f5fc8bd50a7f05308c6dcf1bda780f7a281c5f060654ac2252a66be1babc77662e7f14c01d39dc26610bc63bd6d4b4ccad40c9f4b98976224285d45596a2 WHIRLPOOL 51f486bf01c58fa0a3092d07754af1581e2a13884ac16e7645b2bf0d1704cd19bcd703ae790e064f0198c4a82d8969c95a7c667b2f3e66137e135fa90ab808b2 +MISC ChangeLog-2015 7314 SHA256 fa7016b28f20a7679326654ae46fa2706fbd6b185eba412479941ad18a66f14e SHA512 16333c8a769fba99dcf5416d58f84381db293fd1f9804b32f9a7e75318a6b3ca47592aacba1ff79ff32deba43530bd9bc8ddbc87d981f1d24aecb3c8eaf0aff7 WHIRLPOOL a62803a8b44960860e1d318680e84236ef7f9a4045a36ce63bb54c18fcf92c77d9dfeb9effb41b6a62af43de6a767e064b74424800a0a3b5480bf71ffe5f8d64 +MISC metadata.xml 1272 SHA256 970d5a4dcf3b23607214a891220d28ffedbfb2bdf11e709759c58b1520f6e228 SHA512 5509a54a69ca4d5c6898cdf125fc62d974b494dcce9117e9c66fc2e4e17b7f0d07e423739c9ea8b81cd2b3f16012400df9f764a5e2a4ab939edb2f8a3428ced0 WHIRLPOOL d7cc69d7f773537e56dea398efb3dbecae2e2fde4a888a2492b510fe648fb9f254f2973aac2bb4c1ae93acfcdcb94f506f6110c0c7e5b4584364b7b2155c4a3c diff --git a/dev-python/foolscap/foolscap-0.11.0.ebuild b/dev-python/foolscap/foolscap-0.11.0.ebuild new file mode 100644 index 000000000000..5a4b05b9ddde --- /dev/null +++ b/dev-python/foolscap/foolscap-0.11.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="RPC protocol for Twisted" +HOMEPAGE="http://foolscap.lothar.com/trac https://pypi.python.org/pypi/foolscap" +SRC_URI="http://${PN}.lothar.com/releases/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="doc +ssl test" + +# setup.py stipulates >=twisted-core-2.5.0 but failures occur in testsuite under -15.x +RDEPEND=" + dev-python/twisted-core[${PYTHON_USEDEP}] + dev-python/twisted-web[${PYTHON_USEDEP}] + dev-python/service_identity[${PYTHON_USEDEP}] + ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) + " +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( ${RDEPEND} )" + +python_test() { + trial ${PN} || die "Tests fail for ${EPYTHON}" +} + +python_compile_all() { + local i; + if use doc; then + pushd doc > /dev/null + mkdir build || die + for i in ./*.rst + do + rst2html.py $i > ./build/${i/rst/html} || die + done + popd > /dev/null + fi +} + +python_test() { + trial ${PN} || die "Tests fail for ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/build/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/foolscap/foolscap-0.7.0.ebuild b/dev-python/foolscap/foolscap-0.7.0.ebuild new file mode 100644 index 000000000000..24f6c34c2be0 --- /dev/null +++ b/dev-python/foolscap/foolscap-0.7.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="RPC protocol for Twisted" +HOMEPAGE="http://foolscap.lothar.com/trac https://pypi.python.org/pypi/foolscap" +SRC_URI="http://${PN}.lothar.com/releases/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="doc +ssl test" + +RDEPEND=">=dev-python/twisted-core-2.5.0[${PYTHON_USEDEP}] + >=dev-python/twisted-web-2.5.0[${PYTHON_USEDEP}] + ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( ${RDEPEND} )" + +python_test() { + trial ${PN} || die "Tests fail for ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install_all + + if use doc; then + dodoc doc/*.txt + dohtml -A py,tpl,xhtml -r doc/* + fi +} diff --git a/dev-python/foolscap/metadata.xml b/dev-python/foolscap/metadata.xml new file mode 100644 index 000000000000..05b50f1ab47b --- /dev/null +++ b/dev-python/foolscap/metadata.xml @@ -0,0 +1,28 @@ +<?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> +This is a ground-up rewrite of Perspective Broker, which itself is Twisted's +native RPC/RMI protocol (Remote Procedure Call / Remote Method Invocation). +If you have control of both ends of the wire, and are thus not constrained to +use some other protocol like HTTP/XMLRPC/CORBA/etc, you might consider using +Foolscap. + +Fundamentally, Foolscap allows you to make a python object in one process +available to code in other processes, which means you can invoke its methods +remotely. This includes a data serialization layer to convey the object +graphs for the arguments and the eventual response, and an object reference +system to keep track of which objects you are connecting to. It uses a +capability-based security model, such that once you create a non-public +object, it is only accessible to clients to whom you've given the +(unguessable) FURL. You can of course publish world-visible objects that +have well-known FURLs. +</longdescription> + <upstream> + <remote-id type="pypi">foolscap</remote-id> + </upstream> +</pkgmetadata> |