tre-python: rm since it's no revdep and still uses py2 only

This commit is contained in:
Guido Kroon 2020-06-04 11:39:58 +02:00
parent d3f29a53da
commit 45cdea03cb
No known key found for this signature in database
GPG key ID: 394C398C531EFAB0
3 changed files with 0 additions and 53 deletions

View file

@ -1 +0,0 @@
DIST tre-0.8.0.tar.bz2 380714 SHA256 8dc642c2cde02b2dac6802cdbe2cda201daf79c4ebcbb3ea133915edf1636658 SHA512 db7465993e0d25eee8e52f974427b8a040234cf0f017769eb94ee88bc6261821336aad7f762bfa82db7e2212d8449bc221592586f061c528a59a550773cbc263 WHIRLPOOL 97146f193c828ce16d76fb6e181d5b91f5a26e1ebf73b0f17374b6826da471ec2f160cf640607cb00cbf217367dcf426b86159cbd229fed5801d09a3e39c923d

View file

@ -1,26 +0,0 @@
diff --git a/python/setup.py b/python/setup.py
index b420a4c..b1bca6b 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -10,7 +10,8 @@ import shutil
version = "0.8.0"
data_files = []
-include_dirs = ["../lib"]
+include_dirs = ["lib"]
+library_dirs = ["lib/.libs"]
libraries = ["tre"]
if sys.platform == "win32":
@@ -28,9 +29,10 @@ setup(name = "tre",
url = "http://laurikari.net/tre/",
data_files = data_files,
ext_modules = [Extension("tre",
- sources = ["tre-python.c"],
+ sources = ["tre-python.c"],
define_macros = [("HAVE_CONFIG_H", None)],
include_dirs = include_dirs,
+ library_dirs = library_dirs,
libraries = libraries
),
],

View file

@ -1,26 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1 eutils
DESCRIPTION="Python bidings for TRE library"
HOMEPAGE="http://laurikari.net/tre/ https://github.com/laurikari/tre/"
SRC_URI="http://laurikari.net/tre/tre-${PV}.tar.bz2"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
RDEPEND="dev-libs/tre"
DEPEND="${RDEPEND}"
S="${WORKDIR}/tre-${PV}/python"
python_prepare() {
epatch "${FILESDIR}"/${PV}-python.patch
}