Date: Mon, 14 Aug 2017 19:53:17 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 221311] [NEW PORT] databases/influxdb-python: InfluxDB Python client Message-ID: <bug-221311-21822-TbkWhVlvMr@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-221311-21822@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221311 Richard Gallamore <ultima@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ultima@freebsd.org --- Comment #9 from Richard Gallamore <ultima@freebsd.org> --- Added your patch for 1 koobs and it looks like make test works, there is a new error though, not sure what it means. Traceback (most recent call last): File "<string>", line 1, in <module> File "setup.py", line 56, in <module> 'Topic :: Software Development :: Libraries :: Python Modules', File "/usr/local/lib/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/local/lib/python2.7/site-packages/setuptools/command/test.py", line 211, in run self.run_tests() File "/usr/local/lib/python2.7/site-packages/setuptools/command/test.py", line 234, in run_tests **exit_kwarg File "/usr/local/lib/python2.7/unittest/main.py", line 94, in __init__ self.parseArgs(argv) File "/usr/local/lib/python2.7/unittest/main.py", line 149, in parseArgs self.createTests() File "/usr/local/lib/python2.7/unittest/main.py", line 158, in createTests self.module) File "/usr/local/lib/python2.7/unittest/loader.py", line 130, in loadTestsFromNames suites = [self.loadTestsFromName(name, module) for name in names] File "/usr/local/lib/python2.7/unittest/loader.py", line 103, in loadTestsFromName return self.loadTestsFromModule(obj) File "/usr/local/lib/python2.7/site-packages/setuptools/command/test.py", line 43, in loadTestsFromModule tests.append(self.loadTestsFromName(submodule)) File "/usr/local/lib/python2.7/unittest/loader.py", line 103, in loadTestsFromName return self.loadTestsFromModule(obj) File "/usr/local/lib/python2.7/site-packages/setuptools/command/test.py", line 43, in loadTestsFromModule tests.append(self.loadTestsFromName(submodule)) File "/usr/local/lib/python2.7/unittest/loader.py", line 100, in loadTestsFromName parent, obj = obj, getattr(obj, part) AttributeError: 'module' object has no attribute 'dataframe_client_test' *** Error code 1 Also, a few things that should be changed. * Add LICENSE_FILE, it is in the source * Shebangfix is not being used, remove it or use it. NO_ARCH should be after the USES and USE_*. I added the following to patch the tests... post-patch: ${REINPLACE_CMD} "s/test_suite.*/test_suite='${PORTNAME}.tests\',/" \ ${WRKSRC}/setup.py -- You are receiving this mail because: You are on the CC list for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221311-21822-TbkWhVlvMr>
