[arch-commits] Commit in deheader/repos/community-any (4 files)

Jonas Witschel diabonas at gemini.archlinux.org
Sun Jan 30 10:24:04 UTC 2022


    Date: Sunday, January 30, 2022 @ 10:24:04
  Author: diabonas
Revision: 1120207

archrelease: copy trunk to community-any

Added:
  deheader/repos/community-any/PKGBUILD
    (from rev 1120204, deheader/trunk/PKGBUILD)
  deheader/repos/community-any/deheader_use-system-python.patch
    (from rev 1120204, deheader/trunk/deheader_use-system-python.patch)
Deleted:
  deheader/repos/community-any/PKGBUILD
  deheader/repos/community-any/deheader_use-system-python.patch

----------------------------------+
 PKGBUILD                         |   58 ++++++++++++-------------
 deheader_use-system-python.patch |   84 ++++++++++++++++++-------------------
 2 files changed, 71 insertions(+), 71 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-30 10:24:03 UTC (rev 1120206)
+++ PKGBUILD	2022-01-30 10:24:04 UTC (rev 1120207)
@@ -1,29 +0,0 @@
-# Maintainer: Jonas Witschel <diabonas at archlinux.org>
-pkgname=deheader
-pkgver=1.7
-pkgrel=1
-pkgdesc='Find and optionally remove unneeded includes in C or C++ source files'
-arch=('any')
-url='http://www.catb.org/~esr/deheader/'
-license=('BSD')
-depends=('python')
-source=("$url/$pkgname-$pkgver.tar.gz" 'deheader_use-system-python.patch')
-sha512sums=('611c7c71a2a5c79ca79fd0de26b53fdd10a7e4b090330c35c3f7d56737b0b3c6736a6b98ca568320a36452a157af4642912e78d02c77bd43c2ef32541f4a09ed'
-            '1f4d63ec337ed2f4672124abae2637605f88e3580205b744d82d505ab0d3cfe67988eb2f5c698d2a41b908c99ce66fe7da8b965073465b80ccadc1a9b0d2a72b')
-
-prepare() {
-	cd "$pkgname-$pkgver"
-	patch --strip=1 --input="$srcdir/deheader_use-system-python.patch"
-}
-
-check() {
-	cd "$pkgname-$pkgver"
-	make check
-}
-
-package() {
-	cd "$pkgname-$pkgver"
-	install -Dm755 deheader -t "$pkgdir/usr/bin"
-	install -Dm644 deheader.1 -t "$pkgdir/usr/share/man/man1"
-	install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
-}

