From 9217a0cce81e89f5648599fcda4e549903c7b9bd Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 23 Feb 2023 15:45:01 +0000 Subject: gentoo auto-resync : 23:02:2023 - 15:45:01 --- dev-python/Manifest.gz | Bin 260267 -> 260270 bytes dev-python/pyglet/Manifest | 6 +-- dev-python/pyglet/pyglet-2.0.2.1.ebuild | 81 ---------------------------- dev-python/pyglet/pyglet-2.0.3.ebuild | 81 ---------------------------- dev-python/pyglet/pyglet-2.0.4.ebuild | 2 +- dev-python/pyzmq/Manifest | 4 +- dev-python/pyzmq/metadata.xml | 1 + dev-python/pyzmq/pyzmq-25.0.0.ebuild | 90 ++++++++++++++++++++++++++++++++ dev-python/rpy/Manifest | 4 +- dev-python/rpy/metadata.xml | 1 + dev-python/rpy/rpy-3.5.8.ebuild | 45 ++++++++++++++++ 11 files changed, 145 insertions(+), 170 deletions(-) delete mode 100644 dev-python/pyglet/pyglet-2.0.2.1.ebuild delete mode 100644 dev-python/pyglet/pyglet-2.0.3.ebuild create mode 100644 dev-python/pyzmq/pyzmq-25.0.0.ebuild create mode 100644 dev-python/rpy/rpy-3.5.8.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index bcc7efa96ddc..a095ea077ca2 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/pyglet/Manifest b/dev-python/pyglet/Manifest index 44fae248ff9d..7a1d22e2e3eb 100644 --- a/dev-python/pyglet/Manifest +++ b/dev-python/pyglet/Manifest @@ -1,9 +1,5 @@ DIST pyglet-1.5.27.gh.tar.gz 6532179 BLAKE2B f1dc668530a69e275860befe11f4c86003c5de2dadede706df7abac9eb6fb1729ea030c7053f0149926f3ffdd12985d9abea4afac65de3b6b7541fe871eda369 SHA512 98896dab06873cbf3cdd0d4015cb0b9e062cffb1110908bd422ecdc4f0e16943adc8a4986e7dbfdae4392e82ac115bad6f937896e166989ad2c4d73a0f45c8be -DIST pyglet-2.0.2.1.gh.tar.gz 6206090 BLAKE2B e671e1800f8f9e80ff301692973e6085c63b751944d221added744edf3910dd13c15f741637b23f04777b64bfe2865698410be1859009bc1455cf51458e8916a SHA512 4b6d4883025b55d7e1515c65c0b18a5b24d152a5e7f547379329388046c2f1818f9e203d2913825a1156eb3271100b6257f334310959c2e7a1b4ba2b61f2d398 -DIST pyglet-2.0.3.gh.tar.gz 6213542 BLAKE2B 7a47df69761d718e6b1a700105ca7e75b650109d37bea340cae147885ea2158da9af45c9c5733cd6cdc41e17800471921457dda281285e4c6836191200a92be2 SHA512 7617c34dfc65d8a957e6e4093c467d2debcd36e053ef0e1b350cc63fa886e59a6e8cfa0bbbc9db163c736f5ec975c0a105f7ccb0c8bb193744b692d550e0f757 DIST pyglet-2.0.4.gh.tar.gz 6172461 BLAKE2B aa52844336b2fa34c6d75c8ee45070b7d8b85c283e374daeffa21367d6ddefaf39c22258eb00c666dad1f5ee8d157c0b1716a5cd1329942e98538e8172ed6137 SHA512 c26c59b9f7e6f2b1bd20456917ed50d6b70169dd2af5b92cc61d0e0515dc7c989eba9b41e00a106510d53e8ea218cde185f8b5038428490f3b9b3623a2f40207 EBUILD pyglet-1.5.27.ebuild 1635 BLAKE2B fcff950052e0a2855a39c51594afba26d69153cd04844ee2b856bb23820be8f0c3b6dfcd05bb44eb69fe29aadeef2ecb93f18e5ee8d1514a7b825c5e9174fbfb SHA512 af4fd99cb92786d2e4d3e94e41d98749ab380ee3b01319e8e5a88bc8e307f51f7394946709c92a734897adea5ff8dab303a11e2f70b105a540d2b96b97cda4d5 -EBUILD pyglet-2.0.2.1.ebuild 1851 BLAKE2B b0387d18f608b6749ac31a973cbade5e350ff3ddb0522133738f5ca68c184d409a2dca89ab76a45fea7d7c71341babe183442c382d7830341742d3a8742fd8d1 SHA512 d20e1433f1429271560e809f146dafb3c1010d21100d8c4c2926a2aa5b08e47f034491edfe0580b8db9d02c90f4db2926853906d4dbe8ea92c227234ed688c0b -EBUILD pyglet-2.0.3.ebuild 1853 BLAKE2B 9935f025214a74003aab00463b14dc6783d14ed25b0c411025fdcc956706e23f97ccdbd325f454ca363acea33567120a2721f70d6f6dfd3e549b462f65d7c0b0 SHA512 4dad8d3f71555b73ce538603de6d77f149d95ebe3f34514d03b6acfbd2d23161bbea4c75e1cb30291157528694b9e393fad8a2b4048dc386818153178a5669b4 -EBUILD pyglet-2.0.4.ebuild 1928 BLAKE2B 997c9347f9739f4df9076c25d181403446774657b1ced670c23792cd47b6d2148e30c2572043fdee94aed15c1dcb2a3e988289702c54185c40419ac94cef893a SHA512 d762b81e16aa17fea64bc03d50803b96170f1176fcbc8492766c4cb7b0dea5cdbbbe7555f4be306fe241e733f9449e0d67da664aab1355d11c5feceb3ed87afc +EBUILD pyglet-2.0.4.ebuild 1927 BLAKE2B 1b84f3885c815ac2902c2c2a679c0c1ff67e63638953b3d8edbf60aa7b87efe28060ccab38e6081318f3e95fcfa13e306fb4a1a1c685f8b90e7b4dd21e7e1146 SHA512 eaea171479952bb428abfa2921e0cbbc4f93e7980f2bfd945c6927b32aeb316028f80c75e7664a9b1018d63c35278621254a07e5c92500248603a0825c7c809d MISC metadata.xml 1092 BLAKE2B 51abba6b5545fb47d277edaca91fda755e885f08a9407f5cd3d468c8b0b86991b57d8d151e27d59755ea884ae894ed0e5c32d357b0d81e66eb9054ca6fc92055 SHA512 7e47cc4c39ebf827bf46423251df994a65c2af8ada9420b36810e36f245bbd810796bc8b02cbce182ff071bbd9dae0c9e5d9f5cb201349cd49fa311b3891dc2f diff --git a/dev-python/pyglet/pyglet-2.0.2.1.ebuild b/dev-python/pyglet/pyglet-2.0.2.1.ebuild deleted file mode 100644 index acb6828c1351..000000000000 --- a/dev-python/pyglet/pyglet-2.0.2.1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 virtualx xdg-utils - -DESCRIPTION="Cross-platform windowing and multimedia library for Python" -HOMEPAGE=" - https://pyglet.org/ - https://github.com/pyglet/pyglet/ - https://pypi.org/project/pyglet/ -" -SRC_URI="https://github.com/pyglet/pyglet/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux" -IUSE="examples image +sound" - -BDEPEND=" - test? ( - dev-python/pillow[${PYTHON_USEDEP}] - media-libs/fontconfig - ) -" -RDEPEND=" - virtual/glu - virtual/opengl - image? ( || ( - dev-python/pillow[${PYTHON_USEDEP}] - x11-libs/gtk+:2 - ) ) - sound? ( || ( - media-libs/openal - media-sound/pulseaudio - ) ) -" -# ffmpeg? ( media-libs/avbin-bin ) - -distutils_enable_tests pytest - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - xdg_environment_reset - - local EPYTEST_DESELECT=( - # lacking device/server permissions - tests/unit/media/test_listener.py::test_openal_listener - tests/unit/media/test_listener.py::test_pulse_listener - # fragile to load - tests/unit/test_clock_freq.py::test_elapsed_time_between_tick - ) - if [[ ${EPYTHON} == python3.11 ]]; then - EPYTEST_DESELECT+=( - # broken test - # https://github.com/pyglet/pyglet/issues/606 - tests/unit/test_events.py::test_push_handlers_instance - ) - fi - - # Specify path to avoid running interactive tests - # We could add in integration tests, but they're slow - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - nonfatal epytest tests/unit || die "Tests failed with ${EPYTHON}" -} - -python_install_all() { - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/pyglet/pyglet-2.0.3.ebuild b/dev-python/pyglet/pyglet-2.0.3.ebuild deleted file mode 100644 index 9128e56e22ef..000000000000 --- a/dev-python/pyglet/pyglet-2.0.3.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 virtualx xdg-utils - -DESCRIPTION="Cross-platform windowing and multimedia library for Python" -HOMEPAGE=" - https://pyglet.org/ - https://github.com/pyglet/pyglet/ - https://pypi.org/project/pyglet/ -" -SRC_URI="https://github.com/pyglet/pyglet/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" -IUSE="examples image +sound" - -BDEPEND=" - test? ( - dev-python/pillow[${PYTHON_USEDEP}] - media-libs/fontconfig - ) -" -RDEPEND=" - virtual/glu - virtual/opengl - image? ( || ( - dev-python/pillow[${PYTHON_USEDEP}] - x11-libs/gtk+:2 - ) ) - sound? ( || ( - media-libs/openal - media-sound/pulseaudio - ) ) -" -# ffmpeg? ( media-libs/avbin-bin ) - -distutils_enable_tests pytest - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - xdg_environment_reset - - local EPYTEST_DESELECT=( - # lacking device/server permissions - tests/unit/media/test_listener.py::test_openal_listener - tests/unit/media/test_listener.py::test_pulse_listener - # fragile to load - tests/unit/test_clock_freq.py::test_elapsed_time_between_tick - ) - if [[ ${EPYTHON} == python3.11 ]]; then - EPYTEST_DESELECT+=( - # broken test - # https://github.com/pyglet/pyglet/issues/606 - tests/unit/test_events.py::test_push_handlers_instance - ) - fi - - # Specify path to avoid running interactive tests - # We could add in integration tests, but they're slow - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - nonfatal epytest tests/unit || die "Tests failed with ${EPYTHON}" -} - -python_install_all() { - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/pyglet/pyglet-2.0.4.ebuild b/dev-python/pyglet/pyglet-2.0.4.ebuild index 3dad00cd9324..bc825ba60962 100644 --- a/dev-python/pyglet/pyglet-2.0.4.ebuild +++ b/dev-python/pyglet/pyglet-2.0.4.ebuild @@ -18,7 +18,7 @@ SRC_URI="https://github.com/pyglet/pyglet/archive/v${PV}.tar.gz -> ${P}.gh.tar.g LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux" IUSE="examples image +sound" BDEPEND=" diff --git a/dev-python/pyzmq/Manifest b/dev-python/pyzmq/Manifest index 3bd78895cc18..e6dc077c4804 100644 --- a/dev-python/pyzmq/Manifest +++ b/dev-python/pyzmq/Manifest @@ -1,4 +1,6 @@ AUX pyzmq-23.2.0-libdir.patch 510 BLAKE2B cb7884416d3e15f735412d69a7ae0decbbf8eca14ae909b23e68231a65b3ad36d021b5c6f5315a3cb982cd571913ce021cc5df60509d90b28d4353dd7bd316e8 SHA512 f268d03de45971d50a89210366b4aef0e79e652a45d650fc3e4a6711558ee186ee558a2808b7c9f5c5a64ce8b9282adf024ab21a782ba614900a4813e8b6d6ca DIST pyzmq-24.0.1.gh.tar.gz 404000 BLAKE2B 01928ba3c64a5afce8e7a97821658da2067a5f6c36c0173ab2f818e83a729939f346ef67bb9a39251abf365f5772abdf7e9e62afb4cc434b5603f474485a7427 SHA512 d4b6346e780f356941a624321f1619771fb2f0ef9f65a3c0a03e837ef081ece7ed59c03f57e8647ab1cd38cfc7404d597dd294768f9e9b890115b9eebc085484 +DIST pyzmq-25.0.0.gh.tar.gz 387190 BLAKE2B aba258637fa698e3e2241c36b561d76971a82d20137573ed75bacf429cd21e2f2cbf6c15c76e7c6a9f2e3d7acd7cb03e5091f71bb41d6365c93d670a2cc81392 SHA512 9a4f25f6a9f6a9e636c7d50af69ee9d4629503fd707f6cd17772430f71bd386a573e5eed19eca0419ce0a3ca1f811601c785b5b6b9749b5cf03654a97c2afaf6 EBUILD pyzmq-24.0.1.ebuild 1948 BLAKE2B f0051c2fb48dffe371d7284f94b66cecc8195a02c8ab2b97adf134f240c8deecf3bba5f8ad77f747c5131681ffd2ad90686df873d5a57968c92d4ff30f21e3df SHA512 1ca085f6f74c43868b43a06ee6f23d188305b316913e30e81cf1cca431eb596d6f33f081bd2539ccfe78afa83c562c89db9596cd4adec0e10c6469d00f478337 -MISC metadata.xml 548 BLAKE2B 0120b82c6a48537f80d08237f4184ff855c109a0a461adfe7921e25468928ea053cc7727c7b00ff96ea556d719e453ee27cf534b285f24f62f7d1ca4ab326770 SHA512 124145f71518d39daa57522eadc27ab4782c3fc1794543396a6b6c91dda29175c4c097d6be90d7d405823621ce66f62e169b97e086c983d7f08178e6d85cee40 +EBUILD pyzmq-25.0.0.ebuild 2220 BLAKE2B d4d04a78a7c1d60aa1884a465aa543461411d8f0c4adc14bb4544a6486f0e1ed0384255f0e229c28d9769c7f7aebf7d8cca6dbf108ab0fe68c195b9973516f69 SHA512 408482a624be3b2af94204b2f8910781437fdbb28e8135c369f950532f622e62ebff65655bb5ffb3bdd5c33562b51a9b0e2433238386b7be0354c5d750106baf +MISC metadata.xml 602 BLAKE2B 2dcde66f620e979bf1c13ffb8becbb933e39d9737ab88e53f5534ab5474820ad28d8ee71a42685fe0ebe11499095276c6cbf0f2cda003e23c00b899934b19e36 SHA512 67bb10383483c87f479ef57af47a46b211d1036184819c3f43bc9f8d1e6310f168a6cc8853984e5a77e81a05d93858da9b246fc92d42cb5a4d08bca46085ac3c diff --git a/dev-python/pyzmq/metadata.xml b/dev-python/pyzmq/metadata.xml index f3cb0b82106a..8b18d4ba0094 100644 --- a/dev-python/pyzmq/metadata.xml +++ b/dev-python/pyzmq/metadata.xml @@ -15,5 +15,6 @@ Enable draft API support + Enable draft API support diff --git a/dev-python/pyzmq/pyzmq-25.0.0.ebuild b/dev-python/pyzmq/pyzmq-25.0.0.ebuild new file mode 100644 index 000000000000..62e3e834ee47 --- /dev/null +++ b/dev-python/pyzmq/pyzmq-25.0.0.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +# TODO: Find out exactly where this error comes from +# error: '<' not supported between instances of 'str' and 'int' +#DISTUTILS_USE_PEP517=setuptools +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Lightweight and super-fast messaging library built on top of the ZeroMQ library" +HOMEPAGE=" + https://zeromq.org/languages/python/ + https://pypi.org/project/pyzmq/ + https://github.com/zeromq/pyzmq/" +SRC_URI=" + https://github.com/zeromq/pyzmq/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="drafts" + +# There are additional test failures if zeromq has the draft api enabled, but pyzmq has it disabled. +DEPEND=" + >=net-libs/zeromq-4.2.2-r2:=[drafts=] +" +# It uses cffi backend for pypy, cython backend for cpython +RDEPEND="${DEPEND} + $(python_gen_cond_dep ' + dev-python/py[${PYTHON_USEDEP}] + dev-python/cffi:=[${PYTHON_USEDEP}] + ' pypy3) +" +BDEPEND=" + $(python_gen_cond_dep ' + dev-python/cython[${PYTHON_USEDEP}] + ' 'python*') + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + >=dev-python/tornado-5.0.2[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-23.2.0-libdir.patch +) + +EPYTEST_DESELECT=( + # TODO + zmq/tests/test_constants.py::TestConstants::test_draft + zmq/tests/test_cython.py::test_cython + + # Hangs often + zmq/tests/test_log.py::TestPubLog::test_blank_root_topic +) + +EPYTEST_IGNORE=( + # Avoid dependency on mypy + zmq/tests/test_mypy.py + + # Broken upstream + zmq/tests/test_auth.py + + # pytest-asyncio incompatibility? + zmq/tests/test_zmqstream.py +) + +distutils_enable_tests pytest +# TODO: Package enum_tools +# distutils_enable_sphinx docs/source \ +# dev-python/numpydoc \ +# dev-python/sphinx-rtd-theme \ +# dev-python/myst_parser + +python_prepare_all() { + export ZMQ_DRAFT_API=$(usex drafts '1' '0') + export ZMQ_PREFIX="${EPREFIX}/usr" + distutils-r1_python_prepare_all +} + +python_test() { + cd "${BUILD_DIR}/lib" || die + epytest -p no:flaky +} diff --git a/dev-python/rpy/Manifest b/dev-python/rpy/Manifest index 4c3612eba3ab..8d9f377ddb3f 100644 --- a/dev-python/rpy/Manifest +++ b/dev-python/rpy/Manifest @@ -1,3 +1,5 @@ DIST rpy2-3.5.5.tar.gz 210255 BLAKE2B b26aa4830f10b69ad8a9b21df14784203f77ea35b403a5b9d6135680ab47b47edbc480e3dbfcc469ffd523262c977c9a78e3597e467f5ccb3643c66a8a49b94e SHA512 47ce62851ec5385e3d8da947bb30cb71bf28fdba5891ec729f227313aa3863a2fa7be9ec3b7b2fffa4c09ebae131d15a8723f796c85406e5c19ea4a480f8e653 +DIST rpy2-3.5.8.tar.gz 214245 BLAKE2B 70d6b1e07df3fb6936898ab1353f134a4184ce611486c3da875ca7b562ec9a60bde9657869807aab969ccf515a32cf2a3767704e8ed8ab8b8977b9ac15745033 SHA512 e0781aeea4e483e60c2e54322bc577e5314627c6ef881387af6011e5ef3c08b4ee1be16bcbeba9083dcd0758655fc83a1ff474a3e05291745f85d94a70437521 EBUILD rpy-3.5.5.ebuild 1014 BLAKE2B 7cc4e65c3ed82daae115745e43d0fa7a3e9e1125d9bd61a476966fefac94f37dcc3e022aa899ca8870c828c7c24066bd91206f3afacba8a338fd05d948764700 SHA512 bfaf4539749c12892c908d49da83e8024ece54ccecd533a4ec15f63ef968321bf4896b263fc30c8ba1462a98e3ecb778197fda0a6dca058298596f596b9e872f -MISC metadata.xml 594 BLAKE2B 30723d02d77794b1d8303e4063b3f14b0896de94ab2f7dff371353db67fe132e7fbbc914cad4157fba2764faefad6b15e8ece111023fd3935f04b926c4c7364f SHA512 ee3231beea6731daf7e14a20aee434c35eb3a2f9e9c4bc7a9047fd0a3de133fa0142ef758cb353abb769bb13280f5a57f50153fa20bb2ecf06e4570c65fca8d6 +EBUILD rpy-3.5.8.ebuild 1033 BLAKE2B 76e8498a24659596ccd722951decce8031b6695b664b30ed1e209634547afc2a7805c048c02cd9490b586dff3f44d65ba4d7f9993031629ff869c9181ec37d7f SHA512 9aed4e12c362a34eece8093660b10061a00a76b64ff7955e026d4d184c1537236ab5d123eea3f534bdff79135702b18d769d1df0baeeae950184a77740beb3be +MISC metadata.xml 644 BLAKE2B 0a3381a277d867c75750b917fc2901854313405d4926aacb563c3c51220e15a0f75abe490feb58630a8ef99059342cbb2b3a2af8f2947efa1c4de31efab24574 SHA512 58ba6ac59b1fdc7ad74110c6538fd970b0e5812803ffeb10cf81e937e5de03431918ac41c53fe05756e04318c4fde1bf4e827327677620b954ab166f0492fe1d diff --git a/dev-python/rpy/metadata.xml b/dev-python/rpy/metadata.xml index 27e08f6c2612..911089995fb4 100644 --- a/dev-python/rpy/metadata.xml +++ b/dev-python/rpy/metadata.xml @@ -13,5 +13,6 @@ rpy2 + rpy diff --git a/dev-python/rpy/rpy-3.5.8.ebuild b/dev-python/rpy/rpy-3.5.8.ebuild new file mode 100644 index 000000000000..fd916d1fc2b5 --- /dev/null +++ b/dev-python/rpy/rpy-3.5.8.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_REQ_USE="sqlite" +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 pypi virtualx + +MYSLOT=2 +MY_PN=${PN}${MYSLOT} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python interface to the R Programming Language" +HOMEPAGE=" + https://rpy.sourceforge.io/ + https://pypi.org/project/rpy2/ +" +SRC_URI="$(pypi_sdist_url rpy2)" +S="${WORKDIR}/${MY_P}" + +LICENSE="AGPL-3 GPL-2 LGPL-2.1 MPL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +# ggplot2 is a test dep but not in ::gentoo atm +RESTRICT="test" + +RDEPEND=" + >=dev-lang/R-3.2 + dev-python/cffi[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + >=dev-python/pandas-0.13.1[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/tzlocal[${PYTHON_USEDEP}] +" +PDEPEND="dev-python/ipython[${PYTHON_USEDEP}]" + +python_test() { + cd "${BUILD_DIR}"/lib || die + virtx "${EPYTHON}" -m 'rpy2.tests' +} -- cgit v1.2.3