From b7ebc951da8800f711142f69d9d958bde67a112d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 28 Apr 2019 09:54:45 +0100 Subject: gentoo resync : 28.04.2019 --- dev-python/cython/Manifest | 14 +++--- dev-python/cython/cython-0.25.2.ebuild | 2 +- dev-python/cython/cython-0.26.1.ebuild | 2 +- dev-python/cython/cython-0.28.4.ebuild | 2 +- dev-python/cython/cython-0.29.4.ebuild | 4 +- dev-python/cython/cython-0.29.5.ebuild | 2 +- dev-python/cython/cython-0.29.6.ebuild | 2 +- dev-python/cython/cython-0.29.7.ebuild | 86 ++++++++++++++++++++++++++++++++++ 8 files changed, 101 insertions(+), 13 deletions(-) create mode 100644 dev-python/cython/cython-0.29.7.ebuild (limited to 'dev-python/cython') diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest index 1653024eadbe..74501dc48fdf 100644 --- a/dev-python/cython/Manifest +++ b/dev-python/cython/Manifest @@ -6,10 +6,12 @@ DIST Cython-0.28.4.tar.gz 1880943 BLAKE2B a97314147294c95fa0bd6d3fa1a1315d81f8ab DIST Cython-0.29.4.tar.gz 2044382 BLAKE2B b36d27706a3270805f66190a4cf2735eaf20b1b932365b324a433c0e58e63e860ce1500333233c3539ae697886ac0adc361a2c158d5d064a3ea05843debc3f26 SHA512 8f115e36975aaf64eda4df8b0a85378d0c80b3292dbd162be826b939def03bdc9f3eb937676e2367003c2944b570d97f50d7880becfdb2fdc5144077b4a722dc DIST Cython-0.29.5.tar.gz 2045488 BLAKE2B ca809728115865b7d28100943b358d8f5236382e5ae5a43d557620c3bd856407a9f52b756fc910564a6c041d64b1439d60776c90c6970614f74ee2d03f94665f SHA512 4bbf54b248b9a08b9118d751a6bb5dbb81ae7a8238c8a3124d94bf7be67f15b68820e6ce5470903fb5d5ff5c3c213e1580f1c57a8cda33b356263f9ab46e8851 DIST Cython-0.29.6.tar.gz 2047021 BLAKE2B 32fe6697ba407a75dad79f08fd2e33ba11b083c65f69e09cd269c8a9f445d183a8cf36794fc8b2abb5e98b9626f0c62a099367359634833f36273c7681835572 SHA512 bb8095b438a7d2567b8b831628fbb32c02299c866e41113da62fb5a5d4982dc0df947a9f723a82c52086806435d8f3518e78a803166149d476f81e042a12494e -EBUILD cython-0.25.2.ebuild 2138 BLAKE2B d0f2bfad42937f8f45350f00feacb1915c2798cc2428e107e15b56c8cbee1a08d3c2e79202da663f1d9cce49b3f2077464ac07eff84b711fcd6d01b4ac9dc1af SHA512 5c6f1c85b9aeb85704c244bc0a69c66c11ac8343b54237218e681ad2ae1c0ed909d7a8679b93527c2bd42cede174421bf5174eed178d0a62f8ee4d59890ff3ad -EBUILD cython-0.26.1.ebuild 2082 BLAKE2B b50ba96014c9b76e73aa34cc58ed8a7fb742ed0ad3d84cfd0ed07488c00b82b225630d0ca53be521baab970e30590754b764127d499784e0ea03f77c670132a8 SHA512 6962d88fef50a0304f23b154b5f260f2955aeda126921ab698f16fd29db253e8edc9ce09bec848cc32dbaafb8810741f9a25ad1ad00c2063c45f7d57db01213c -EBUILD cython-0.28.4.ebuild 2198 BLAKE2B 4324cb905f22c94b9dff3f96584f68ce4eda9e3d5856f8cb9f03113d4db515a291003aca014c8de40d994c6c09fbf243ab98928fcf7bc0fcf6ac712832a5750c SHA512 c8a0965141f6121126591cfdbb9b7d38b42e4fce7a661c7dceb18e8598664718b7c2a854daabab571de54343c9df78bb9e5830d8647c88840dedf0879f8b1b5d -EBUILD cython-0.29.4.ebuild 2173 BLAKE2B 0ffccc85e30508b942baef245fe484c193a6d4f23663f0b6e4bfc14cc7827ca3b42dbba9b0d6cf83d7b48b613d1d464e3f00a816c5f90120447c62c50f6d8617 SHA512 30de6f135469453cd47af06c4d8fff341b3dc146168099f765b82b0f8d767fc8c9714f4963ccbd9d3af415c4361979e03efc501c84ea0bc062489069f25031af -EBUILD cython-0.29.5.ebuild 2211 BLAKE2B 97ea664bbaa85c91e395e864b5cd749e0e3b5bad83a90885f5d40507bcb4e6c99710617e534abd5a3d35643a1bf879caff46f5fd9ceb934c8c29007e41d3fb8f SHA512 c6ad9e2a75f2b4d113c0e62ae37d21fb637bc559978fcffa9779c198071105769e90440e6d190007b35b88f19e855bf167985368fcd443b97e2f3e4d6b455441 -EBUILD cython-0.29.6.ebuild 2211 BLAKE2B 97ea664bbaa85c91e395e864b5cd749e0e3b5bad83a90885f5d40507bcb4e6c99710617e534abd5a3d35643a1bf879caff46f5fd9ceb934c8c29007e41d3fb8f SHA512 c6ad9e2a75f2b4d113c0e62ae37d21fb637bc559978fcffa9779c198071105769e90440e6d190007b35b88f19e855bf167985368fcd443b97e2f3e4d6b455441 +DIST Cython-0.29.7.tar.gz 2047944 BLAKE2B 79a2dbbbeef2c87e523d1222c1e3b62a63273644a0295a08fed3909ef01f2167baf15c0344a64ec168820e21c5c99b0accc083c8dfcaca7f1c0cb8c4b23677cc SHA512 1c2fd2185d65445318118d917ff6f8b4b958b0a036bc3ce1587dcb8fa94ccc750901cece27e4d0d39c53db68c3a620edf2dcf9424d7a6df58a0275097b90fa6e +EBUILD cython-0.25.2.ebuild 2136 BLAKE2B 9e80d1abbe44ecf401f9fa6f2c013e02373c294ca654272b3d44d2b39c7e42fb0e890efdf047eae693d3df9ab960b9778266c1bed7295adabf1ea6c858f448ef SHA512 ed871f7d255fbf7e112fcc67247264005f8c38cd4a9c8be0183e7f2edb6817cec0a47ab858133aa32f5042003fcbcec424ef7c6ef930e1e0060b0f2d73c1a0b2 +EBUILD cython-0.26.1.ebuild 2080 BLAKE2B 0d61c28232f347c0646c5585b3d868f0cd490affaafe70b3e3cefe14ca64dd734d36c4e74745acfe49eeb3f28ad8cf215c3059229c5e7059bf0fa5ef63600abe SHA512 1c1a079f24d7245201a069b757e1b490c7ffc8108cf72ae00cae8b128953a5b910aee4be6c1e78750dfab809b0c3a76214a21dd81785655453aba68f9298af40 +EBUILD cython-0.28.4.ebuild 2196 BLAKE2B 05f6e26da211e42cb46b6a182bc017077bd1e632b4c963cb4a0c48a64dde5926866a47195f235ddbf0143fdd35a588d4651181c1ab9443c67975a4abc0bab5ac SHA512 979bfda159eb6dc89cd7a790166926201f0e74ce8ac3f887a5a40a6ee023e5cf4e2fc9d803cc5e563fb32ba3f7ba9d4447fe47e38c5b7ce6f3292653d9f0f9fe +EBUILD cython-0.29.4.ebuild 2167 BLAKE2B 4ac706c980726267209b18b046eb627c280896a5f5380c6f5593c05444c239e147cf0f6dd9ca32bbc64cdae7260feb06d9de5c8105ab021b5670bc4185b8c917 SHA512 d8a733b722bd8853e2a4f598d5b8256c5136608537f414038cde242656f0c753414dd9c472eed6fc9a5541a81e832cf51404b5203f05eb6915f17c91ea177c6f +EBUILD cython-0.29.5.ebuild 2209 BLAKE2B acfa7a196a677da67ea43d8c392db746be319f5609fd34e24fb5a3de7ad83b57549f8473528d8b9c217f4de84d96acfbee3b828592dae4dc183cd00b5764ef21 SHA512 564fb57372436ab89b195bde9cb2f1883ca9da6b7ff576a6fed81ac1b205ecccade33ad5364180f8bde4d3b5c4fdfc1628ba7609d467800ca30c6853492eb4d8 +EBUILD cython-0.29.6.ebuild 2209 BLAKE2B acfa7a196a677da67ea43d8c392db746be319f5609fd34e24fb5a3de7ad83b57549f8473528d8b9c217f4de84d96acfbee3b828592dae4dc183cd00b5764ef21 SHA512 564fb57372436ab89b195bde9cb2f1883ca9da6b7ff576a6fed81ac1b205ecccade33ad5364180f8bde4d3b5c4fdfc1628ba7609d467800ca30c6853492eb4d8 +EBUILD cython-0.29.7.ebuild 2209 BLAKE2B acfa7a196a677da67ea43d8c392db746be319f5609fd34e24fb5a3de7ad83b57549f8473528d8b9c217f4de84d96acfbee3b828592dae4dc183cd00b5764ef21 SHA512 564fb57372436ab89b195bde9cb2f1883ca9da6b7ff576a6fed81ac1b205ecccade33ad5364180f8bde4d3b5c4fdfc1628ba7609d467800ca30c6853492eb4d8 MISC metadata.xml 570 BLAKE2B 078d948ba14cbbfb98103ee3746f773c12d35c91e64358950aa0ceb78695e19d8ca4c0c33b388c2c5cd54b83856430a8934d8a40aec74c3aa0d761e0a4a03add SHA512 73c65ef6b088cb50125dd662f263fb1aa1d60c3631aa8453b9ed2ede6bbd839235c6b37c3f8d1a17618c167874d64a3aa6f95c9141c8b6c921eaf4c1c4d68dad diff --git a/dev-python/cython/cython-0.25.2.ebuild b/dev-python/cython/cython-0.25.2.ebuild index 8d5e0e8dd5df..c94da77b78ba 100644 --- a/dev-python/cython/cython-0.25.2.ebuild +++ b/dev-python/cython/cython-0.25.2.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) +PYTHON_COMPAT=( python2_7 python3_{5,6} ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 flag-o-matic toolchain-funcs elisp-common diff --git a/dev-python/cython/cython-0.26.1.ebuild b/dev-python/cython/cython-0.26.1.ebuild index 944d239393be..ea74ee77736c 100644 --- a/dev-python/cython/cython-0.26.1.ebuild +++ b/dev-python/cython/cython-0.26.1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) +PYTHON_COMPAT=( python2_7 python3_{5,6} ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 flag-o-matic toolchain-funcs elisp-common diff --git a/dev-python/cython/cython-0.28.4.ebuild b/dev-python/cython/cython-0.28.4.ebuild index 8354853e5dd5..9deca0e2318c 100644 --- a/dev-python/cython/cython-0.28.4.ebuild +++ b/dev-python/cython/cython-0.28.4.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 toolchain-funcs elisp-common diff --git a/dev-python/cython/cython-0.29.4.ebuild b/dev-python/cython/cython-0.29.4.ebuild index 2100a3aa5737..78ef43726a75 100644 --- a/dev-python/cython/cython-0.29.4.ebuild +++ b/dev-python/cython/cython-0.29.4.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 toolchain-funcs elisp-common @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="doc emacs test" diff --git a/dev-python/cython/cython-0.29.5.ebuild b/dev-python/cython/cython-0.29.5.ebuild index 09a50cfbb740..186a24979823 100644 --- a/dev-python/cython/cython-0.29.5.ebuild +++ b/dev-python/cython/cython-0.29.5.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 toolchain-funcs elisp-common diff --git a/dev-python/cython/cython-0.29.6.ebuild b/dev-python/cython/cython-0.29.6.ebuild index 09a50cfbb740..186a24979823 100644 --- a/dev-python/cython/cython-0.29.6.ebuild +++ b/dev-python/cython/cython-0.29.6.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 toolchain-funcs elisp-common diff --git a/dev-python/cython/cython-0.29.7.ebuild b/dev-python/cython/cython-0.29.7.ebuild new file mode 100644 index 000000000000..186a24979823 --- /dev/null +++ b/dev-python/cython/cython-0.29.7.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 toolchain-funcs elisp-common + +MY_PN="Cython" +MY_P="${MY_PN}-${PV/_/}" + +DESCRIPTION="A Python to C compiler" +HOMEPAGE="https://cython.org https://pypi.org/project/Cython/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="doc emacs test" +RESTRICT="!test? ( test )" + +RDEPEND=" + emacs? ( virtual/emacs ) +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/numpy[${PYTHON_USEDEP}] )" + +SITEFILE=50cython-gentoo.el +S="${WORKDIR}/${MY_PN}-${PV%_*}" + +python_prepare_all() { + # tests behavior that is illegal in Python 3.7+ + # https://github.com/cython/cython/issues/2454 + sed -i -e '/with_outer_raising/,/return/d' tests/run/generators_py.py || die + + distutils-r1_python_prepare_all +} + +python_compile() { + if ! python_is_python3; then + local CFLAGS="${CFLAGS} -fno-strict-aliasing" + local CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" + fi + + # Python gets confused when it is in sys.path before build. + local -x PYTHONPATH= + + distutils-r1_python_compile +} + +python_compile_all() { + use emacs && elisp-compile Tools/cython-mode.el + + use doc && emake -C docs html +} + +python_test() { + tc-export CC + # https://github.com/cython/cython/issues/1911 + local -x CFLAGS="${CFLAGS} -fno-strict-overflow" + "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \ + || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) + use doc && local HTML_DOCS=( docs/build/html/. ) + distutils-r1_python_install_all + + if use emacs; then + elisp-install ${PN} Tools/cython-mode.* + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} -- cgit v1.2.3