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/pydot |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pydot')
-rw-r--r-- | dev-python/pydot/Manifest | 7 | ||||
-rw-r--r-- | dev-python/pydot/files/pydot-1.0.23-setup.patch | 21 | ||||
-rw-r--r-- | dev-python/pydot/files/pydot-1.0.28-pyparsing2fix.patch | 14 | ||||
-rw-r--r-- | dev-python/pydot/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/pydot/pydot-1.0.28-r2.ebuild | 27 | ||||
-rw-r--r-- | dev-python/pydot/pydot-1.2.3.ebuild | 29 |
6 files changed, 110 insertions, 0 deletions
diff --git a/dev-python/pydot/Manifest b/dev-python/pydot/Manifest new file mode 100644 index 000000000000..a2d21d248181 --- /dev/null +++ b/dev-python/pydot/Manifest @@ -0,0 +1,7 @@ +AUX pydot-1.0.23-setup.patch 623 SHA256 47704452635aeae4db252ae2f71eaa386efb0a863b0ad173597d081031c7e29d SHA512 74202787584f9ed4f9aac5038d200fe7c64d0da906226f11e29897a30f371a200787a585d1d151a8ac2191f160d3cd3029ea6f4f4e388e04e7e80d443227dd61 WHIRLPOOL 5334f3b9e40a6e7fb818b4ac63a076a7b1e575dd34ae0b5c9faf4d1043b303ba7eb4c16c414fb4ef256df7f606c69a35e8176c9fbc205c758014e2ea27d16ecd +AUX pydot-1.0.28-pyparsing2fix.patch 836 SHA256 dc6a43bf9e34b27d92aa0f565f9ea7d96e77463c090ee8b9105d6d1fed53e0d9 SHA512 c50f6a21609acd177cdc954d5adc967d4cb99177467df4c76cad379050968f86375f61d1a17d0377c9dfe4f23ec1b1647cf85d9c3fd1d6c409387d15de81eeb0 WHIRLPOOL 4e5fd3b3b46f7a22a7d0e1461fd13c3703b9f1f003ffe26260283987b4011f01a789f4526b1769bceefc186a95797333bed91eb3195781cd00472a33da4b38e5 +DIST pydot-1.0.28.tar.gz 19711 SHA256 1eeaff7b104fb8f305a98318dafde0b2d15f1efcdf8b16206465551cd46ed9df SHA512 54b4d7bfb01bbcae9a4832d1c3321d4f453a93f062ee55b35e3d59bee3f8989f4a544afb56c3d16b22bca8e6ef24b6286ac2688c9045b16906ef625999b35055 WHIRLPOOL eb06c22418638351def215e8127af1b3afbd193484dec9a3114e4377f8afcccb25cb7f40e9f29121d086723ddb94dd2fd9ac473f3583a9b782940cce9e208318 +DIST pydot-1.2.3.tar.gz 262660 SHA256 5e63808fd1945ac6600e80518f72d6ecc367273bb7bd1054dceb863a90e7b84b SHA512 0527279174bd9d5703131ab6c16365d66e392e27597b5d2d536d43f783a59139913a6dbfa1cc022993f842843f5d79e4e0b2a1435ce3427ebc534ef7b1ef2e9b WHIRLPOOL 3e328560cb4a42e8ff9484aafb6b28250d3913ed79afb17b2385ee8e05226075040e9488f038144bb5f768ef508b7437dbe5ce0567b3e202838157ebaa6bc2c4 +EBUILD pydot-1.0.28-r2.ebuild 744 SHA256 2744dbfbe6754dd4ffa907717b283911d61c5317faf684b4686e463eacd4c1f5 SHA512 2ee828209be3630aef7a49faffc7964ed276e4c0181b64879f98ff24f7c7b33e929c2718ce75c3d38cd8b362bf2940d33d3aef43fd9c7cdbe7df3c18907b9f82 WHIRLPOOL 4da3dc91b0873a82244c92343dee6c2642a506442db3bc46c398f3d050213597bcd542b62b898ced138052554ee0756487ca94ee0f73e2352e2e95234a4f9de9 +EBUILD pydot-1.2.3.ebuild 933 SHA256 09f63093423653f4d647f809b9d9b1c30a7cf40f300e1067f718f132ce7fd1b1 SHA512 2e5b0758dca6a38350989c64515f691517e8064c856b0ec77053056cc25cbc12ccbffe2cc3a05c724a1fdf56aaa26398851b9d4e5402f92772ef69c3a124dfac WHIRLPOOL 74b6b7e48e0e7f546fe1085cf7832b5ff2b7662f6dd5e83dc71cfe06f30cb78c648d797a1392c2f4b04447d3a6204bdac7ae9153e46ff09722b77fc073131a84 +MISC metadata.xml 376 SHA256 cff6999a8dc869ac0e7365a331afcedaeaa7a337afd122fcf42d7acde5713f43 SHA512 0f67a0286f6ff6c6b35e67ff08abb0b86f9ac60e57d321ac7ca0508383b5ce8b0c091a3b023e87d20f3705887db40a5edde2055fa96ec7bca21a5b8aacac31ce WHIRLPOOL 89acac30668c1f913a8ba1ddffc24db8aac6223f530a17101ace3571f0a11c956b18f0398717adec630c90464d23d0cb6aa8b87713d12d91b4af3353a0080e59 diff --git a/dev-python/pydot/files/pydot-1.0.23-setup.patch b/dev-python/pydot/files/pydot-1.0.23-setup.patch new file mode 100644 index 000000000000..c87cc32b30d1 --- /dev/null +++ b/dev-python/pydot/files/pydot-1.0.23-setup.patch @@ -0,0 +1,21 @@ +--- setup.py ++++ setup.py +@@ -1,9 +1,9 @@ + #!/usr/bin/env python + + try: +- from distutils.core import setup +-except ImportError, excp: + from setuptools import setup ++except ImportError, excp: ++ from distutils.core import setup + + import pydot + import os +@@ -31,5 +31,4 @@ + 'Topic :: Software Development :: Libraries :: Python Modules'], + long_description = "\n".join(pydot.__doc__.split('\n')), + py_modules = ['pydot', 'dot_parser'], +- install_requires = ['pyparsing', 'setuptools'], +- data_files = [('.', ['LICENSE', 'README'])] ) ++ install_requires = ['pyparsing', 'setuptools'] ) diff --git a/dev-python/pydot/files/pydot-1.0.28-pyparsing2fix.patch b/dev-python/pydot/files/pydot-1.0.28-pyparsing2fix.patch new file mode 100644 index 000000000000..12a01091223c --- /dev/null +++ b/dev-python/pydot/files/pydot-1.0.28-pyparsing2fix.patch @@ -0,0 +1,14 @@ +diff -up pydot-1.0.28/dot_parser.py.pyparsing2fix pydot-1.0.28/dot_parser.py +--- pydot-1.0.28/dot_parser.py.pyparsing2fix 2013-12-09 08:59:24.660145534 -0500 ++++ pydot-1.0.28/dot_parser.py 2013-12-09 09:00:10.021222397 -0500 +@@ -25,8 +25,9 @@ from pyparsing import __version__ as pyp + from pyparsing import ( nestedExpr, Literal, CaselessLiteral, Word, Upcase, OneOrMore, ZeroOrMore, + Forward, NotAny, delimitedList, oneOf, Group, Optional, Combine, alphas, nums, + restOfLine, cStyleComment, nums, alphanums, printables, empty, quotedString, +- ParseException, ParseResults, CharsNotIn, _noncomma, dblQuotedString, QuotedString, ParserElement ) ++ ParseException, ParseResults, CharsNotIn, dblQuotedString, QuotedString, ParserElement ) + ++_noncomma = "".join( [ c for c in printables if c != "," ] ) + + class P_AttrList: + diff --git a/dev-python/pydot/metadata.xml b/dev-python/pydot/metadata.xml new file mode 100644 index 000000000000..a44c00e7d6b3 --- /dev/null +++ b/dev-python/pydot/metadata.xml @@ -0,0 +1,12 @@ +<?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> + <upstream> + <remote-id type="pypi">pydot</remote-id> + <remote-id type="github">erocarrera/pydot</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pydot/pydot-1.0.28-r2.ebuild b/dev-python/pydot/pydot-1.0.28-r2.ebuild new file mode 100644 index 000000000000..3958643fd37b --- /dev/null +++ b/dev-python/pydot/pydot-1.0.28-r2.ebuild @@ -0,0 +1,27 @@ +# 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 interface to Graphviz's Dot language" +HOMEPAGE="https://pypi.python.org/pypi/pydot" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris" +IUSE="" + +RDEPEND=" + dev-python/pyparsing[${PYTHON_USEDEP}] + media-gfx/graphviz" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +PATCHES=( + "${FILESDIR}"/${PN}-1.0.23-setup.patch + "${FILESDIR}"/${P}-pyparsing2fix.patch ) diff --git a/dev-python/pydot/pydot-1.2.3.ebuild b/dev-python/pydot/pydot-1.2.3.ebuild new file mode 100644 index 000000000000..0a313e45f150 --- /dev/null +++ b/dev-python/pydot/pydot-1.2.3.ebuild @@ -0,0 +1,29 @@ +# 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 interface to Graphviz's Dot language" +HOMEPAGE="https://github.com/erocarrera/pydot https://pypi.python.org/pypi/pydot" +# pypi releases don't include tests +SRC_URI="https://github.com/erocarrera/pydot/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris" +IUSE="test" + +RDEPEND=" + dev-python/pyparsing[${PYTHON_USEDEP}] + media-gfx/graphviz" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/chardet[${PYTHON_USEDEP}] )" + +python_test() { + cd test || die + "${PYTHON}" pydot_unittest.py || die "Test failed with ${EPYTHON}" +} |