1 |
commit: 2eb57957b24e704ef129bf20669c03362cb45dfb |
2 |
Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 7 18:52:26 2021 +0000 |
4 |
Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 7 21:30:43 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eb57957 |
7 |
|
8 |
dev-python/uranium: drop old |
9 |
|
10 |
Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org> |
11 |
|
12 |
dev-python/uranium/Manifest | 1 - |
13 |
dev-python/uranium/uranium-4.7.0.ebuild | 96 --------------------------------- |
14 |
2 files changed, 97 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/uranium/Manifest b/dev-python/uranium/Manifest |
17 |
index 595cdd2692d..9f84080c85d 100644 |
18 |
--- a/dev-python/uranium/Manifest |
19 |
+++ b/dev-python/uranium/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST uranium-4.7.0.tar.gz 1021541 BLAKE2B 2a2e354def88764801f275751aaf7643c9f4ca6329c2c302d87b3d617d0e93921d0aef20b0c25c9b0a082a836f7d0cca962dfedaa0298fcf943b1a0b683e0e28 SHA512 e049fff57823107785b418a368d6c6c399775c35ffad90831c77643dee060be2ab13ad8871b11f8d59d2a090a1d26786f4cf39a5a731b616a1b08a8ae5dea996 |
22 |
DIST uranium-4.8.0.tar.gz 1027286 BLAKE2B 5e068255918ca3a6125c308a64d47fab30260aa475505edad2abda664d2c2db7d821d4219ff682d4de90e16de2e36d257410a44f2752c733994739ca160e55b0 SHA512 a2cb923d703e626760c885ceb657566abfa5662f63729fef0b5cdf408da2ed3c23fefcd173b8af529ee79c2384505b2558379b82ba2cfd7a2d2291fe723ddbbd |
23 |
|
24 |
diff --git a/dev-python/uranium/uranium-4.7.0.ebuild b/dev-python/uranium/uranium-4.7.0.ebuild |
25 |
deleted file mode 100644 |
26 |
index ec44ffc1c0b..00000000000 |
27 |
--- a/dev-python/uranium/uranium-4.7.0.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,96 +0,0 @@ |
30 |
-# Copyright 1999-2020 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-DISTUTILS_SINGLE_IMPL=1 |
36 |
-PYTHON_COMPAT=(python3_{7..8}) |
37 |
- |
38 |
-inherit cmake distutils-r1 |
39 |
- |
40 |
-MY_PN="Uranium" |
41 |
- |
42 |
-DESCRIPTION="A Python framework for building 3D printing related applications" |
43 |
-HOMEPAGE="https://github.com/Ultimaker/Uranium" |
44 |
-SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
- |
46 |
-LICENSE="LGPL-3" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
49 |
-IUSE="debug doc test" |
50 |
- |
51 |
-BDEPEND="${PYTHON_DEPS} |
52 |
- sys-devel/gettext |
53 |
- doc? ( app-doc/doxygen[dot] ) |
54 |
- test? ( |
55 |
- $(python_gen_cond_dep ' |
56 |
- dev-python/pytest[${PYTHON_USEDEP}] |
57 |
- dev-python/mypy[${PYTHON_USEDEP}] |
58 |
- ') |
59 |
- )" |
60 |
- |
61 |
-DEPEND="${PYTHON_DEPS} |
62 |
- ~dev-libs/libarcus-${PV}:=[python,${PYTHON_SINGLE_USEDEP}] |
63 |
- $(python_gen_cond_dep ' |
64 |
- dev-python/PyQt5[${PYTHON_USEDEP},declarative,network,svg] |
65 |
- dev-python/numpy[${PYTHON_USEDEP}] |
66 |
- >=dev-python/scipy-1.1[${PYTHON_USEDEP}] |
67 |
- sci-libs/shapely[${PYTHON_USEDEP}] |
68 |
- ')" |
69 |
- |
70 |
-RDEPEND="${DEPEND} |
71 |
- dev-qt/qtquickcontrols:5 |
72 |
- dev-qt/qtquickcontrols2:5" |
73 |
- |
74 |
-DOCS=( README.md ) |
75 |
- |
76 |
-S="${WORKDIR}/${MY_PN}-${PV}" |
77 |
- |
78 |
-distutils_enable_tests pytest |
79 |
- |
80 |
-src_prepare() { |
81 |
- python_fix_shebang . |
82 |
- |
83 |
- cmake_src_prepare |
84 |
-} |
85 |
- |
86 |
-src_configure() { |
87 |
- local mycmakeargs=( |
88 |
- -DCURA_BINARY_DATA_DIRECTORY:STRING="/usr/share/cura/" |
89 |
- -DGETTEXT_MSGINIT_EXECUTABLE="msginit" |
90 |
- ) |
91 |
- |
92 |
- if ! use debug; then |
93 |
- sed -i -e 's logging.DEBUG logging.ERROR g' \ |
94 |
- plugins/ConsoleLogger/ConsoleLogger.py \ |
95 |
- plugins/FileLogger/FileLogger.py || die |
96 |
- fi |
97 |
- |
98 |
- sed -i \ |
99 |
- -e "s/find_package(PythonInterp 3 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED COMPONENTS Interpreter/g" \ |
100 |
- CMakeLists.txt cmake/UraniumPluginInstall.cmake |
101 |
- |
102 |
- sed -i \ |
103 |
- -e "s/find_package(Python3 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" \ |
104 |
- -e 's/set(Python3_EXECUTABLE ${PYTHON_EXECUTABLE})//g' \ |
105 |
- cmake/UraniumPluginInstall.cmake |
106 |
- |
107 |
- sed -i \ |
108 |
- -e "s lib\${LIB_SUFFIX}/python\${PYTHON_VERSION_MAJOR}.\${PYTHON_VERSION_MINOR}/site-packages $(python_get_sitedir) g" \ |
109 |
- -e 's cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} cmake g' \ |
110 |
- CMakeLists.txt |
111 |
- |
112 |
- cmake_src_configure |
113 |
-} |
114 |
- |
115 |
-src_compile() { |
116 |
- cmake_src_compile |
117 |
- |
118 |
- use doc && cmake_src_compile doc |
119 |
-} |
120 |
- |
121 |
-src_install() { |
122 |
- cmake_src_install |
123 |
- |
124 |
- python_optimize "${ED}"/usr |
125 |
-} |