[arch-commits] Commit in composer/repos/extra-any (PKGBUILD PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Fri Jul 17 11:22:22 UTC 2020


    Date: Friday, July 17, 2020 @ 11:22:22
  Author: pierre
Revision: 392024

archrelease: copy trunk to extra-any

Added:
  composer/repos/extra-any/PKGBUILD
    (from rev 392023, composer/trunk/PKGBUILD)
Deleted:
  composer/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |  116 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-17 11:22:11 UTC (rev 392023)
+++ PKGBUILD	2020-07-17 11:22:22 UTC (rev 392024)
@@ -1,58 +0,0 @@
-# Maintainer: Pierre Schmitz <pierre at archlinux.de>
-
-pkgname=composer
-pkgver=1.10.8
-pkgrel=1
-pkgdesc="Dependency Manager for PHP"
-arch=('any')
-license=('MIT')
-url='https://getcomposer.org/'
-depends=('php')
-makedepends=('git' 'unzip')
-checkdepends=('mercurial')
-replaces=('php-composer')
-conflicts=('php-composer')
-provides=('php-composer')
-source=("${pkgname}::git+https://github.com/composer/composer.git#tag=${pkgver}"
-        "${pkgname}-${pkgver}.phar::https://getcomposer.org/download/${pkgver}/composer.phar")
-sha512sums=('SKIP'
-            '3e2a1f6f93042b375ef41b42c7448a93a61891bfa16921f491e6e75557f48c589ad177b17e45659b75d91b0eb62c77927d9a13dc4e2799bf1e02afe800d40749')
-
-prepare() {
-	cd "${srcdir}/${pkgname}"
-
-	php "${srcdir}/${pkgname}-${pkgver}.phar" -n install --no-dev --prefer-dist
-}
-
-build() {
-	cd "${srcdir}/${pkgname}"
-
-	php -d phar.readonly=Off bin/compile
-}
-
-check() {
-	cd "${srcdir}/${pkgname}"
-
-	# check if the upstream build and ours differ
-	diff -q ${srcdir}/${pkgname}-${pkgver}.phar composer.phar
-
-	bin/composer validate
-
-	git config --global user.email "${USER}@${HOST}"
-	git config --global user.name "${USER}"
-
-	# Install the dev dependencies to run the unit tests
-	bin/composer -n install --prefer-dist
-
-	# Fix test dependencies for Composer 1.10.7
-	bin/composer require --dev 'symfony/phpunit-bridge:^4.2'
-
-	SYMFONY_PHPUNIT_VERSION=7.5 vendor/bin/simple-phpunit
-}
-
-package() {
-	cd "${srcdir}/${pkgname}"
-
-	install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-	install -Dm755 composer.phar "${pkgdir}/usr/bin/composer"
-}

Copied: composer/repos/extra-any/PKGBUILD (from rev 392023, composer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-17 11:22:22 UTC (rev 392024)
@@ -0,0 +1,58 @@
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=composer
+pkgver=1.10.9
+pkgrel=1
+pkgdesc="Dependency Manager for PHP"
+arch=('any')
+license=('MIT')
+url='https://getcomposer.org/'
+depends=('php')
+makedepends=('git' 'unzip')
+checkdepends=('mercurial')
+replaces=('php-composer')
+conflicts=('php-composer')
+provides=('php-composer')
+source=("${pkgname}::git+https://github.com/composer/composer.git#tag=${pkgver}"
+        "${pkgname}-${pkgver}.phar::https://getcomposer.org/download/${pkgver}/composer.phar")
+sha512sums=('SKIP'
+            '9ab7911d62cc64b7823673766a24aaf763784f3af8763a59a25353f9b90a0f6df1e65081faae871b9cddeade3f8d1a1cb048e4c43445f9f540d8f0d6b92565b6')
+
+prepare() {
+	cd "${srcdir}/${pkgname}"
+
+	php "${srcdir}/${pkgname}-${pkgver}.phar" -n install --no-dev --prefer-dist
+}
+
+build() {
+	cd "${srcdir}/${pkgname}"
+
+	php -d phar.readonly=Off bin/compile
+}
+
+check() {
+	cd "${srcdir}/${pkgname}"
+
+	# check if the upstream build and ours differ
+	diff -q ${srcdir}/${pkgname}-${pkgver}.phar composer.phar
+
+	bin/composer validate
+
+	git config --global user.email "${USER}@${HOST}"
+	git config --global user.name "${USER}"
+
+	# Install the dev dependencies to run the unit tests
+	bin/composer -n install --prefer-dist
+
+	# Fix test dependencies for Composer 1.10.7
+	bin/composer require --dev 'symfony/phpunit-bridge:^4.2'
+
+	SYMFONY_PHPUNIT_VERSION=7.5 vendor/bin/simple-phpunit
+}
+
+package() {
+	cd "${srcdir}/${pkgname}"
+
+	install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+	install -Dm755 composer.phar "${pkgdir}/usr/bin/composer"
+}



More information about the arch-commits mailing list