summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2022-11-09 22:26:26 +0000
committerkhorben <khorben@pkgsrc.org>2022-11-09 22:26:26 +0000
commit396db5799a9c7fe909f7f07b0bf52c9e5667c598 (patch)
tree8b78197e10c7ef5d2242b2651fe5c368212c6217 /sysutils
parent470d22c42d7ac41ea5913fcdfbe94ebf8b290294 (diff)
downloadpkgsrc-396db5799a9c7fe909f7f07b0bf52c9e5667c598.tar.gz
py-reprotest: import version 0.7.22
reprotest builds the same source code twice in different environments, and then checks the binaries produced by each build for differences. If any are found, then diffoscope(1) (or if unavailable then diff(1)) is used to display them in detail for later analysis.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/py-reprotest/ALTERNATIVES1
-rw-r--r--sysutils/py-reprotest/DESCR4
-rw-r--r--sysutils/py-reprotest/Makefile31
-rw-r--r--sysutils/py-reprotest/PLIST67
-rw-r--r--sysutils/py-reprotest/distinfo5
5 files changed, 108 insertions, 0 deletions
diff --git a/sysutils/py-reprotest/ALTERNATIVES b/sysutils/py-reprotest/ALTERNATIVES
new file mode 100644
index 00000000000..81ff534347d
--- /dev/null
+++ b/sysutils/py-reprotest/ALTERNATIVES
@@ -0,0 +1 @@
+bin/reprotest @PREFIX@/bin/reprotest-@PYVERSSUFFIX@
diff --git a/sysutils/py-reprotest/DESCR b/sysutils/py-reprotest/DESCR
new file mode 100644
index 00000000000..0188bb664d7
--- /dev/null
+++ b/sysutils/py-reprotest/DESCR
@@ -0,0 +1,4 @@
+reprotest builds the same source code twice in different environments, and then
+checks the binaries produced by each build for differences. If any are found,
+then diffoscope(1) (or if unavailable then diff(1)) is used to display them in
+detail for later analysis.
diff --git a/sysutils/py-reprotest/Makefile b/sysutils/py-reprotest/Makefile
new file mode 100644
index 00000000000..a48448bcfcd
--- /dev/null
+++ b/sysutils/py-reprotest/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2022/11/09 22:26:26 khorben Exp $
+
+DISTNAME= reprotest-0.7.22
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= sysutils python
+MASTER_SITES= ${MASTER_SITE_PYPI:=r/reprotest/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://salsa.debian.org/reproducible-builds/reprotest
+COMMENT= Build packages and check them for reproducibility
+LICENSE= gnu-gpl-v3
+
+DEPENDS+= ${PYPKGPREFIX}-diffoscope>=226:../../sysutils/py-diffoscope
+DEPENDS+= ${PYPKGPREFIX}-distro>=0:../../devel/py-distro
+DEPENDS+= ${PYPKGPREFIX}-rstr>=0:../../devel/py-rstr
+
+REPLACE_PYTHON+= reprotest/virt/autopkgtest-virt-chroot \
+ reprotest/virt/autopkgtest-virt-lxc \
+ reprotest/virt/autopkgtest-virt-lxd \
+ reprotest/virt/autopkgtest-virt-null \
+ reprotest/virt/autopkgtest-virt-qemu \
+ reprotest/virt/autopkgtest-virt-schroot \
+ reprotest/virt/autopkgtest-virt-ssh
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} reprotest reprotest-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/py-reprotest/PLIST b/sysutils/py-reprotest/PLIST
new file mode 100644
index 00000000000..5fc5d6bb7d4
--- /dev/null
+++ b/sysutils/py-reprotest/PLIST
@@ -0,0 +1,67 @@
+@comment $NetBSD: PLIST,v 1.1 2022/11/09 22:26:26 khorben Exp $
+bin/reprotest-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/reprotest/__init__.py
+${PYSITELIB}/reprotest/__init__.pyc
+${PYSITELIB}/reprotest/__init__.pyo
+${PYSITELIB}/reprotest/__main__.py
+${PYSITELIB}/reprotest/__main__.pyc
+${PYSITELIB}/reprotest/__main__.pyo
+${PYSITELIB}/reprotest/build.py
+${PYSITELIB}/reprotest/build.pyc
+${PYSITELIB}/reprotest/build.pyo
+${PYSITELIB}/reprotest/environ.py
+${PYSITELIB}/reprotest/environ.pyc
+${PYSITELIB}/reprotest/environ.pyo
+${PYSITELIB}/reprotest/lib/VirtSubproc.py
+${PYSITELIB}/reprotest/lib/VirtSubproc.pyc
+${PYSITELIB}/reprotest/lib/VirtSubproc.pyo
+${PYSITELIB}/reprotest/lib/__init__.py
+${PYSITELIB}/reprotest/lib/__init__.pyc
+${PYSITELIB}/reprotest/lib/__init__.pyo
+${PYSITELIB}/reprotest/lib/adt_testbed.py
+${PYSITELIB}/reprotest/lib/adt_testbed.pyc
+${PYSITELIB}/reprotest/lib/adt_testbed.pyo
+${PYSITELIB}/reprotest/lib/adtlog.py
+${PYSITELIB}/reprotest/lib/adtlog.pyc
+${PYSITELIB}/reprotest/lib/adtlog.pyo
+${PYSITELIB}/reprotest/lib/system_interface/__init__.py
+${PYSITELIB}/reprotest/lib/system_interface/__init__.pyc
+${PYSITELIB}/reprotest/lib/system_interface/__init__.pyo
+${PYSITELIB}/reprotest/lib/system_interface/arch.py
+${PYSITELIB}/reprotest/lib/system_interface/arch.pyc
+${PYSITELIB}/reprotest/lib/system_interface/arch.pyo
+${PYSITELIB}/reprotest/lib/system_interface/debian.py
+${PYSITELIB}/reprotest/lib/system_interface/debian.pyc
+${PYSITELIB}/reprotest/lib/system_interface/debian.pyo
+${PYSITELIB}/reprotest/lib/system_interface/fedora.py
+${PYSITELIB}/reprotest/lib/system_interface/fedora.pyc
+${PYSITELIB}/reprotest/lib/system_interface/fedora.pyo
+${PYSITELIB}/reprotest/lib/system_interface/guix.py
+${PYSITELIB}/reprotest/lib/system_interface/guix.pyc
+${PYSITELIB}/reprotest/lib/system_interface/guix.pyo
+${PYSITELIB}/reprotest/mdiffconf.py
+${PYSITELIB}/reprotest/mdiffconf.pyc
+${PYSITELIB}/reprotest/mdiffconf.pyo
+${PYSITELIB}/reprotest/presets.py
+${PYSITELIB}/reprotest/presets.pyc
+${PYSITELIB}/reprotest/presets.pyo
+${PYSITELIB}/reprotest/shell_syn.py
+${PYSITELIB}/reprotest/shell_syn.pyc
+${PYSITELIB}/reprotest/shell_syn.pyo
+${PYSITELIB}/reprotest/utils.py
+${PYSITELIB}/reprotest/utils.pyc
+${PYSITELIB}/reprotest/utils.pyo
+${PYSITELIB}/reprotest/virt/autopkgtest-virt-chroot
+${PYSITELIB}/reprotest/virt/autopkgtest-virt-lxc
+${PYSITELIB}/reprotest/virt/autopkgtest-virt-lxd
+${PYSITELIB}/reprotest/virt/autopkgtest-virt-null
+${PYSITELIB}/reprotest/virt/autopkgtest-virt-qemu
+${PYSITELIB}/reprotest/virt/autopkgtest-virt-schroot
+${PYSITELIB}/reprotest/virt/autopkgtest-virt-ssh
diff --git a/sysutils/py-reprotest/distinfo b/sysutils/py-reprotest/distinfo
new file mode 100644
index 00000000000..725c2dc0260
--- /dev/null
+++ b/sysutils/py-reprotest/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/11/09 22:26:26 khorben Exp $
+
+BLAKE2s (reprotest-0.7.22.tar.gz) = 5e8c615259eefafe66dec110624fe967c03c576d2008aba6fad2939b4de07c8b
+SHA512 (reprotest-0.7.22.tar.gz) = 85ad59da4f42a84e3ee10f6f90f45da906b5f7c1b2f2f8e6ca91f88e123aec19e64ebc5d76e8e73e3c8d9c560f07a6a1b358dad4cafe918fdb3bc7670aa22abf
+Size (reprotest-0.7.22.tar.gz) = 85355 bytes