Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: php-codesniffer-3.5.8
@ 2021-03-03 19:36 reback00
  2021-03-11 21:17 ` [PR PATCH] [Updated] " reback00
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: reback00 @ 2021-03-03 19:36 UTC (permalink / raw)
  To: ml

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

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

https://github.com/reback00/void-packages phpcs-branch
https://github.com/void-linux/void-packages/pull/29212

New package: php-codesniffer-3.5.8
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-phpcs-branch-29212.patch --]
[-- Type: text/x-diff, Size: 1485 bytes --]

From f8d998020c80c365814cdd91207a9fa585799dda Mon Sep 17 00:00:00 2001
From: reback00 <reback00@protonmail.com>
Date: Thu, 4 Mar 2021 01:30:28 +0600
Subject: [PATCH] New package: php-codesniffer-3.5.8

---
 srcpkgs/php-codesniffer/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/php-codesniffer/template

diff --git a/srcpkgs/php-codesniffer/template b/srcpkgs/php-codesniffer/template
new file mode 100644
index 00000000000..c0bdbae8e3e
--- /dev/null
+++ b/srcpkgs/php-codesniffer/template
@@ -0,0 +1,24 @@
+# Template file for 'php-codesniffer'
+pkgname=php-codesniffer
+_pkgname=PHP_CodeSniffer
+version=3.5.8
+revision=1
+build_style=fetch
+depends="php"
+short_desc="Tokenizes PHP files and detects violations of coding standards"
+maintainer="reback00 <reback00@protonmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/squizlabs/PHP_CodeSniffer"
+distfiles="https://github.com/squizlabs/${_pkgname}/releases/download/${version}/phpcs.phar
+ https://github.com/squizlabs/${_pkgname}/releases/download/${version}/phpcbf.phar
+ https://raw.githubusercontent.com/squizlabs/${_pkgname}/${version}/licence.txt"
+checksum="6a2ae49e677d471dbeb8a8bcf67f714611250024c15d538a543db5b7ae6df50c
+ 6079de7bb0fcafe020d5a5dc44dfe88a8ff57b253a4dfd2bfde90ebe3d189195
+ 821c1697ab88bb71a5d1637743024e455d87074b8a5d0732f85205bd40cba6c9"
+
+do_install() {
+	vbin phpcs.phar phpcs
+	vbin phpcbf.phar phpcbf
+
+	vlicense licence.txt
+}

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Updated] New package: php-codesniffer-3.5.8
  2021-03-03 19:36 [PR PATCH] New package: php-codesniffer-3.5.8 reback00
@ 2021-03-11 21:17 ` reback00
  2021-03-11 21:20 ` reback00
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: reback00 @ 2021-03-11 21:17 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by reback00 against master on the void-packages repository

https://github.com/reback00/void-packages phpcs-branch
https://github.com/void-linux/void-packages/pull/29212

New package: php-codesniffer-3.5.8
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-phpcs-branch-29212.patch --]
[-- Type: text/x-diff, Size: 1796 bytes --]

From 12b7e04fc75163015cea709e0f4e0a93c2ed65b4 Mon Sep 17 00:00:00 2001
From: reback00 <reback00@protonmail.com>
Date: Thu, 4 Mar 2021 01:30:28 +0600
Subject: [PATCH] New package: php-codesniffer-3.5.8

---
 srcpkgs/php-codesniffer/template | 39 ++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 srcpkgs/php-codesniffer/template

diff --git a/srcpkgs/php-codesniffer/template b/srcpkgs/php-codesniffer/template
new file mode 100644
index 00000000000..bb4261042a0
--- /dev/null
+++ b/srcpkgs/php-codesniffer/template
@@ -0,0 +1,39 @@
+# Template file for 'php-codesniffer'
+pkgname=php-codesniffer
+_pkgname=PHP_CodeSniffer
+version=3.5.8
+revision=1
+wrksrc="${_pkgname}-${version}"
+build_style=fetch
+hostmakedepends="tar php"
+depends="php"
+short_desc="Tokenizes PHP files and detects violations of coding standards"
+maintainer="reback00 <reback00@protonmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/squizlabs/PHP_CodeSniffer"
+distfiles="https://github.com/squizlabs/${_pkgname}/archive/${version}.tar.gz"
+checksum="012918447718067242aabd7669d54aceb91e78bdd928366744d629b6ae5fbe44"
+
+do_extract() {
+	tar -xf "$XBPS_SRCDISTDIR/$pkgname-$version/$version.tar.gz" -C "$XBPS_BUILDDIR"
+}
+
+do_configure() {
+	# Disable phar.readonly on PHP config. It allows to create .phar files.
+	# It is enabled by default as a security feature. There is no other way to
+	# disable it other than setting it on system .ini file. Details:
+	# https://stackoverflow.com/a/35120728
+	mkdir -p /etc/php/conf.d/
+	echo -e "[Phar]\nphar.readonly = Off" > /etc/php/conf.d/phar_build.ini
+}
+
+do_build() {
+	php -d extension=phar.so scripts/build-phar.php
+}
+
+do_install() {
+	vbin phpcs.phar phpcs
+	vbin phpcbf.phar phpcbf
+
+	vlicense licence.txt
+}

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: New package: php-codesniffer-3.5.8
  2021-03-03 19:36 [PR PATCH] New package: php-codesniffer-3.5.8 reback00
  2021-03-11 21:17 ` [PR PATCH] [Updated] " reback00
@ 2021-03-11 21:20 ` reback00
  2022-05-06  2:08 ` github-actions
  2022-05-20  2:11 ` [PR PATCH] [Closed]: " github-actions
  3 siblings, 0 replies; 5+ messages in thread
From: reback00 @ 2021-03-11 21:20 UTC (permalink / raw)
  To: ml

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

New comment by reback00 on void-packages repository

https://github.com/void-linux/void-packages/pull/29212#issuecomment-797056652

Comment:
@ericonr 
> Shouldn't we build this from source?

Agree. I couldn't find resources earlier, so skipped build from source. I found some clues and updated the template to do so now.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: New package: php-codesniffer-3.5.8
  2021-03-03 19:36 [PR PATCH] New package: php-codesniffer-3.5.8 reback00
  2021-03-11 21:17 ` [PR PATCH] [Updated] " reback00
  2021-03-11 21:20 ` reback00
@ 2022-05-06  2:08 ` github-actions
  2022-05-20  2:11 ` [PR PATCH] [Closed]: " github-actions
  3 siblings, 0 replies; 5+ messages in thread
From: github-actions @ 2022-05-06  2:08 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/29212#issuecomment-1119197806

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Closed]: New package: php-codesniffer-3.5.8
  2021-03-03 19:36 [PR PATCH] New package: php-codesniffer-3.5.8 reback00
                   ` (2 preceding siblings ...)
  2022-05-06  2:08 ` github-actions
@ 2022-05-20  2:11 ` github-actions
  3 siblings, 0 replies; 5+ messages in thread
From: github-actions @ 2022-05-20  2:11 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

New package: php-codesniffer-3.5.8
https://github.com/void-linux/void-packages/pull/29212

Description:
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-05-20  2:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-03 19:36 [PR PATCH] New package: php-codesniffer-3.5.8 reback00
2021-03-11 21:17 ` [PR PATCH] [Updated] " reback00
2021-03-11 21:20 ` reback00
2022-05-06  2:08 ` github-actions
2022-05-20  2:11 ` [PR PATCH] [Closed]: " github-actions

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).