[fink:package-submissions] #4928 pycryptopp-py python library package

Hanspeter Niederstrasser via Fink-tracker <[email protected]>
Newsgroups gmane.os.apple.fink.tracker
Message-ID </p/fink/package-submissions/4928/ff68923883d690d88cda26342118ce24b0a2e530.package-submissions@fink.p.sourceforge.net>
- **Group**: Awaiting_Dependency --> Awaiting_Update_from_Submitter
- **Comment**:

The `SourceRename` field hardcodes the pyversion (eg `pycryptopp-py27-0.7.1.tar.gz`) into the file name, so all the python variants try to download their own personal tarball.  `SourceRename: pycryptopp-%v.tar.gz` is enough (not %n).

Compiletime error:
~~~
Did not locate libcryptopp in the usual places.
Adding /usr/local/{include,lib} and -lcryptopp in the hopes
that they will work.
...
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -fwrapv -O3 -Wall -Wstrict-prototypes -I/sw/include -DDISABLE_EMBEDDED_CRYPTOPP=1 -I/usr/local/include -I/sw/include/python2.7 -c src/pycryptopp/_pycryptoppmodule.cpp -o build/temp.macosx-10.11-x86_64-2.7/src/pycryptopp/_pycryptoppmodule.o -w
src/pycryptopp/_pycryptoppmodule.cpp:11:10: fatal error: 'cryptopp/config.h' file not found
#include <cryptopp/config.h>
~~~
Needs BuildDepends on `libcryptopp5-dev`, not just `libcryptopp5`. But even after installing libcryptopp5-dev I still get the "Did not locate libcryptopp in the usual places" error, so build pulls in -I/usr/local/include flags, which should be avoided if possible. `setup.py` hardcodes `/usr/local` in several places. Possible options are to either prepend `%p` into the various flags or path searches (such as the 'for inclpath' line in setup.py) or hard-replace /usr/local with %p in setup.py.

On py34 and up:
~~~
  if [ "34" -ge "31" ]; then
    2to33.4 --write --no-diffs .
  fi
/tmp/fink.X7Xw3: line 3: 2to33.4: command not found
~~~
The command is 2to3-3.4 (with hyphen).

You don't need ot put MANIFEST.in DocFiles. That's instructions for the builder scripts, not end -user documentation.



---

** [package-submissions:#4928] pycryptopp-py python library package**

**Status:** open
**Group:** Awaiting_Update_from_Submitter
**Labels:** pythonmod crypto New Package 
**Created:** Sat Jun 10, 2017 11:14 PM UTC by Scott Hannahs
**Last Updated:** Sat Jul 22, 2017 08:54 PM UTC
**Owner:** nobody
**Attachments:**

- [pycryptopp-py.info](https://sourceforge.net/p/fink/package-submissions/4928/attachment/pycryptopp-py.info) (2.0 kB; application/octet-stream)


pycryptopp-py package used by duplicity backend.  Package passes validation.


---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/fink/package-submissions/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/fink/admin/package-submissions/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Fink-tracker mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.tracker
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.