summaryrefslogtreecommitdiff
path: root/dev-python/rope
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/rope
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/rope')
-rw-r--r--dev-python/rope/Manifest10
-rw-r--r--dev-python/rope/files/rope-0.10.3-doc-syntax-errors.patch35
-rw-r--r--dev-python/rope/metadata.xml16
-rw-r--r--dev-python/rope/rope-0.10.3.ebuild44
-rw-r--r--dev-python/rope/rope-0.10.5.ebuild44
-rw-r--r--dev-python/rope/rope-0.10.7.ebuild44
6 files changed, 193 insertions, 0 deletions
diff --git a/dev-python/rope/Manifest b/dev-python/rope/Manifest
new file mode 100644
index 000000000000..b65e07baef71
--- /dev/null
+++ b/dev-python/rope/Manifest
@@ -0,0 +1,10 @@
+AUX rope-0.10.3-doc-syntax-errors.patch 1207 SHA256 abd2d6c38f5464fd532b7f3c36cbd1a5557cceadc4912e8aa8f7115079bc6248 SHA512 6bf617e20ef8810496b92cb5e55240622ea7285c435b090254cd9211a29f0c8d103322ed772424cdaeb528dabe1a606adea95647480fed9609e71c29584faaf3 WHIRLPOOL e4db8405bb8735a8d06ad0a50b6cc89b23e2ec787a9ecad6bbc054ae77ac3469c6d08470d82363f5ce873e1cbff44c7244522ad913825021e9b606e12d81f0e5
+DIST rope-0.10.3.tar.gz 226123 SHA256 eb45bea0abcf31a1a12ff087b990060e64244b835582ebc7642e6f7ea1fd65a2 SHA512 1d868aeebd086c3fc199316a71e61a8c46c76d85176557842051bb8f51d090f316df6bb84f766db5a46dc164d3e471eb90465805a102e46acb34e39b2b0ce8b4 WHIRLPOOL 16cd8b80f7f3fe729d1d3b4b5b98fcd5b6f16c818ddd67a9d460fe4947e768febf1425e8d20bf0e47c9d49a58b4ba1acac0e6640d61fc187f84fc843128c591d
+DIST rope-0.10.5.tar.gz 243931 SHA256 2ff6099e65798f9e27da5026cc7136b4d9b340fc817031ccb4318f61f448127f SHA512 90a055be51834cc642f06b2bbcad4419d15605393a784a414c069a43816243badcbe5fa131bac48a5899268fcbdc11292c8469d30747614b7c85eebb8f2b6fae WHIRLPOOL bafe308c6f22805256dfe6b8b7e6d11c89afeca51837fac877fd94baa8610386f9e09fd03901271705c8b2fc72754a19e394d6e8999ec6d9f6b23d4cd8791fdd
+DIST rope-0.10.7.tar.gz 244089 SHA256 a09edfd2034fd50099a67822f9bd851fbd0f4e98d3b87519f6267b60e50d80d1 SHA512 80343b8b7af883afbd04734b0fe4dbdab114301234654cbd95b3ae8be8dff40878105b7647209f5e899b981ab6a7ecb987d9bdf942b32ed083c745128c22ef95 WHIRLPOOL e002d4defc2076c9c550a8b4a27df54488a209ce8aaad769a46e25c90b73cf7263bb214f9cc0db7a577f3d81958e20f9028023d5cfd9e4a6590f3ecb40d06408
+EBUILD rope-0.10.3.ebuild 1033 SHA256 c97010e8d832ade31af1e8f3dbbd92d72cbc20fcd17fd2bc7e700504e14c6bff SHA512 78312c709aa2298027ff4a8340b5fc010d742233db9acb1715eede323c85448e96b4f65f7d506bff6374b9437fdd8fae3c8dd85264f78c4922c5ce313fcf911f WHIRLPOOL eec7cffb02385b26715102c2da7d638f8bb66ce18f3bfe9746d825acd825934e42e0a115feab3802ed21c6501ea17d416a325ed7e79eb20954914d5a9c802ff7
+EBUILD rope-0.10.5.ebuild 1043 SHA256 b7d285eebe665b5f095e9f09c3894346789cc05345f462efdf999c4a9bfa13ea SHA512 9cec94184fcbb7c65f4ccd828a4e1718f0acb5a6d769bef8723d3bec16663702ce835970b0721e230fc67a2381b02a8cd68ee6e15bd41ab4c0a0cc26fb848fc7 WHIRLPOOL 38679cbe140d4af4859e8f638978afe7f490cdc1b07ea13cf8be5664e3dd58b91b4a59ce242ef5051cbc3222d1cd7386ea6ef103f401f9988961b977c0ce1c07
+EBUILD rope-0.10.7.ebuild 1059 SHA256 4a6e3c18ee5f7903b93302d16d704960d42c09d8d6275c50baad4f4308129eb2 SHA512 c9557956594ee1b36e61ecab56155910b33e1f352431d1b6b26b653cb1593d92b975975d75089c48501b96dc4bf74ea6d89f878c495fe14b4e76bedadf533ad7 WHIRLPOOL fe184be6a2651fcae818008e4015486e1480a964d6a922dadaff4f3cc4c166ffa4d971a242097bf058390bef4f0f86686db1f749e2b11f111dfeb47c670c93f5
+MISC ChangeLog 4327 SHA256 ab6291860729e4894ffb3efbc164ef265c26182dbab150c9db572b6b7ae8ccbd SHA512 2e8c6944a4c5563bf909c4c0087e7a60be931760faf9db45841b177feb4d4fc969410af74dc64aca1cc4bb8dbdaad7e0031e761bff464adb7dfed83c69e9ac0a WHIRLPOOL 651840dd9611abb394223b7aae389df37c123fdbc43b68329dce43f88bd32555450eb76e809f6c55b4737ef8f60f582af68c3b39f76d359473bf239cbcea7124
+MISC ChangeLog-2015 3313 SHA256 20faecb2825d6d2c5fa4a4f918925be34fd2082891abebe1b596dfc7d9750ab1 SHA512 94a42d59fd0e5e6cb06f86c75e6f3f8ed981d0bcff4e7475dec0b5d3e2a08876fe407cd9428b98d8eb6484f8b5e568abf2bf6b2cb7abf7f1f4c8ad61734fe5cd WHIRLPOOL 827061a8004490ab4e352f07c4234969d4b560824f03416fb2844f13dd0ccf2c76770b4480edee35982019dfb7600d5c3b96cfeee3031438725f974ab1ee1c3c
+MISC metadata.xml 517 SHA256 c8e22cb63773abe081559391df95c6b5f23250e76fb1eaf8dfe0eef2a900ebad SHA512 6289b55677d1e26372017042042229865bad64a396952c21a7d5a1f25322c2ccfed11c0a9ea0c0896573dd1f04dc3263dc3eb28ff7b0b804c2bddf231e924630 WHIRLPOOL 046a1a34f036a4654f22d2c1ab78070fd906d05c1503afa4f190b886fcec984a8aef3a1c5e39ac7cb33bea4ed5f58f084c3b1cae8661ad02359902d645d7217b
diff --git a/dev-python/rope/files/rope-0.10.3-doc-syntax-errors.patch b/dev-python/rope/files/rope-0.10.3-doc-syntax-errors.patch
new file mode 100644
index 000000000000..f219e1bb02ad
--- /dev/null
+++ b/dev-python/rope/files/rope-0.10.3-doc-syntax-errors.patch
@@ -0,0 +1,35 @@
+# Fix syntax errors in doc files
+diff --git a/docs/contributing.rst b/docs/contributing.rst
+index c6cb8a8..9efc3cc 100644
+--- a/docs/contributing.rst
++++ b/docs/contributing.rst
+@@ -45,7 +45,7 @@ about them, don't hesitate to discuss it in the mailing list.
+ Getting Ready For Python 3.0
+ ----------------------------
+
+-Checkout http://bitbucket.org/agr/rope_py3k Mercurial_ repository.
++Checkout http://bitbucket.org/agr/rope_py3k Mercurial repository.
+ Contributions are welcome.
+
+ Write Plugins For Other IDEs
+@@ -79,7 +79,7 @@ Source Repository
+ =================
+
+ Rope uses GitHub_. The repository exists at
+-`https://github.com/python-rope/rope`_.
++`https://github.com/python-rope/rope`.
+
+
+ Submitting patches
+diff --git a/docs/library.rst b/docs/library.rst
+index 390b9c8..ee918bc 100644
+--- a/docs/library.rst
++++ b/docs/library.rst
+@@ -72,7 +72,7 @@ In rope, files and folders in a project are accessed through
+ ``Change``\s (we'll talk about them later) use resources.
+
+ There are two options for creating a ``Resource`` for a path in a project.
+-The first approach uses the `Project.get_resource()`_ method.
++The first approach uses the `Project.get_resource()` method.
+
+ .. code-block:: python
diff --git a/dev-python/rope/metadata.xml b/dev-python/rope/metadata.xml
new file mode 100644
index 000000000000..0070618315a2
--- /dev/null
+++ b/dev-python/rope/metadata.xml
@@ -0,0 +1,16 @@
+<?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 lang="en">
+ Rope is a python refactoring library.
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">rope</remote-id>
+ <remote-id type="sourceforge">rope</remote-id>
+ <remote-id type="github">python-rope/rope</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/rope/rope-0.10.3.ebuild b/dev-python/rope/rope-0.10.3.ebuild
new file mode 100644
index 000000000000..520fe2fecc00
--- /dev/null
+++ b/dev-python/rope/rope-0.10.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Python refactoring library"
+HOMEPAGE="https://github.com/python-rope/rope"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+IUSE="doc"
+
+# Dependency for docbuild documentation which is not noted in
+# setup.py, using standard docutils builds docs successfully.
+DEPEND="doc? ( dev-python/docutils[${PYTHON_USEDEP}] )"
+
+PATCHES=( "${FILESDIR}/${P}-doc-syntax-errors.patch" )
+
+python_test() {
+ PYTHONPATH="${BUILD_DIR}/lib:." ${EPYTHON} ropetest/__init__.py
+}
+
+python_compile_all() {
+ if use doc; then
+ pushd docs > /dev/null || die
+ mkdir build || die
+ local i
+ for i in ./*.rst; do
+ rst2html.py $i > ./build/${i/rst/html} || die
+ done
+ popd > /dev/null || die
+ fi
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/build/. )
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/rope/rope-0.10.5.ebuild b/dev-python/rope/rope-0.10.5.ebuild
new file mode 100644
index 000000000000..cc5138dba16d
--- /dev/null
+++ b/dev-python/rope/rope-0.10.5.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Python refactoring library"
+HOMEPAGE="https://github.com/python-rope/rope"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc"
+
+# Dependency for docbuild documentation which is not noted in
+# setup.py, using standard docutils builds docs successfully.
+DEPEND="doc? ( dev-python/docutils[${PYTHON_USEDEP}] )"
+
+PATCHES=( "${FILESDIR}/${PN}-0.10.3-doc-syntax-errors.patch" )
+
+python_test() {
+ PYTHONPATH="${BUILD_DIR}/lib:." ${EPYTHON} ropetest/__init__.py
+}
+
+python_compile_all() {
+ if use doc; then
+ pushd docs > /dev/null || die
+ mkdir build || die
+ local i
+ for i in ./*.rst; do
+ rst2html.py $i > ./build/${i/rst/html} || die
+ done
+ popd > /dev/null || die
+ fi
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/build/. )
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/rope/rope-0.10.7.ebuild b/dev-python/rope/rope-0.10.7.ebuild
new file mode 100644
index 000000000000..88eae38207d2
--- /dev/null
+++ b/dev-python/rope/rope-0.10.7.ebuild
@@ -0,0 +1,44 @@
+# 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="Python refactoring library"
+HOMEPAGE="https://github.com/python-rope/rope"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc"
+
+# Dependency for docbuild documentation which is not noted in
+# setup.py, using standard docutils builds docs successfully.
+DEPEND="doc? ( dev-python/docutils[${PYTHON_USEDEP}] )"
+
+PATCHES=( "${FILESDIR}/${PN}-0.10.3-doc-syntax-errors.patch" )
+
+python_test() {
+ PYTHONPATH="${BUILD_DIR}/lib:." ${EPYTHON} ropetest/__init__.py
+}
+
+python_compile_all() {
+ if use doc; then
+ pushd docs > /dev/null || die
+ mkdir build || die
+ local i
+ for i in ./*.rst; do
+ rst2html.py $i > ./build/${i/rst/html} || die
+ done
+ popd > /dev/null || die
+ fi
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/build/. )
+ distutils-r1_python_install_all
+}