dev-python/automat: Version bump
authorBrian Dolbec <dolsen@gentoo.org>
Fri, 9 Jun 2017 17:03:00 +0000 (10:03 -0700)
committerBrian Dolbec <dolsen@gentoo.org>
Fri, 9 Jun 2017 18:18:45 +0000 (11:18 -0700)
Package-Manager: Portage-2.3.6_p2, Repoman-2.3.2_p70

dev-python/automat/Manifest
dev-python/automat/automat-0.6.0.ebuild [new file with mode: 0644]

index 6edae925f264e3b3db7d8480e9cfa1352c21aa2c..76e70f4ad697b3399ea48fafd811064431bfc553 100644 (file)
@@ -1 +1,2 @@
 DIST Automat-0.5.0.tar.gz 32599 SHA256 4889ec6763377432ec4db265ad552bbe956768ea3fff39014855308ba79dd7c2 SHA512 7b4fc64e1b3cc514e3513c4be7387309a9e0c6d59ef091131404642b517a324b4a0eb677bee99da038664bd6713f2d2078c621f056e98b35966caf324741eeeb WHIRLPOOL 5d3d258cb0eae2393edd4b12860b4312522c4a0eff7c17724ecf13032b633e1803b3817bd095f5e24a680d6d006ea4a389bd038022ac21376ba4e969e3bc4200
+DIST Automat-0.6.0.tar.gz 31767 SHA256 3c1fd04ecf08ac87b4dd3feae409542e9bf7827257097b2b6ed5692f69d6f6a8 SHA512 94f2fa06b0e0e1c0538bcf4bd9046ea40600a018bdd1da2d5bed479877807ad56e448c4f1d7ec87341f80013ae6c35b01201cbe3c4ecae1105419038ed43024d WHIRLPOOL 2e394600dcecd31a362fcd6e8c88a1d228567a85df6c6312eadf00d854f0f5c4a89adaabb319ba57c2aa8fdda110eb3c36f20bca6509585cc14d60670db7c193
diff --git a/dev-python/automat/automat-0.6.0.ebuild b/dev-python/automat/automat-0.6.0.ebuild
new file mode 100644 (file)
index 0000000..f297b1b
--- /dev/null
@@ -0,0 +1,50 @@
+# 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} pypy)
+
+inherit distutils-r1
+
+MYPN="Automat"
+MYP="${MYPN}-${PV}"
+
+DESCRIPTION="Self-service finite-state machines for the programmer on the go"
+HOMEPAGE="https://github.com/glyph/automat https://pypi.python.org/pypi/Automat"
+SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86"
+IUSE="examples test"
+
+RDEPEND="
+       dev-python/attrs[${PYTHON_USEDEP}]
+       dev-python/six[${PYTHON_USEDEP}]
+"
+DEPEND="
+       ${RDEPEND}
+       dev-python/setuptools_scm[${PYTHON_USEDEP}]
+       dev-python/m2r[${PYTHON_USEDEP}]
+       test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+"
+
+S=${WORKDIR}/${MYP}
+
+python_test() {
+       PYTHONPATH="${S}/test:${BUILD_DIR}/lib" py.test -v || die "Tests failed under ${EPYTHON}"
+}
+
+src_install() {
+       if use examples; then
+               docinto examples
+               dodoc docs/examples/*.py
+       fi
+       distutils-r1_src_install
+}
+
+pkg_postinst() {
+       einfo "For additional visualization functionality install these optional dependencies"
+       einfo "    >=dev-python/twisted-16.1.1"
+       einfo "    media-gfx/graphviz[python]"
+}