diff options
author | Amy Liffey <amynka@gentoo.org> | 2018-11-18 18:17:19 +0100 |
---|---|---|
committer | Amy Liffey <amynka@gentoo.org> | 2018-11-18 18:18:28 +0100 |
commit | 019b52286097716e64cb5d8a6265edb09e92e3fc (patch) | |
tree | 856778856ad814d995fd7690998747ce0fee0c90 /dev-python/uranium | |
parent | dev-libs/libsavitar: version bump 3.5.1 (diff) | |
download | gentoo-019b52286097716e64cb5d8a6265edb09e92e3fc.tar.gz gentoo-019b52286097716e64cb5d8a6265edb09e92e3fc.tar.bz2 gentoo-019b52286097716e64cb5d8a6265edb09e92e3fc.zip |
dev-python/uranium: version bump 3.5.1
Bug: https://bugs.gentoo.org/669264
Subitted-by: qwertyqwertyq@protonmail.com
Signed-off-by: Amy Liffey <amynka@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'dev-python/uranium')
-rw-r--r-- | dev-python/uranium/Manifest | 1 | ||||
-rw-r--r-- | dev-python/uranium/uranium-3.5.1.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/uranium/Manifest b/dev-python/uranium/Manifest index c401c50d6199..eb8c70c52b5e 100644 --- a/dev-python/uranium/Manifest +++ b/dev-python/uranium/Manifest @@ -1,2 +1,3 @@ DIST uranium-3.3.0.tar.gz 906093 BLAKE2B d41608170da64f93d6149e76cc28fa476e439f6b291bc667f8b562dbcde047f234aa77cfa52b73420f286b926ef05ef50df8fd74722fc81dd3fe94b407bee7f4 SHA512 48de8ecf100f6bfbaa6b3bc6562fef25991ad07375f3d8f752f130b44c2e4728b2979f99de23570cd46367d868bb7139dfd9d73a7d3755d2141edc1fd46939b3 DIST uranium-3.4.1.tar.gz 646742 BLAKE2B eb65d5a35b3c63cfb069f6c1077a91b7aa10517dd7fe6938b639f1229e61c5c6aa892447cd9d5851df46808f01f237820811b4358a235c50a89f2333df3418ef SHA512 59e0a605f3d898765bb670104cabb7fb1471061934900e63b54c1a07219970e07414a3983e96a577f5986302779b7acedc8e0ef0da3756dceefc0170ec80645b +DIST uranium-3.5.1.tar.gz 664431 BLAKE2B aa7a5241672316ae63cc2e55bb0986cd3bbba3c82cf90334efd7d097b714eb574f0caebec571beab6a3f78c08ab9a7c1699842031c5bcd074ebb0d9008e05784 SHA512 2924721f5308eb8f27826316a705a12f0768889a4a6c9de431d6827a98036b664497c12ef1dd42e47f67e566fe169d7b5941b62426952c9bec1797933bfc62ce diff --git a/dev-python/uranium/uranium-3.5.1.ebuild b/dev-python/uranium/uranium-3.5.1.ebuild new file mode 100644 index 000000000000..cd83c93f844d --- /dev/null +++ b/dev-python/uranium/uranium-3.5.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{5,6} ) + +inherit cmake-utils python-single-r1 + +MY_PN="Uranium" + +DESCRIPTION="A Python framework for building 3D printing related applications" +HOMEPAGE="https://github.com/Ultimaker/Uranium" +SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + ~dev-libs/libarcus-${PV}:=[python,${PYTHON_USEDEP}] + <dev-python/PyQt5-5.10[${PYTHON_USEDEP},declarative,network,svg] + dev-python/numpy[${PYTHON_USEDEP}] + >=sci-libs/scipy-1.1[${PYTHON_USEDEP}] + dev-qt/qtquickcontrols:5 + dev-qt/qtquickcontrols2:5" + +DEPEND="${RDEPEND} + sys-devel/gettext + doc? ( app-doc/doxygen ) + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +DOCS=( README.md ) + +PATCHES=( "${FILESDIR}/${PN}-3.3.0-fix-install-paths.patch" ) + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_configure() { + local mycmakeargs=( + -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)" ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + if use doc; then + cmake-utils_src_compile doc + DOCS+=( html ) + fi +} + +src_test() { + emake -C "${BUILD_DIR}" tests +} + +src_install() { + cmake-utils_src_install + python_optimize "${D}usr/$(get_libdir)" +} |