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:   adam
Date:           Tue Apr  3 11:13:29 UTC 2018

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/py-backcall: DESCR Makefile PLIST distinfo

Log Message:
py-backcall: added version 0.1.0

Specifications for callback functions passed in to an API

If your code lets other people supply callback functions, it's important to
specify the function signature you expect, and check that functions support
that. Adding extra parameters later would break other peoples code unless
you're careful.

backcall provides a way of specifying the callback signature using a prototype
function.


To generate a diff of this commit:
cvs rdiff -u -r1.2651 -r1.2652 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-backcall/DESCR \
    pkgsrc/devel/py-backcall/Makefile pkgsrc/devel/py-backcall/PLIST \
    pkgsrc/devel/py-backcall/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.2651 pkgsrc/devel/Makefile:1.2652
--- pkgsrc/devel/Makefile:1.2651        Sat Mar 24 06:50:49 2018
+++ pkgsrc/devel/Makefile       Tue Apr  3 11:13:29 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2651 2018/03/24 06:50:49 adam Exp $
+# $NetBSD: Makefile,v 1.2652 2018/04/03 11:13:29 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -1868,6 +1868,7 @@ SUBDIR+=  py-attrs
 SUBDIR+=       py-automat
 SUBDIR+=       py-autopep8
 SUBDIR+=       py-babel
+SUBDIR+=       py-backcall
 SUBDIR+=       py-backports
 SUBDIR+=       py-backports.functools_lru_cache
 SUBDIR+=       py-backports.shutil_get_terminal_size

Added files:

Index: pkgsrc/devel/py-backcall/DESCR
diff -u /dev/null pkgsrc/devel/py-backcall/DESCR:1.1
--- /dev/null   Tue Apr  3 11:13:29 2018
+++ pkgsrc/devel/py-backcall/DESCR      Tue Apr  3 11:13:29 2018
@@ -0,0 +1,9 @@
+Specifications for callback functions passed in to an API
+
+If your code lets other people supply callback functions, it's important to
+specify the function signature you expect, and check that functions support
+that. Adding extra parameters later would break other peoples code unless
+you're careful.
+
+backcall provides a way of specifying the callback signature using a prototype
+function.
Index: pkgsrc/devel/py-backcall/Makefile
diff -u /dev/null pkgsrc/devel/py-backcall/Makefile:1.1
--- /dev/null   Tue Apr  3 11:13:29 2018
+++ pkgsrc/devel/py-backcall/Makefile   Tue Apr  3 11:13:29 2018
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2018/04/03 11:13:29 adam Exp $
+
+DISTNAME=      backcall-0.1.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=b/backcall/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/takluyver/backcall
+COMMENT=       Specifications for callback functions passed in to an API
+LICENSE=       modified-bsd
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+do-test:
+       cd ${WRKSRC}/tests && pytest-${PYVERSSUFFIX}
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-backcall/PLIST
diff -u /dev/null pkgsrc/devel/py-backcall/PLIST:1.1
--- /dev/null   Tue Apr  3 11:13:29 2018
+++ pkgsrc/devel/py-backcall/PLIST      Tue Apr  3 11:13:29 2018
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2018/04/03 11:13:29 adam Exp $
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/backcall/__init__.py
+${PYSITELIB}/backcall/__init__.pyc
+${PYSITELIB}/backcall/__init__.pyo
+${PYSITELIB}/backcall/_signatures.py
+${PYSITELIB}/backcall/_signatures.pyc
+${PYSITELIB}/backcall/_signatures.pyo
+${PYSITELIB}/backcall/backcall.py
+${PYSITELIB}/backcall/backcall.pyc
+${PYSITELIB}/backcall/backcall.pyo
Index: pkgsrc/devel/py-backcall/distinfo
diff -u /dev/null pkgsrc/devel/py-backcall/distinfo:1.1
--- /dev/null   Tue Apr  3 11:13:29 2018
+++ pkgsrc/devel/py-backcall/distinfo   Tue Apr  3 11:13:29 2018
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/04/03 11:13:29 adam Exp $
+
+SHA1 (backcall-0.1.0.tar.gz) = e0ca4c1bde8f0a198505a090cd585a325789def1
+RMD160 (backcall-0.1.0.tar.gz) = 13c59b24f2ea2acd09b63c9196dcc6cb6cb04e01
+SHA512 (backcall-0.1.0.tar.gz) = 359c483fbc8998fc2420daee2a6af7566c47fb03f64e465aa226589a2f98a4b219ab5e5b90e5f677087827a1ac658c02ec3062e9ffe9ac1ebfd9db3bb40339cd
+Size (backcall-0.1.0.tar.gz) = 9690 bytes



Home | Main Index | Thread Index | Old Index