Created attachment 172432 [details] py-tblib.shar Pickle tracebacks and raise exceptions with pickled tracebacks in different processes. This allows better error handling when running code over multiple processes (imagine multiprocessing, billiard, futures, celery etc). Parse traceback strings and raise with the parsed tracebacks. This port will be used as a dependency for security/w3af. - portlint compliant - poudriere tests ok FreeBSD 9.3|10.3|11 - i386|amd64 Poudriere output as example: build started at Tue Jul 12 18:19:40 BRT 2016 port directory: /usr/ports/devel/py-tblib building for: FreeBSD 93i386-ports_dbaio 9.3-RELEASE-p42 FreeBSD 9.3-RELEASE-p42 i386 maintained by: dbaio@bsd.com.br ident warning: no id keywords in /usr/local/poudriere/data/.m/93i386-ports_dbaio/ref//usr/ports/devel/py-tblib/Makefile Makefile ident: Poudriere version: 3.2-pre Host OSVERSION: 1100120 Jail OSVERSION: 903000 [...] ====> Running Q/A tests (stage-qa) ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) ====>> Checking for staging violations... done =======================<phase: package >============================ ===> Building package for py27-tblib-1.3.0 =========================================================================== =======================<phase: install-mtree >============================ =========================================================================== ====>> Recording filesystem state for preinst... done =======================<phase: install >============================ ===> Installing for py27-tblib-1.3.0 ===> py27-tblib-1.3.0 depends on package: py27-setuptools27>0 - found ===> py27-tblib-1.3.0 depends on file: /usr/local/bin/python2.7 - found ===> Checking if py27-tblib already installed ===> Registering installation for py27-tblib-1.3.0 [93i386-ports_dbaio] Installing py27-tblib-1.3.0... =========================================================================== ====>> Checking shared library dependencies =======================<phase: deinstall >============================ ===> Deinstalling for py27-tblib ===> Deinstalling py27-tblib-1.3.0 Updating database digests format: ........ done Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: py27-tblib-1.3.0 Number of packages to be removed: 1 [93i386-ports_dbaio] [1/1] Deinstalling py27-tblib-1.3.0... [93i386-ports_dbaio] [1/1] Deleting files for py27-tblib-1.3.0: .......... done =========================================================================== ====>> Checking for extra files and directories [00:00:49] ====>> Installing from package [93i386-ports_dbaio] Installing py27-tblib-1.3.0... [93i386-ports_dbaio] Extracting py27-tblib-1.3.0: .......... done [00:00:49] ====>> Cleaning up ===> Cleaning for py27-tblib-1.3.0 [00:00:49] ====>> Deinstalling package Updating database digests format: . done Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: py27-tblib-1.3.0 Number of packages to be removed: 1 [93i386-ports_dbaio] [1/1] Deinstalling py27-tblib-1.3.0... [93i386-ports_dbaio] [1/1] Deleting files for py27-tblib-1.3.0: .......... done build of devel/py-tblib ended at Tue Jul 12 18:20:22 BRT 2016 build time: 00:00:42
Testbuilds, portlint are fine, committed, thanks!
A commit references this bug: Author: pi Date: Wed Jul 13 16:39:50 UTC 2016 New revision: 418491 URL: https://svnweb.freebsd.org/changeset/ports/418491 Log: New port: devel/py-tblib Pickle tracebacks and raise exceptions with pickled tracebacks in different processes. This allows better error handling when running code over multiple processes (imagine multiprocessing, billiard, futures, celery etc). Parse traceback strings and raise with the parsed tracebacks. WWW: https://pypi.python.org/pypi/tblib PR: 211051 Submitted by: Danilo G. Baio <dbaio@bsd.com.br> Changes: head/devel/Makefile head/devel/py-tblib/ head/devel/py-tblib/Makefile head/devel/py-tblib/distinfo head/devel/py-tblib/pkg-descr