pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   otis
Date:           Sat Nov 21 13:49:50 UTC 2020

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/php-psr: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
php-psr: Add php-psr 1.0.1

This extension provides the accepted PSR interfaces, so they can be used in an
extension.

See http://www.php-fig.org/psr/


To generate a diff of this commit:
cvs rdiff -u -r1.3277 -r1.3278 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/php-psr/DESCR \
    pkgsrc/devel/php-psr/Makefile pkgsrc/devel/php-psr/PLIST \
    pkgsrc/devel/php-psr/buildlink3.mk pkgsrc/devel/php-psr/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3277 pkgsrc/devel/Makefile:1.3278
--- pkgsrc/devel/Makefile:1.3277        Tue Nov 10 17:45:05 2020
+++ pkgsrc/devel/Makefile       Sat Nov 21 13:49:50 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3277 2020/11/10 17:45:05 nia Exp $
+# $NetBSD: Makefile,v 1.3278 2020/11/21 13:49:50 otis Exp $
 #
 
 COMMENT=       Development utilities
@@ -2089,6 +2089,7 @@ SUBDIR+=  php-mode
 SUBDIR+=       php-opcache
 SUBDIR+=       php-pcntl
 SUBDIR+=       php-posix
+SUBDIR+=       php-psr
 SUBDIR+=       php-pthreads
 SUBDIR+=       php-raphf
 SUBDIR+=       php-raphf2

Added files:

Index: pkgsrc/devel/php-psr/DESCR
diff -u /dev/null pkgsrc/devel/php-psr/DESCR:1.1
--- /dev/null   Sat Nov 21 13:49:50 2020
+++ pkgsrc/devel/php-psr/DESCR  Sat Nov 21 13:49:50 2020
@@ -0,0 +1,2 @@
+This extension provides the accepted PSR interfaces, so they can be used in an
+extension.
Index: pkgsrc/devel/php-psr/Makefile
diff -u /dev/null pkgsrc/devel/php-psr/Makefile:1.1
--- /dev/null   Sat Nov 21 13:49:50 2020
+++ pkgsrc/devel/php-psr/Makefile       Sat Nov 21 13:49:50 2020
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2020/11/21 13:49:50 otis Exp $
+
+MODNAME=       psr
+PECL_VERSION=  1.0.1
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://pecl.php.net/package/psr
+COMMENT=       Provide the accepted PSR interfaces for other extensions
+LICENSE=       2-clause-bsd
+
+PHP_VERSIONS_ACCEPTED= 72 73 74
+
+USE_LANGUAGES= c c++
+
+INSTALLATION_DIRS+=    include/php/ext/psr
+PLIST_SRC+=            PLIST
+
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/php_psr.h \
+               ${DESTDIR}${PREFIX}/include/php/ext/psr
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/php-psr/PLIST
diff -u /dev/null pkgsrc/devel/php-psr/PLIST:1.1
--- /dev/null   Sat Nov 21 13:49:50 2020
+++ pkgsrc/devel/php-psr/PLIST  Sat Nov 21 13:49:50 2020
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/11/21 13:49:50 otis Exp $
+include/php/ext/psr/php_psr.h
+share/examples/php/psr.ini
Index: pkgsrc/devel/php-psr/buildlink3.mk
diff -u /dev/null pkgsrc/devel/php-psr/buildlink3.mk:1.1
--- /dev/null   Sat Nov 21 13:49:50 2020
+++ pkgsrc/devel/php-psr/buildlink3.mk  Sat Nov 21 13:49:50 2020
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/11/21 13:49:50 otis Exp $
+
+BUILDLINK_TREE+=       php-psr
+
+.if !defined(PHP_PSR_BUILDLINK3_MK)
+PHP_PSR_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.php-psr+=                ${PHP_PKG_PREFIX}-psr>=1.0.0
+BUILDLINK_PKGSRCDIR.php-psr?=          ../../devel/php-psr
+.endif # PHP_PSR_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -php-psr
Index: pkgsrc/devel/php-psr/distinfo
diff -u /dev/null pkgsrc/devel/php-psr/distinfo:1.1
--- /dev/null   Sat Nov 21 13:49:50 2020
+++ pkgsrc/devel/php-psr/distinfo       Sat Nov 21 13:49:50 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/11/21 13:49:50 otis Exp $
+
+SHA1 (php-psr/psr-1.0.1.tgz) = ea518ae092cc08fed40ae7cd5c07cc15b1c66626
+RMD160 (php-psr/psr-1.0.1.tgz) = 6221af2051d5117c8891120c2faf7ac96a85c017
+SHA512 (php-psr/psr-1.0.1.tgz) = 27ea717f4a8b9d69998ad28dccf7adfcbda0092b88b3087cf282a450e9324c67aa36678956e8b9bfa56360c03a5341a47f849a030e6f698015d4fc5d1fb59519
+Size (php-psr/psr-1.0.1.tgz) = 27742 bytes



Home | Main Index | Thread Index | Old Index