From c74e5d422dcdf671ef0ec564749a6b8e41fc9270 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Thu, 23 Jul 2020 22:34:12 +0200 Subject: [PATCH] py3c: update to 1.2. --- srcpkgs/py3c/patches/destdir.patch | 35 ------------------------------ srcpkgs/py3c/template | 4 ++-- 2 files changed, 2 insertions(+), 37 deletions(-) delete mode 100644 srcpkgs/py3c/patches/destdir.patch diff --git a/srcpkgs/py3c/patches/destdir.patch b/srcpkgs/py3c/patches/destdir.patch deleted file mode 100644 index 0c4cb2f0cce..00000000000 --- a/srcpkgs/py3c/patches/destdir.patch +++ /dev/null @@ -1,35 +0,0 @@ -From eef6c4abaeaba4ee2cb84b2c639ce04de8a20b71 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Courr=C3=A8ges-Anglas?= - <45601387+jcourreges@users.noreply.github.com> -Date: Thu, 4 Jun 2020 11:57:07 +0200 -Subject: [PATCH] Add DESTDIR for staged installations - -For reference: https://www.gnu.org/prep/standards/html_node/DESTDIR.html - -https://github.com/encukou/py3c/pull/29 ---- - Makefile | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git Makefile Makefile -index 761304d..4b04f7c 100644 ---- Makefile -+++ Makefile -@@ -42,12 +42,12 @@ py3c.pc: py3c.pc.in $(includedir) - sed -e's:@includedir@:$(realpath $(includedir)):' $< > $@ - - install: py3c.pc -- mkdir -p -m 0755 $(includedir)/py3c -- install -m 0644 include/py3c.h $(includedir)/py3c.h -- install -m 0644 $(wildcard include/py3c/*.h) $(includedir)/py3c/ -+ mkdir -p -m 0755 $(DESTDIR)$(includedir)/py3c -+ install -m 0644 include/py3c.h $(DESTDIR)$(includedir)/py3c.h -+ install -m 0644 $(wildcard include/py3c/*.h) $(DESTDIR)$(includedir)/py3c/ - -- mkdir -p -m 0755 $(pkgconfigdir) -- install -m 0644 py3c.pc $(pkgconfigdir)/ -+ mkdir -p -m 0755 $(DESTDIR)$(pkgconfigdir) -+ install -m 0644 py3c.pc $(DESTDIR)$(pkgconfigdir)/ - - clean: - rm py3c.pc ||: diff --git a/srcpkgs/py3c/template b/srcpkgs/py3c/template index 6f60edc2bc4..2150f69deb5 100644 --- a/srcpkgs/py3c/template +++ b/srcpkgs/py3c/template @@ -1,6 +1,6 @@ # Template file for 'py3c' pkgname=py3c -version=1.1 +version=1.2 revision=1 build_style=gnu-makefile make_install_args="prefix=/usr" @@ -10,7 +10,7 @@ license="MIT" homepage="https://py3c.readthedocs.io" changelog="https://raw.githubusercontent.com/encukou/py3c/master/doc/source/changelog.rst" distfiles="https://github.com/encukou/py3c/archive/v${version}.tar.gz" -checksum=c7ffc22bc92dded0ca859db53ef3a0b466f89a9f8aad29359c9fe4ff18ebdd20 +checksum=0e28ea43f5f092967a344294194f55a81fb55adc3c17a0314545d606eb5f6267 post_install() { vlicense LICENSE.MIT