Copied: deheader/repos/community-any/PKGBUILD (from rev 1120204, deheader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-30 10:24:04 UTC (rev 1120207)
@@ -0,0 +1,29 @@
+# Maintainer: Jonas Witschel <diabonas at archlinux.org>
+pkgname=deheader
+pkgver=1.8
+pkgrel=1
+pkgdesc='Find and optionally remove unneeded includes in C or C++ source files'
+arch=('any')
+url='http://www.catb.org/~esr/deheader/'
+license=('BSD')
+depends=('python')
+source=("$url/$pkgname-$pkgver.tar.gz" 'deheader_use-system-python.patch')
+sha512sums=('b9dc32e37d1615f373b1e003aacc9479dc32bbead5bc537643cdd718b3a784aea3520399a3cabb02e53355b485ec23487b45e0a349f9004f57bb352a898989d5'
+            '39abe864f58994ba2c4bfe092ee15372a62ffc607ab06912d949b1187a11de5ade0eb121dd54a5cb9659ca4bf33bd8b3866b906d1c82f893a818e659b5f9b842')
+
+prepare() {
+	cd "$pkgname-$pkgver"
+	patch --strip=1 --input="$srcdir/deheader_use-system-python.patch"
+}
+
+check() {
+	cd "$pkgname-$pkgver"
+	make check
+}
+
+package() {
+	cd "$pkgname-$pkgver"
+	install -Dm755 deheader -t "$pkgdir/usr/bin"
+	install -Dm644 deheader.1 -t "$pkgdir/usr/share/man/man1"
+	install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
+}

Deleted: deheader_use-system-python.patch
===================================================================
--- deheader_use-system-python.patch	2022-01-30 10:24:03 UTC (rev 1120206)
+++ deheader_use-system-python.patch	2022-01-30 10:24:04 UTC (rev 1120207)
@@ -1,42 +0,0 @@
-From c14978acf7cc42d6fe9fa1c91adaf771610f43cf Mon Sep 17 00:00:00 2001
-From: Jonas Witschel <diabonas at gmx.de>
-Date: Tue, 15 Oct 2019 17:51:25 +0200
-Subject: [PATCH] Force use of the system Python 3 interpreter
-
-This avoids PATH manipulation attacks and is encouraged by PEP 394.
----
- deheader      | 2 +-
- test/Makefile | 5 -----
- 2 files changed, 1 insertion(+), 6 deletions(-)
-
-diff --git a/deheader b/deheader
-index 6e8ed47..ba10088 100755
---- a/deheader
-+++ b/deheader
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python3
- """\
- deheader -- find (optionally remove) unneeded includes in C or C++ sourcefiles.
- 
-diff --git a/test/Makefile b/test/Makefile
-index 0ac42f9..f6fc9ef 100644
---- a/test/Makefile
-+++ b/test/Makefile
-@@ -4,13 +4,8 @@ SOURCES = $(shell ls *.c)
- 
- regress:
- 	@echo "Testing deheader: no output is good news."
--	@./setpython python2
- 	@-../deheader -v -v . >/tmp/regress
- 	@diff -u regress.chk /tmp/regress
--	@./setpython python3
--	@-../deheader -v -v . >/tmp/regress
--	@diff -u regress.chk /tmp/regress
--	@./setpython python
- 	@rm /tmp/regress 
- makeregress:
- 	@-../deheader -v -v . >regress.chk
--- 
-2.28.0
-

Copied: deheader/repos/community-any/deheader_use-system-python.patch (from rev 1120204, deheader/trunk/deheader_use-system-python.patch)
===================================================================
--- deheader_use-system-python.patch	                        (rev 0)
+++ deheader_use-system-python.patch	2022-01-30 10:24:04 UTC (rev 1120207)
@@ -0,0 +1,42 @@
+From c14978acf7cc42d6fe9fa1c91adaf771610f43cf Mon Sep 17 00:00:00 2001
+From: Jonas Witschel <diabonas at gmx.de>
+Date: Tue, 15 Oct 2019 17:51:25 +0200
+Subject: [PATCH] Force use of the system Python 3 interpreter
+
+This avoids PATH manipulation attacks and is encouraged by PEP 394.
+---
+ deheader      | 2 +-
+ test/Makefile | 5 -----
+ 2 files changed, 1 insertion(+), 6 deletions(-)
+
+diff --git a/deheader b/deheader
+index 6e8ed47..ba10088 100755
+--- a/deheader
++++ b/deheader
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python3
++#!/usr/bin/python3
+ """\
+ deheader -- find (optionally remove) unneeded includes in C or C++ sourcefiles.
+ 
+diff --git a/test/Makefile b/test/Makefile
+index 0ac42f9..f6fc9ef 100644
+--- a/test/Makefile
++++ b/test/Makefile
+@@ -4,13 +4,8 @@ SOURCES = $(shell ls *.c)
+ 
+ regress:
+ 	@echo "Testing deheader: no output is good news."
+-	@./setpython python2
+ 	@-../deheader -v -v . >/tmp/regress
+ 	@diff -u regress.chk /tmp/regress
+-	@./setpython python3
+-	@-../deheader -v -v . >/tmp/regress
+-	@diff -u regress.chk /tmp/regress
+-	@./setpython python
+ 	@rm /tmp/regress 
+ makeregress:
+ 	@-../deheader -v -v . >regress.chk
+-- 
+2.28.0
+



More information about the arch-commits mailing list