Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Aug 2017 19:53:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 221311] [NEW PORT] databases/influxdb-python: InfluxDB Python client
Message-ID:  <bug-221311-13-ZtWkIbwzAr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-221311-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-221311-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221311

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):=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20
  File "<string>", line 1, in <module>=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20
  File "setup.py", line 56, in <module>=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20
    'Topic :: Software Development :: Libraries :: Python Modules',=20=20=
=20=20=20=20=20=20=20=20=20=20=20
  File "/usr/local/lib/python2.7/distutils/core.py", line 151, in setup=20=
=20=20=20=20=20=20=20=20
    dist.run_commands()=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
  File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in run_comma=
nds=20=20
    self.run_command(cmd)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
  File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_comma=
nd=20=20=20
    cmd_obj.run()=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
  File "/usr/local/lib/python2.7/site-packages/setuptools/command/test.py",
line 211, in run=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20
    self.run_tests()=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
  File "/usr/local/lib/python2.7/site-packages/setuptools/command/test.py",
line 234, in run_tests=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
    **exit_kwarg=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
  File "/usr/local/lib/python2.7/unittest/main.py", line 94, in __init__=20=
=20=20=20=20=20=20=20
    self.parseArgs(argv)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
  File "/usr/local/lib/python2.7/unittest/main.py", line 149, in parseArgs=
=20=20=20=20=20=20
    self.createTests()=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
  File "/usr/local/lib/python2.7/unittest/main.py", line 158, in createTest=
s=20=20=20=20
    self.module)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
  File "/usr/local/lib/python2.7/unittest/loader.py", line 130, in
loadTestsFromNames=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
    suites =3D [self.loadTestsFromName(name, module) for name in names]=20=
=20=20=20=20=20=20=20=20=20=20
  File "/usr/local/lib/python2.7/unittest/loader.py", line 103, in
loadTestsFromName=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
    return self.loadTestsFromModule(obj)=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20
  File "/usr/local/lib/python2.7/site-packages/setuptools/command/test.py",
line 43, in loadTestsFromModule=20=20=20=20=20=20=20=20=20=20=20=20
    tests.append(self.loadTestsFromName(submodule))=20=20=20=20=20=20=20=20
  File "/usr/local/lib/python2.7/unittest/loader.py", line 103, in
loadTestsFromName=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
    return self.loadTestsFromModule(obj)=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20
  File "/usr/local/lib/python2.7/site-packages/setuptools/command/test.py",
line 43, in loadTestsFromModule=20=20=20=20=20=20=20=20=20=20=20=20
    tests.append(self.loadTestsFromName(submodule))=20=20=20=20=20=20=20=20
  File "/usr/local/lib/python2.7/unittest/loader.py", line 100, in
loadTestsFromName=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
    parent, obj =3D obj, getattr(obj, part)=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20
AttributeError: 'module' object has no attribute 'dataframe_client_test'=20=
=20=20=20=20=20=20=20
*** 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=3D'${PORTNAME}.tests\=
',/" \
                      ${WRKSRC}/setup.py

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221311-13-ZtWkIbwzAr>