View | Details | Raw Unified | Return to bug 257041 | Differences between
and this patch

Collapse All | Expand All

(-)b/devel/py-lief/Makefile (+25 lines)
Added Link Here
1
PORTNAME=	lief
2
DISTVERSION=	0.11.5
3
CATEGORIES=	devel python
4
MASTER_SITES=	CHEESESHOP
5
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
6
7
MAINTAINER=	ports@nicandneal.net
8
COMMENT=	Library to instrument executable formats
9
10
LICENSE=	APACHE20
11
12
# Note: cmake is needed to build, but distutils is used directly.
13
# If USES= cmake is set, the build wqill not work.
14
BUILD_DEPENDS=	cmake:devel/cmake
15
16
USES=	python:3.6+ zip
17
USE_PYTHON=	distutils concurrent
18
19
PY_VER=		${PYTHON_VER:S/.//}
20
PLIST_SUB=	PY_VER=${PY_VER}
21
22
post-install:
23
	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/lief.cpython-${PY_VER}.so
24
25
.include <bsd.port.mk>
(-)b/devel/py-lief/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1626076347
2
SHA256 (lief-0.11.5.zip) = 932ba495388fb52b4ba056a0b00abe0bda3567ad3ebc6d726be1e87b8be08b3f
3
SIZE (lief-0.11.5.zip) = 15699277
(-)b/devel/py-lief/pkg-descr (+13 lines)
Added Link Here
1
The purpose of this project is to provide a cross platform library which can
2
parse, modify and abstract ELF, PE and MachO formats.
3
4
Main features:
5
6
- Parsing: LIEF can parse ELF, PE, MachO, OAT, DEX, VDEX, ART and provides a
7
  user-friendly API to access to format internals.
8
- Modify: LIEF enables to modify some parts of these formats
9
- Abstract: Three formats have common features like sections, symbols, entry
10
  point... LIEF factors them.
11
- API: LIEF can be used in C, C++ and Python
12
13
WWW: https://github.com/lief-project/lief
(-)b/devel/py-lief/pkg-plist (+4 lines)
Added Link Here
1
bin/elf_reader.py
2
bin/macho_reader.py
3
bin/pe_reader.py
4
%%PYTHON_SITELIBDIR%%/lief.cpython-%%PY_VER%%.so

Return to bug 257041