diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-02-21 01:46:11 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-02-21 01:46:11 +0000 |
| commit | d7a56bd539c69bcd9beb0be5552979e593984ce5 (patch) | |
| tree | c0648fb53744bcfbd84e8eaf6a4d3652c1683e62 /dev-python | |
| parent | 8381e8168d42d097b60eda6be771d38b6ca492d7 (diff) | |
| download | baldeagleos-repo-d7a56bd539c69bcd9beb0be5552979e593984ce5.tar.gz baldeagleos-repo-d7a56bd539c69bcd9beb0be5552979e593984ce5.tar.xz baldeagleos-repo-d7a56bd539c69bcd9beb0be5552979e593984ce5.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/appi/Manifest | 3 | ||||
| -rw-r--r-- | dev-python/appi/appi-0.2.5.ebuild | 16 | ||||
| -rw-r--r-- | dev-python/cython/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/cython/cython-0.29.22.ebuild | 75 | ||||
| -rw-r--r-- | dev-python/gst-python/files/1.16.2-python3.8.patch | 39 |
5 files changed, 94 insertions, 40 deletions
diff --git a/dev-python/appi/Manifest b/dev-python/appi/Manifest index f90b72ddc89c..f8bae0735340 100644 --- a/dev-python/appi/Manifest +++ b/dev-python/appi/Manifest @@ -1 +1,2 @@ -DIST appi-0.2.2.tar.gz 40562 SHA512 a5675bed7db67a01077363667c469173fe058231d50b7b680bb799fa9dd0a0ccf7c50af2b7b509017d6e0ae066714c4ea545959d12687c717edfdbdafed768ab
\ No newline at end of file +DIST appi-0.2.2.tar.gz 40562 BLAKE2B 6e3d789dd6216b7901c85ffcadc9537f9732e90c4e6c0d85f3368f08eda2e2ce86a3934b855d43979ef7bc82ead162b69236eb1e48a70f9005d0fe164b634df6 SHA512 a5675bed7db67a01077363667c469173fe058231d50b7b680bb799fa9dd0a0ccf7c50af2b7b509017d6e0ae066714c4ea545959d12687c717edfdbdafed768ab +DIST appi-0.2.5.tar.gz 43000 BLAKE2B 39949853f870437c549b87c5a378157ed145a4fa879f8edb3a46cea219f30823ca7c13c5ee9dee38f8663f05179870e135ff2d1d1b3137b805d00e21a29a3304 SHA512 673ff4d4bb25a0aca858682b020e6a51075e7fb6433ce0e0c51ce5ead6572a3b1a887fdd1dd43b18fbb9b7659e74ac55abf0b9952de2b1953c65c287d53728e4 diff --git a/dev-python/appi/appi-0.2.5.ebuild b/dev-python/appi/appi-0.2.5.ebuild new file mode 100644 index 000000000000..c7ec6b95a8e4 --- /dev/null +++ b/dev-python/appi/appi-0.2.5.ebuild @@ -0,0 +1,16 @@ +# Copyright 2020-2021 LiGurOs Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Another Portage Python Interface" +HOMEPAGE="https://pypi.org/project/appi/" +SRC_URI="https://files.pythonhosted.org/packages/80/db/7d6b5559ac5c9ce0ab453666dabd633b1b294e41f147cd270a271c2c8f81/appi-0.2.5.tar.gz" + +LICENSE="GPL-2" +SLOT="0/0" +KEYWORDS="*" +IUSE="" diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest index a5e08409004e..434af0421116 100644 --- a/dev-python/cython/Manifest +++ b/dev-python/cython/Manifest @@ -1 +1,2 @@ DIST cython-0.29.21.gh.tar.gz 2088511 BLAKE2B 7a4ddabb65a519d3c71454ac8417438a3a9c46b47489c18e7c7e82ffcb5d5f2f0c5246d0b364f8317d374c53f0c83844c73c7d2ef6b9f75f10707aaf2931ce41 SHA512 2c0c3e3fff07106eb98862f71cd5dec9ff29460cf9b9e4de74537ca5e033f7523989beb5fbdc14723beaf94a535976f75c803e791b87e017961d9694b8c37679 +DIST cython-0.29.22.gh.tar.gz 2091955 BLAKE2B 8225fa6073d43de1e44e8cd22d52f9bde5d3b6e6e766c74d5ef18d77b57c0e1b22a21cae5b133b0b22f7207aa51dc0e76f1073db977190d42c2b55cc2d7e148e SHA512 b7f22112678f159bf1d0ad5fe4f7c103e96f240bab4d9dc07edd7c2f66a9887b9af72b32f1d5886361b48d428bc2b9499d3c5b59ce5af1068f20a26549783dd6 diff --git a/dev-python/cython/cython-0.29.22.ebuild b/dev-python/cython/cython-0.29.22.ebuild new file mode 100644 index 000000000000..d341535a6137 --- /dev/null +++ b/dev-python/cython/cython-0.29.22.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 toolchain-funcs elisp-common + +DESCRIPTION="A Python to C compiler" +HOMEPAGE="https://cython.org https://pypi.org/project/Cython/ + https://github.com/cython/cython" +SRC_URI="https://github.com/cython/cython/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" +IUSE="emacs test" +RESTRICT="!test? ( test )" + +RDEPEND=" + emacs? ( >=app-editors/emacs-23.1:* ) +" +BDEPEND="${RDEPEND} + test? ( + $(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' \ + 'python3*') + )" + +PATCHES=( + "${FILESDIR}/cython-0.29.14-sphinx-update.patch" +) + +SITEFILE=50cython-gentoo.el + +distutils_enable_sphinx docs + +python_compile() { + # 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 +} + +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 ) + 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 +} diff --git a/dev-python/gst-python/files/1.16.2-python3.8.patch b/dev-python/gst-python/files/1.16.2-python3.8.patch deleted file mode 100644 index c4b4ddd11221..000000000000 --- a/dev-python/gst-python/files/1.16.2-python3.8.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 22f28155d86e27c4134de4ed2861264003fcfd23 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com> -Date: Fri, 13 Dec 2019 10:46:20 +0200 -Subject: [PATCH] Fix build with Python 3.8 by also checking for - python-3.X-embed.pc - -Since Python 3.8 the normal checks don't include the Python libraries -anymore and linking of the gst-python module would fail. - -See also https://github.com/mesonbuild/meson/issues/5629 - -Fixes https://gitlab.freedesktop.org/gstreamer/gst-python/issues/28 ---- - meson.build | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 744b7ce..fe4ca7a 100644 ---- a/meson.build -+++ b/meson.build -@@ -24,7 +24,14 @@ pygobject_dep = dependency('pygobject-3.0', fallback: ['pygobject', 'pygobject_d - - pymod = import('python') - python = pymod.find_installation(get_option('python')) --python_dep = python.dependency(required : true) -+pythonver = python.language_version() -+ -+# Workaround for https://github.com/mesonbuild/meson/issues/5629 -+# https://gitlab.freedesktop.org/gstreamer/gst-python/issues/28 -+python_dep = dependency('python-@0@-embed'.format(pythonver), version: '>=3', required: false) -+if not python_dep.found() -+ python_dep = python.dependency(required : true) -+endif - - python_abi_flags = python.get_variable('ABIFLAGS', '') - pylib_loc = get_option('libpython-dir') --- -2.20.1 - |
