diff options
author | Patrick Lauer <patrick@gentoo.org> | 2017-01-28 21:23:47 +0100 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2017-01-28 21:24:01 +0100 |
commit | 33b9daf7ec385e0146e0dc1f8f4ab99c8e11b43f (patch) | |
tree | 6d9465682b2bc4a7292df70f35b2be91c29284a5 /dev-lang/hy | |
parent | dev-ros/gazebo_ros_control: Add := dep on gazebo (diff) | |
download | gentoo-33b9daf7ec385e0146e0dc1f8f4ab99c8e11b43f.tar.gz gentoo-33b9daf7ec385e0146e0dc1f8f4ab99c8e11b43f.tar.bz2 gentoo-33b9daf7ec385e0146e0dc1f8f4ab99c8e11b43f.zip |
dev-lang/hy: Bump
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-lang/hy')
-rw-r--r-- | dev-lang/hy/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/hy/hy-0.12.0.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-lang/hy/Manifest b/dev-lang/hy/Manifest index c8ea2369dbaa..e50c47236298 100644 --- a/dev-lang/hy/Manifest +++ b/dev-lang/hy/Manifest @@ -1,3 +1,4 @@ DIST hy-0.10.0.tar.gz 340981 SHA256 524c9f2a2e0e789fe8896e9c7bea16c9f42e99d5b662080ec95e94de564523b9 SHA512 4f994289a00f16ed9c914fe8f37332d1bea9ddf3d2f42c30793da1030983d66d368d4bf75853dd76be14e440fca72aa3cccd3ddb5544e1db2b892a543bb1093b WHIRLPOOL 063ab5cf8e4f687a6bbbed9728e38e6ede0d1d7aa08e761175132428120ba31ed5ac39eaed9321b61b4a0f6a208cb69af6dc187c85d6de0139e1ff59f8d0153e DIST hy-0.10.1.tar.gz 348807 SHA256 16247c2f776147a46cd6c3beed329836c8a7a98e7ccb4b1cc660fced9688e02c SHA512 d96a5857fc6985fe044a152b276572f7943d3c579cf54daa675ec5d3e5d44836c151eb58f8e5cea8811f3bcb32b724fb24f8d61dc9ba917972673630e9cff7dc WHIRLPOOL 72e73cf008379de0e7f734f9a2687c70143fbb11bbb377c131e22eabaad355a88ea034e2b659c9bd1fa168eabfd0b8a802d779ced84b99ea5adb0718339f54a1 DIST hy-0.11.1.tar.gz 358882 SHA256 8d53dd3d37dd15040b4e6fa514d480f88c935855c37ca9f4a4c0d0ed989aceaa SHA512 c3bb39e41bba306a529051aa214350dd51118bce956670b9688ecbd08d8e85c23efd4eae06977bab7f3a50f8cca1626d7a6442de6b59972fe1d91bdb791aa836 WHIRLPOOL 0dcebdd8e87470784603a92ae52bbccb6b84ad138fed5ec7bcb947ebc9d2042a43181805694cdad324f7691fae15758dc91bbc6d50f91b3541d95c9ec904ac80 +DIST hy-0.12.0.tar.gz 379282 SHA256 b747477292319e72d09b2b9e84191d1bb46910b4a74a49745aac32b1334bafa4 SHA512 fcad30640aad329c8a8c66167e01f96eddad95fd0d23ce8bf641ed96865c0a7610e8792bc94343edaa36a9a643e72ff946e491e55ca429f6a14a55bd05631470 WHIRLPOOL 4eea576675348bfece5ccdb89359c37d054b57b0824d55111a17aa179f791bddfe67d1d44e096224829d8db8afec8bf4af052701f5623faf8b4339f3035539f7 diff --git a/dev-lang/hy/hy-0.12.0.ebuild b/dev-lang/hy/hy-0.12.0.ebuild new file mode 100644 index 000000000000..38c03bca4df8 --- /dev/null +++ b/dev-lang/hy/hy-0.12.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +RESTRICT="test" # needs some pointy sticks. Seriously. +PYTHON_COMPAT=(python{2_7,3_4,3_5}) + +inherit distutils-r1 eutils +DESCRIPTION="A LISP dialect running in python" +HOMEPAGE="http://hylang.org/" +SRC_URI="https://github.com/hylang/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64 ~x86" +IUSE="test doc examples" + +RDEPEND="dev-python/flake8[${PYTHON_USEDEP}] + >=dev-python/rply-0.7.0[${PYTHON_USEDEP}] + >=dev-python/astor-0.5[${PYTHON_USEDEP}] + dev-python/clint[${PYTHON_USEDEP}] + " +DEPEND="${RDEPEND} + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/tox[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/coverage[${PYTHON_USEDEP}] + )" +src_prepare() { + use examples && EXAMPLES=( eg/. ) + use doc && HTML_DOCS=( docs/_build/html/. ) +} + +python_compile_all() { + use doc && emake docs +} + +python_test() { + nosetests || die "Tests failed under ${EPYTHON}" +} |