python39Packages.pdfminer: add symlinks without .py extension
required for diffoscope
This commit is contained in:
parent
f918cedb26
commit
2070d83f07
@ -6,7 +6,6 @@ buildPythonPackage rec {
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
# No tests in PyPi Tarball
|
||||
src = fetchFromGitHub {
|
||||
owner = "pdfminer";
|
||||
repo = "pdfminer.six";
|
||||
@ -16,6 +15,12 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ chardet cryptography sortedcontainers ];
|
||||
|
||||
postInstall = ''
|
||||
for file in $out/bin/*.py; do
|
||||
ln $file ''${file//.py/}
|
||||
done
|
||||
'';
|
||||
|
||||
checkInputs = [ nose ];
|
||||
checkPhase = ''
|
||||
nosetests
|
||||
|
Loading…
Reference in New Issue
Block a user