pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-filebytes
Module Name: pkgsrc
Committed By: adam
Date: Fri Jun 26 06:35:07 UTC 2026
Modified Files:
pkgsrc/devel/py-filebytes: Makefile PLIST distinfo
Added Files:
pkgsrc/devel/py-filebytes/patches: patch-setup.py
Log Message:
py-filebytes: updated to 0.10.2
0.10.2
Unknown changes
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-filebytes/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-filebytes/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-filebytes/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-filebytes/patches/patch-setup.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-filebytes/Makefile
diff -u pkgsrc/devel/py-filebytes/Makefile:1.2 pkgsrc/devel/py-filebytes/Makefile:1.3
--- pkgsrc/devel/py-filebytes/Makefile:1.2 Tue Jan 4 20:53:04 2022
+++ pkgsrc/devel/py-filebytes/Makefile Fri Jun 26 06:35:07 2026
@@ -1,19 +1,18 @@
-# $NetBSD: Makefile,v 1.2 2022/01/04 20:53:04 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2026/06/26 06:35:07 adam Exp $
-DISTNAME= filebytes-0.9.10
+DISTNAME= filebytes-0.10.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= devel python
-MASTER_SITES= ${MASTER_SITE_GITHUB:=sashs/}
-GITHUB_PROJECT= filebytes
-GITHUB_TAG= v${PKGVERSION_NOREV}
+MASTER_SITES= ${MASTER_SITE_PYPI:=f/filebytes/}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= https://github.com/sashs/filebytes/
+HOMEPAGE= https://github.com/sashs/filebytes
COMMENT= Library to read and edit ELF, PE, MachO and OAT files
LICENSE= gnu-gpl-v2
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
+
USE_LANGUAGES= # none
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-filebytes/PLIST
diff -u pkgsrc/devel/py-filebytes/PLIST:1.1 pkgsrc/devel/py-filebytes/PLIST:1.2
--- pkgsrc/devel/py-filebytes/PLIST:1.1 Mon Jun 13 02:07:35 2016
+++ pkgsrc/devel/py-filebytes/PLIST Fri Jun 26 06:35:07 2026
@@ -1,8 +1,9 @@
-@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
+@comment $NetBSD: PLIST,v 1.2 2026/06/26 06:35:07 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/COPYING
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/filebytes/__init__.py
${PYSITELIB}/filebytes/__init__.pyc
${PYSITELIB}/filebytes/__init__.pyo
Index: pkgsrc/devel/py-filebytes/distinfo
diff -u pkgsrc/devel/py-filebytes/distinfo:1.3 pkgsrc/devel/py-filebytes/distinfo:1.4
--- pkgsrc/devel/py-filebytes/distinfo:1.3 Tue Oct 26 10:18:26 2021
+++ pkgsrc/devel/py-filebytes/distinfo Fri Jun 26 06:35:07 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:18:26 nia Exp $
+$NetBSD: distinfo,v 1.4 2026/06/26 06:35:07 adam Exp $
-BLAKE2s (filebytes-0.9.10.tar.gz) = 5fe732cecb0965b95f381ff53421f5977b724761c7c1e4247c556bc03f433047
-SHA512 (filebytes-0.9.10.tar.gz) = 4a3402f9a564d74b71290c33862cc857757a94621d3e2fe414807263f185601dd6f5dabed8105992b5f09132617e3aff9bf35561526621812224d687fb17c376
-Size (filebytes-0.9.10.tar.gz) = 1110923 bytes
+BLAKE2s (filebytes-0.10.2.tar.gz) = 2ba28611a7f888bb074d3603169f04f53c9c33792b54a3cba7c7888223a5eba3
+SHA512 (filebytes-0.10.2.tar.gz) = e3cd8f0be93735021eadc1a891f2e76f89a406fd0280fefb5c788100085a4fb4d468a6a18465151414f843d90149eddbe64da7fb3f88f1f29daa6098f527d4ed
+Size (filebytes-0.10.2.tar.gz) = 20358 bytes
+SHA1 (patch-setup.py) = aa37b08a00d277283f22604d5be698aebd108fc8
Added files:
Index: pkgsrc/devel/py-filebytes/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-filebytes/patches/patch-setup.py:1.1
--- /dev/null Fri Jun 26 06:35:07 2026
+++ pkgsrc/devel/py-filebytes/patches/patch-setup.py Fri Jun 26 06:35:07 2026
@@ -0,0 +1,31 @@
+$NetBSD: patch-setup.py,v 1.1 2026/06/26 06:35:07 adam Exp $
+
+Fix build with Python 3.14.
+
+--- setup.py.orig 2026-06-26 06:30:14.167210318 +0000
++++ setup.py
+@@ -1,22 +1,4 @@
+ from setuptools import setup
+-import ast
+-import os
+-currentDir = os.path.dirname(os.path.abspath(__file__))
+-#currentDir = Path(__file__).parent
++from filebytes.__init__ import VERSION
+
+-def extractMetaInfo(src):
+- info = {}
+- a=ast.parse(src)
+- for e in a.body:
+- if isinstance(e, ast.Assign) and isinstance(e.value, ast.Str):
+- info[e.targets[0].id] = e.value.s
+- return info
+-
+-text = ''
+-with open(currentDir +os.path.sep+"filebytes"+ os.path.sep+"__init__.py") as f:
+- text = f.read()
+-
+-version = extractMetaInfo(text)["VERSION"]
+-
+-
+-setup(version=version)
++setup(version=VERSION)
Home |
Main Index |
Thread Index |
Old Index