summaryrefslogtreecommitdiff
path: root/devel/py-filebytes
diff options
context:
space:
mode:
authorkamil <kamil>2016-06-13 02:07:35 +0000
committerkamil <kamil>2016-06-13 02:07:35 +0000
commite4b8f998d3d40186fd643c2417fd0e43b9744144 (patch)
tree7aa7efd95dc18916605934b62c861e91d48d0d82 /devel/py-filebytes
parent318bac742d530d277a2ec19ef4d4bd2709037e1d (diff)
downloadpkgsrc-e4b8f998d3d40186fd643c2417fd0e43b9744144.tar.gz
Import filebytes-0.9.10 as devel/py-filebytes
Library to read and edit files in the following formats: Executable and Linking Format (ELF), Portable Executable (PE), MachO and OAT (Android Runtime). Originally packaged in pkgsrc-wip by myself.
Diffstat (limited to 'devel/py-filebytes')
-rw-r--r--devel/py-filebytes/DESCR2
-rw-r--r--devel/py-filebytes/Makefile18
-rw-r--r--devel/py-filebytes/PLIST29
-rw-r--r--devel/py-filebytes/distinfo6
4 files changed, 55 insertions, 0 deletions
diff --git a/devel/py-filebytes/DESCR b/devel/py-filebytes/DESCR
new file mode 100644
index 00000000000..17ca75f4d85
--- /dev/null
+++ b/devel/py-filebytes/DESCR
@@ -0,0 +1,2 @@
+Library to read and edit files in the following formats: Executable and Linking
+Format (ELF), Portable Executable (PE), MachO and OAT (Android Runtime).
diff --git a/devel/py-filebytes/Makefile b/devel/py-filebytes/Makefile
new file mode 100644
index 00000000000..ad9b6120dc7
--- /dev/null
+++ b/devel/py-filebytes/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2016/06/13 02:07:35 kamil Exp $
+
+DISTNAME= filebytes-0.9.10
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_GITHUB:=sashs/}
+GITHUB_PROJECT= filebytes
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/sashs/filebytes/
+COMMENT= Library to read and edit ELF, PE, MachO and OAT files
+LICENSE= gnu-gpl-v2
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-filebytes/PLIST b/devel/py-filebytes/PLIST
new file mode 100644
index 00000000000..1219c4302a4
--- /dev/null
+++ b/devel/py-filebytes/PLIST
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1 2016/06/13 02:07:35 kamil Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/filebytes/__init__.py
+${PYSITELIB}/filebytes/__init__.pyc
+${PYSITELIB}/filebytes/__init__.pyo
+${PYSITELIB}/filebytes/binary.py
+${PYSITELIB}/filebytes/binary.pyc
+${PYSITELIB}/filebytes/binary.pyo
+${PYSITELIB}/filebytes/ctypes_helper.py
+${PYSITELIB}/filebytes/ctypes_helper.pyc
+${PYSITELIB}/filebytes/ctypes_helper.pyo
+${PYSITELIB}/filebytes/elf.py
+${PYSITELIB}/filebytes/elf.pyc
+${PYSITELIB}/filebytes/elf.pyo
+${PYSITELIB}/filebytes/enum.py
+${PYSITELIB}/filebytes/enum.pyc
+${PYSITELIB}/filebytes/enum.pyo
+${PYSITELIB}/filebytes/mach_o.py
+${PYSITELIB}/filebytes/mach_o.pyc
+${PYSITELIB}/filebytes/mach_o.pyo
+${PYSITELIB}/filebytes/oat.py
+${PYSITELIB}/filebytes/oat.pyc
+${PYSITELIB}/filebytes/oat.pyo
+${PYSITELIB}/filebytes/pe.py
+${PYSITELIB}/filebytes/pe.pyc
+${PYSITELIB}/filebytes/pe.pyo
diff --git a/devel/py-filebytes/distinfo b/devel/py-filebytes/distinfo
new file mode 100644
index 00000000000..b4c3e8abbeb
--- /dev/null
+++ b/devel/py-filebytes/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/06/13 02:07:35 kamil Exp $
+
+SHA1 (filebytes-0.9.10.tar.gz) = 08796c502e1b8865da354e41a5eb739e05b20321
+RMD160 (filebytes-0.9.10.tar.gz) = bd6a2957e6a477cada270c4d927fdadbd60b746a
+SHA512 (filebytes-0.9.10.tar.gz) = 4a3402f9a564d74b71290c33862cc857757a94621d3e2fe414807263f185601dd6f5dabed8105992b5f09132617e3aff9bf35561526621812224d687fb17c376
+Size (filebytes-0.9.10.tar.gz) = 1110923 bytes