Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/dlib/
Date: Fri, 01 Jan 2021 01:56:04
Message-Id: 1609466150.57d643449f605608ba7eb3ea82fd46f2512263bd.mgorny@gentoo
1 commit: 57d643449f605608ba7eb3ea82fd46f2512263bd
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 1 01:51:40 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 1 01:55:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57d64344
7
8 sci-libs/dlib: Remove old (py3.6)
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sci-libs/dlib/Manifest | 1 -
13 sci-libs/dlib/dlib-19.9.ebuild | 77 ------------------------------------------
14 2 files changed, 78 deletions(-)
15
16 diff --git a/sci-libs/dlib/Manifest b/sci-libs/dlib/Manifest
17 index 6682430cf3a..63c671d911e 100644
18 --- a/sci-libs/dlib/Manifest
19 +++ b/sci-libs/dlib/Manifest
20 @@ -1,2 +1 @@
21 DIST dlib-19.16.tar.gz 10411975 BLAKE2B 93047590a4d8f4685970d3db6841cbf9cc90ca8a5e50f0929a106d887e5db1b4fd96bbe14380537a3e28369a8db6d9d8c067e7768000ac3c7d0f225b46369326 SHA512 4e040ef88acff05e1a48e499b813c876b22ad3f989d076bdf19969d01036b62e51a0dff30b70046910ba31dfa1b1c2450a7fad41ae3142b7285ed74b8d584887
22 -DIST dlib-19.9.tar.gz 8892457 BLAKE2B d18548e09f8169bbc9d7f339599bd58b940410839b259a8d7be9cb999f82e634ad5cd0539adb45239dab821ea1029493d24ae9990ca32c75c744e2c5d9e218f6 SHA512 1e2123c22e1b13cc84108fa627bfa92eadc9dee63f93a9f45676bbf2b752c8728117d915ac327f5223b0cdbce87dd3bef2f4d8d5ed3f8f5a314ffa9e8962a246
23
24 diff --git a/sci-libs/dlib/dlib-19.9.ebuild b/sci-libs/dlib/dlib-19.9.ebuild
25 deleted file mode 100644
26 index fcc55d70b0e..00000000000
27 --- a/sci-libs/dlib/dlib-19.9.ebuild
28 +++ /dev/null
29 @@ -1,77 +0,0 @@
30 -# Copyright 1999-2020 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=6
34 -PYTHON_COMPAT=( python3_6 )
35 -inherit python-r1 cmake-utils cuda
36 -
37 -DESCRIPTION="Numerical and networking C++ library"
38 -HOMEPAGE="http://dlib.net/"
39 -SRC_URI="https://github.com/davisking/dlib/archive/v${PV}.tar.gz -> ${P}.tar.gz"
40 -
41 -LICENSE="Boost-1.0"
42 -SLOT="0/${PV}"
43 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
44 -IUSE="cblas debug cuda examples gif jpeg lapack mkl png python sqlite static-libs test X"
45 -RESTRICT="!test? ( test )"
46 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
47 -
48 -# doc needs a bunch of deps not in portage
49 -
50 -RDEPEND="
51 - cblas? ( virtual/cblas:= )
52 - cuda? ( dev-libs/cudnn:= )
53 - jpeg? ( virtual/jpeg:0= )
54 - lapack? ( virtual/lapack:= )
55 - mkl? ( sci-libs/mkl:= )
56 - png? ( media-libs/libpng:0= )
57 - python? ( ${PYTHON_DEPS} )
58 - sqlite? ( dev-db/sqlite:3= )
59 - X? ( x11-libs/libX11:= )
60 -"
61 -DEPEND="test? ( ${RDEPEND} )"
62 -
63 -src_prepare() {
64 - use cuda && cuda_src_prepare
65 - cmake-utils_src_prepare
66 - sed -i -e '/LICENSE.txt/d' dlib/CMakeLists.txt || die
67 -}
68 -
69 -src_configure() {
70 - local mycmakeargs=(
71 - -DLIB_INSTALL_DIR="$(get_libdir)"
72 - -DDLIB_ENABLE_ASSERTS="$(usex debug)"
73 - -DDLIB_ENABLE_STACK_TRACE="$(usex debug)"
74 - -DDLIB_GIF_SUPPORT="$(usex gif)"
75 - -DDLIB_JPEG_SUPPORT="$(usex jpeg)"
76 - -DDLIB_PNG_SUPPORT="$(usex png)"
77 - -DDLIB_LINK_WITH_SQLITE3="$(usex sqlite)"
78 - -DDLIB_NO_GUI_SUPPORT="$(usex X OFF ON)"
79 - -DDLIB_USE_BLAS="$(usex cblas)"
80 - -DDLIB_USE_CUDA="$(usex cuda)"
81 - -DDLIB_USE_LAPACK="$(usex lapack)"
82 - -DBOOST_LIBRARYDIR="${EPREFIX}/usr/$(get_libdir)"
83 - )
84 - cmake-utils_src_configure
85 -}
86 -
87 -src_test() {
88 - mkdir "${BUILD_DIR}"/dlib/test || die
89 - pushd "${BUILD_DIR}"/dlib/test > /dev/null || die
90 - cmake "${S}"/dlib/test && emake
91 - ./dtest --runall || die
92 - popd > /dev/null || die
93 -}
94 -
95 -src_install() {
96 - cmake-utils_src_install
97 - if use python; then
98 - python_foreach_impl python_domodule ${PN}
99 - fi
100 - dodoc docs/README.txt
101 - use static-libs || rm -f "${ED}"/usr/$(get_libdir)/*.a
102 - if use examples; then
103 - dodoc -r examples
104 - docompress -x /usr/share/doc/${PF}
105 - fi
106 -}