1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 pypy )
12 DESCRIPTION="A language for writing Python extension modules"
13 HOMEPAGE="https://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/"
14 SRC_URI="https://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/${MY_P}.tar.gz"
18 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x86-solaris"
21 S="${WORKDIR}/${MY_P}"
25 DOCS=( CHANGES.txt README.txt ToDo.txt USAGE.txt )
27 python_install_all() {
28 distutils-r1_python_install_all
34 docompress -x /usr/share/doc/${PF}/Demos