Gentoo Archives: gentoo-commits

From: Akinori Hattori <hattya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/tinycdb/files/, dev-db/tinycdb/
Date: Sat, 06 Nov 2021 09:23:58
Message-Id: 1636190623.f73bc3cb2270f2676da2df1c6c83ae447d0b8db2.hattya@gentoo
1 commit: f73bc3cb2270f2676da2df1c6c83ae447d0b8db2
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 6 09:23:43 2021 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 6 09:23:43 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f73bc3cb
7
8 dev-db/tinycdb: drop old
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
12
13 dev-db/tinycdb/Manifest | 1 -
14 dev-db/tinycdb/files/tinycdb-umask.patch | 11 -------
15 dev-db/tinycdb/tinycdb-0.77-r2.ebuild | 52 --------------------------------
16 3 files changed, 64 deletions(-)
17
18 diff --git a/dev-db/tinycdb/Manifest b/dev-db/tinycdb/Manifest
19 index 8aefe62747d..ec77e1b8d07 100644
20 --- a/dev-db/tinycdb/Manifest
21 +++ b/dev-db/tinycdb/Manifest
22 @@ -1,2 +1 @@
23 DIST tinycdb-0.78.tar.gz 36754 BLAKE2B 41f4256840645acd28296c5473087c7cf4c026f068310375b3c305430c030b1c946f53fd3e09967d77b592ba84e7e56518fdb18e54d1e0f5e7dd552a1664a0ec SHA512 8930086b8e7fddcd4dbd3354c5f5ee05171df68fde1cc222b6c402430042b6e761efbad7e5fa8de18e1d36390f1526cc3e605c5086fe1c363ba1df6c03201553
24 -DIST tinycdb_0.77.tar.gz 37728 BLAKE2B bebcc6128b253fa9e64438ed2671488153d70cf452bd0686a90ebd5360b725ab784b4537b25fe2ea9de0281cb1bb2fa29beb5f3515aed90fd7e2965f7e5e38bd SHA512 cfc830578a9be49781a1dbade97b64ec13293853093719aeb9a403c128245f157fd1d2d7e6941966bdea00b472127f10f11672583ba06ccc6e49151b22bf4c9a
25
26 diff --git a/dev-db/tinycdb/files/tinycdb-umask.patch b/dev-db/tinycdb/files/tinycdb-umask.patch
27 deleted file mode 100644
28 index 2a53babb251..00000000000
29 --- a/dev-db/tinycdb/files/tinycdb-umask.patch
30 +++ /dev/null
31 @@ -1,11 +0,0 @@
32 ---- a/cdb.c
33 -+++ b/cdb.c
34 -@@ -21,6 +21,8 @@
35 - #include <stdarg.h>
36 - #include <fcntl.h>
37 - #include <errno.h>
38 -+#include <sys/types.h> /* umask() */
39 -+#include <sys/stat.h> /* umask() */
40 - #include "cdb.h"
41 -
42 - #ifndef EPROTO
43
44 diff --git a/dev-db/tinycdb/tinycdb-0.77-r2.ebuild b/dev-db/tinycdb/tinycdb-0.77-r2.ebuild
45 deleted file mode 100644
46 index ed33dee4fb1..00000000000
47 --- a/dev-db/tinycdb/tinycdb-0.77-r2.ebuild
48 +++ /dev/null
49 @@ -1,52 +0,0 @@
50 -# Copyright 1999-2017 Gentoo Foundation
51 -# Distributed under the terms of the GNU General Public License v2
52 -
53 -EAPI="6"
54 -
55 -inherit toolchain-funcs
56 -
57 -DESCRIPTION="A very fast and simple package for creating and reading constant data bases"
58 -HOMEPAGE="http://www.corpit.ru/mjt/tinycdb.html"
59 -SRC_URI="http://www.corpit.ru/mjt/${PN}/${P/-/_}.tar.gz"
60 -
61 -LICENSE="public-domain"
62 -SLOT="0"
63 -KEYWORDS="amd64 ~arm64 ~hppa ~ia64 ~mips ppc x86"
64 -IUSE="static-libs"
65 -RESTRICT="test"
66 -
67 -RDEPEND="!dev-db/cdb"
68 -
69 -PATCHES=(
70 - "${FILESDIR}"/${PN}-gentoo.patch
71 - "${FILESDIR}"/${PN}-umask.patch
72 - "${FILESDIR}"/${PN}-uclibc.patch
73 -)
74 -
75 -src_prepare() {
76 - default
77 -
78 - sed -i "/^libdir/s:/lib:/$(get_libdir):" Makefile
79 -}
80 -
81 -src_compile() {
82 - local targets="shared"
83 - use static-libs && targets+=" staticlib piclib"
84 -
85 - emake \
86 - CC="$(tc-getCC)" \
87 - CFLAGS="${CFLAGS} ${LDFLAGS}" \
88 - ${targets}
89 -}
90 -
91 -src_install() {
92 - local targets="install install-sharedlib"
93 - use static-libs && targets+=" install-piclib"
94 -
95 - emake \
96 - prefix="${EPREFIX}"/usr \
97 - mandir="${EPREFIX}"/usr/share/man \
98 - DESTDIR="${D}" \
99 - ${targets}
100 - einstalldocs
101 -}