Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-forensics/afflib/files/, app-forensics/afflib/
Date: Sat, 02 Mar 2019 19:44:26
Message-Id: 1551555854.4155d8c55bcebcb9971d13ff5fac5c5ae67eda5c.pacho@gentoo
1 commit: 4155d8c55bcebcb9971d13ff5fac5c5ae67eda5c
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 2 19:21:31 2019 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 2 19:44:14 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4155d8c5
7
8 app-forensics/afflib: Drop old
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 app-forensics/afflib/Manifest | 1 -
14 app-forensics/afflib/afflib-3.7.4.ebuild | 65 ----------------------
15 .../afflib/files/afflib-3.6.12-pyaff-header.patch | 13 -----
16 .../afflib/files/afflib-3.7.1-python-module.patch | 14 -----
17 4 files changed, 93 deletions(-)
18
19 diff --git a/app-forensics/afflib/Manifest b/app-forensics/afflib/Manifest
20 index 98001a38087..8d41df122bb 100644
21 --- a/app-forensics/afflib/Manifest
22 +++ b/app-forensics/afflib/Manifest
23 @@ -1,2 +1 @@
24 DIST afflib-3.7.18.tar.gz 540371 BLAKE2B 6c1837ebcb5cca97622736f38e61c35f149c045bc1a60acea455dd9059e8c60447cd8f45304fd55aa7f2e5f783d40e266a23d09b33209f9dc5441f971b8a188d SHA512 47ab74c86bbaedc2494558962f99463066e267f7a3f583902a53e1f488085a309b0d871093c67439033272c3ebf03d213649886930b9812013e66782ea84df85
25 -DIST afflib-3.7.4.tar.gz 569346 BLAKE2B e296bf58499bff4d44c9f5e1dd7363b4a68581213ff04ab14ffbe35b877c8307da03fb49e967a722ad9869f6284de496b86258f1b20c7c9e6b6a6cdcf473a03f SHA512 58791388a05d614dd5f219a74173de2ff0938a1f93b21e2dd0731aca52ea544ba60cc4325f0d284937467ce600a4302b7a2f724d84710ecc7f12db1a22a8e41c
26
27 diff --git a/app-forensics/afflib/afflib-3.7.4.ebuild b/app-forensics/afflib/afflib-3.7.4.ebuild
28 deleted file mode 100644
29 index 28987f4b199..00000000000
30 --- a/app-forensics/afflib/afflib-3.7.4.ebuild
31 +++ /dev/null
32 @@ -1,65 +0,0 @@
33 -# Copyright 1999-2017 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=5
37 -PYTHON_COMPAT=( python2_7 )
38 -AUTOTOOLS_AUTORECONF=1
39 -AUTOTOOLS_PRUNE_LIBTOOL_FILES=modules
40 -
41 -inherit autotools-utils python-single-r1
42 -
43 -MY_PN=AFFLIBv3
44 -MY_P=${MY_PN}-${PV}
45 -
46 -DESCRIPTION="Library that implements the AFF image standard"
47 -HOMEPAGE="https://github.com/simsong/AFFLIBv3/"
48 -SRC_URI="https://github.com/simsong/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
49 -
50 -LICENSE="BSD"
51 -SLOT="0"
52 -KEYWORDS="amd64 ~arm hppa ppc x86 ~x64-macos"
53 -IUSE="fuse ncurses python qemu readline s3 static-libs threads"
54 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
55 -
56 -RDEPEND="dev-libs/expat
57 - dev-libs/openssl:0
58 - sys-libs/zlib
59 - fuse? ( sys-fs/fuse )
60 - ncurses? ( sys-libs/ncurses:0= )
61 - python? ( ${PYTHON_DEPS} )
62 - readline? ( sys-libs/readline:0 )
63 - s3? ( net-misc/curl )"
64 -DEPEND="${RDEPEND}"
65 -
66 -PATCHES=(
67 - "${FILESDIR}"/${PN}-3.7.1-python-module.patch
68 - "${FILESDIR}"/${PN}-3.6.12-pyaff-header.patch
69 -)
70 -
71 -S=${WORKDIR}/${MY_P}
72 -
73 -pkg_setup() {
74 - use python && python-single-r1_pkg_setup
75 -}
76 -
77 -src_prepare() {
78 - sed -i '/FLAGS/s: -g::' configure.ac || die
79 - sed -i '/-static/d' tools/Makefile.am || die
80 -
81 - autotools-utils_src_prepare
82 -}
83 -
84 -src_configure() {
85 - # Hacks for automagic dependencies
86 - use ncurses || export ac_cv_lib_ncurses_initscr=no
87 - use readline || export ac_cv_lib_readline_readline=no
88 -
89 - local myeconfargs=(
90 - $(use_enable fuse)
91 - $(use_enable python)
92 - $(use_enable qemu)
93 - $(use_enable s3)
94 - $(use_enable threads threading)
95 - )
96 - autotools-utils_src_configure
97 -}
98
99 diff --git a/app-forensics/afflib/files/afflib-3.6.12-pyaff-header.patch b/app-forensics/afflib/files/afflib-3.6.12-pyaff-header.patch
100 deleted file mode 100644
101 index 496b02d2503..00000000000
102 --- a/app-forensics/afflib/files/afflib-3.6.12-pyaff-header.patch
103 +++ /dev/null
104 @@ -1,13 +0,0 @@
105 -Fix include location based on the include directories passed via CFLAGS.
106 -
107 ---- afflib-3.6.12/pyaff/pyaff.c.orig
108 -+++ afflib-3.6.12/pyaff/pyaff.c
109 -@@ -21,7 +21,7 @@
110 - ****************************************************/
111 -
112 - #include "Python.h"
113 --#include "lib/afflib.h"
114 -+#include "afflib.h"
115 -
116 - #include <string.h>
117 - #include <stdlib.h>
118
119 diff --git a/app-forensics/afflib/files/afflib-3.7.1-python-module.patch b/app-forensics/afflib/files/afflib-3.7.1-python-module.patch
120 deleted file mode 100644
121 index d89509f2f7e..00000000000
122 --- a/app-forensics/afflib/files/afflib-3.7.1-python-module.patch
123 +++ /dev/null
124 @@ -1,14 +0,0 @@
125 ---- afflib-3.7.1/pyaff/Makefile.am
126 -+++ afflib-3.7.1/pyaff/Makefile.am
127 -@@ -7,8 +7,8 @@
128 - pyexec_LTLIBRARIES = pyaff.la
129 -
130 - pyaff_la_SOURCES = pyaff.c
131 --pyaff_la_LIBADD = ../lib/libafflib.la
132 -+pyaff_la_LIBADD = @top_builddir@/lib/libafflib.la
133 - pyaff_la_CPPFLAGS = $(PYTHON_CPPFLAGS)
134 --pyaff_la_CFLAGS = -fno-strict-aliasing
135 --pyaff_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS)
136 -+pyaff_la_CFLAGS = $(AM_CFLAGS) -shared -fno-strict-aliasing
137 -+pyaff_la_LDFLAGS = -module -avoid-version -shared $(PYTHON_LDFLAGS)
138 - endif