Skip to content

Instantly share code, notes, and snippets.

@dlangille
Created August 30, 2019 20:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlangille/cfb39aa7eeda90ce57803fff34b277dd to your computer and use it in GitHub Desktop.
Save dlangille/cfb39aa7eeda90ce57803fff34b277dd to your computer and use it in GitHub Desktop.
===> Configuring for py36-convertdate-2.1.3
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "setup.py", line 13, in <module>
readme = open('README.rst').read()
File "/usr/local/lib/python3.6/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 89: ordinal not in range(128)
*** Error code 1
Stop.
make: stopped in /usr/ports/devel/py-convertdate
@dlangille
Copy link
Author

OK under 2.7 but not 3.6, so I'm trying this:

post-patch:
        ${RM} ${WRKSRC}/README.rst
        touch ${WRKSRC}/README.rst

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment