Ben, Thank you greatly. That is far closer to building than I had it! Greg -- Greg Freemyer Advances are made by answering questions. Discoveries are made by questioning answers. — Bernard Haisch On Sat, May 20, 2023 at 3:56 AM Ben Greiner <code@bnavigator.de> wrote:
Hi Greg
Am 20.05.23 um 00:31 schrieb Greg Freemyer:
All,
I won't to be able access PST files from python.
python-libratom is a package for doing that. It layers on top of libpff, which is already in factory.
I've got my initial OBS package at: home:gregfreemyer:Tools-for-forensic-boot-cd/python-libratom
[https://build.opensuse.org/package/show/home:gregfreemyer:Tools-for-forensic...]
Unfortunately, %python_build is failing as shown in the below log.
Can anyone tell how this package should be built? [...] Thanks, Greg -- Greg Freemyer Advances are made by answering questions. Discoveries are made by questioning answers. — Bernard Haisch
There are a couple of issues with your specfile:
* python_build/pyproject_install is deprecated. Use pyproject_wheel and pyproject_install * Try to build from the sdist published on PyPI, not the github archive. The versioning of that package needs either proper git tag or the version info incorporated into the sdist.
* Start with a specfile generated from py2pack. The newest version as of three days ago, will make both of the above right. * Read https://en.opensuse.org/openSUSE:Packaging_Python
Additionally: * The upstream repository specifies very strict version pinning, you must relax it before creating the wheel (replace requirements.txt with the plain requirements.in) * There are additional packages required which are not available yet.
https://build.opensuse.org/request/show/1088024
- Ben