Github messages for voidlinux
 help / color / mirror / Atom feed
From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] python3-yapf: fix egg-info permission
Date: Wed, 03 May 2023 22:53:45 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43732@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 555 bytes --]

There is a new pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages python3-yapf
https://github.com/void-linux/void-packages/pull/43732

python3-yapf: fix egg-info permission
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

Fixes https://github.com/void-linux/void-packages/issues/43726

A patch file from https://github.com/void-linux/void-packages/pull/43732.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-yapf-43732.patch --]
[-- Type: text/x-diff, Size: 1054 bytes --]

From ffb80bf3fd958ef37d06f4eb37c9b37285615c9c Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Thu, 4 May 2023 02:21:39 +0530
Subject: [PATCH] python3-yapf: fix egg-info permission

---
 srcpkgs/python3-yapf/template | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/python3-yapf/template b/srcpkgs/python3-yapf/template
index 1e8bedc6528b..7dbea9f8cf77 100644
--- a/srcpkgs/python3-yapf/template
+++ b/srcpkgs/python3-yapf/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-yapf'
 pkgname=python3-yapf
 version=0.33.0
-revision=1
+revision=2
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-tomli"
@@ -12,3 +12,7 @@ homepage="https://github.com/google/yapf"
 changelog="https://raw.githubusercontent.com/google/yapf/main/CHANGELOG"
 distfiles="${PYPI_SITE}/y/yapf/yapf-${version}.tar.gz"
 checksum=da62bdfea3df3673553351e6246abed26d9fe6780e548a5af9e70f6d2b4f5b9a
+
+post_install() {
+	chmod -R a+r "${DESTDIR}/${py3_sitelib}/yapf-${version}-py${py3_ver}.egg-info/"
+}

             reply	other threads:[~2023-05-03 20:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-03 20:53 icp1994 [this message]
2023-05-03 21:00 ` [PR PATCH] [Merged]: " classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43732@inbox.vuxu.org \
    --to=icp1994@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).