Unverified Commit f4996b12 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python313Packages.pycxx: fix postInstall (#406664)

parents 7ba5df2c a2629e55
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ buildPythonPackage rec {

  postInstall = ''
    mkdir -p $dev/include
    mv $out/include/${python.libPrefix}*/CXX/ $dev/include/CXX/
    mv $out/include/${python.libPrefix}*/cxx/ $dev/include/CXX/
    mv $out/CXX $dev/src
    sed -i "s|Src|$dev/src|" $dev/src/cxxextensions.c $dev/src/cxxsupport.cxx
  '';
+3 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  buildPythonPackage,
  fetchurl,
  python,
  pythonAtLeast,
  apr,
  aprutil,
  bash,
@@ -17,6 +18,8 @@ buildPythonPackage rec {
  version = "1.9.23";
  pyproject = false;

  disabled = pythonAtLeast "3.13";

  src = fetchurl {
    url = "mirror://sourceforge/project/pysvn/pysvn/V${version}/pysvn-${version}.tar.gz";
    hash = "sha256-ABru1nng1RaYfZwe0Z0NxE90rU/J2h/BhzUnvgrasCk=";