alunduil    15/06/07 19:26:29

  Modified:             ChangeLog
  Added:                mypy-0.2.0-r1.ebuild
  Log:
  add patch for mypy script to fix #551272
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
11A8217C!)

Revision  Changes    Path
1.3                  dev-python/mypy/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mypy/ChangeLog?rev=1.3&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mypy/ChangeLog?rev=1.3&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mypy/ChangeLog?r1=1.2&r2=1.3

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/mypy/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ChangeLog   7 Jun 2015 14:03:36 -0000       1.2
+++ ChangeLog   7 Jun 2015 19:26:29 -0000       1.3
@@ -1,6 +1,12 @@
 # ChangeLog for dev-python/mypy
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/mypy/ChangeLog,v 1.2 2015/06/07 
14:03:36 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mypy/ChangeLog,v 1.3 2015/06/07 
19:26:29 alunduil Exp $
+
+*mypy-0.2.0-r1 (07 Jun 2015)
+
+  07 Jun 2015; Alex Brandt <alund...@gentoo.org> +files/use-which.patch,
+  +mypy-0.2.0-r1.ebuild:
+  add patch for mypy script to fix #551272
 
   07 Jun 2015; Justin Lecher <j...@gentoo.org> metadata.xml:
   Add github to remote-id in metadata.xml



1.1                  dev-python/mypy/mypy-0.2.0-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mypy/mypy-0.2.0-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mypy/mypy-0.2.0-r1.ebuild?rev=1.1&content-type=text/plain

Index: mypy-0.2.0-r1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/mypy/mypy-0.2.0-r1.ebuild,v 1.1 
2015/06/07 19:26:29 alunduil Exp $

EAPI=5
PYTHON_COMPAT=( python3_3 python3_4 )

inherit distutils-r1 vcs-snapshot

DESCRIPTION="Optional static typing for Python"
HOMEPAGE="http://www.mypy-lang.org/";
SRC_URI="https://github.com/JukkaL/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc examples"

DEPEND="
        doc? (
                dev-python/sphinx[${PYTHON_USEDEP}]
                dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
        )
"
RDEPEND=""

python_prepare_all() {
        local PATCHES=(
                "${FILESDIR}"/use-which.patch
        )

        distutils-r1_python_prepare_all
}

python_compile_all() {
        use doc && emake -C docs html
}

python_test() {
        "${PYTHON}" tests.py || die "tests failed under ${EPYTHON}"
}

python_install_all() {
        use doc && local HTML_DOCS=( docs/build/html/. )
        use examples && local EXAMPLES=( samples/. )

        distutils-r1_python_install_all
}




Reply via email to