Skip to content

Commit

Permalink
ypkg: Add patch to fix Python builds with spaces in dir name (#4558)
Browse files Browse the repository at this point in the history
**Summary**

Directories with spaces in their name previously broke Python builds.
Discovered while trying to package an `anoise` update.

**Test Plan**

Successfully built new `anoise` version

**Checklist**

- [x] Package was built and tested against unstable
- [ ] This change could gainfully be listed in the weekly sync notes
once merged (Write an appropriate message in the Summary section)
  • Loading branch information
ermo authored Dec 10, 2024
2 parents 36eaf4a + 0cfd25f commit 57c55d4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 59 deletions.
26 changes: 0 additions & 26 deletions packages/y/ypkg/files/0001-ypkg-Adapt-to-clang-rename.patch

This file was deleted.

22 changes: 0 additions & 22 deletions packages/y/ypkg/files/0001-ypkg-Add-Qt6-SBOM-files-to-devel.patch

This file was deleted.

7 changes: 2 additions & 5 deletions packages/y/ypkg/package.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name : ypkg
version : '34'
release : 198
release : 199
source :
- git|https://github.com/getsolus/ypkg.git : e366d2765674ffa008c378dcff5e74477b472b3a
- git|https://github.com/getsolus/ypkg.git : f59c5db2ab14e83a338af774927eca2c36b5f041
homepage : https://github.com/getsolus/ypkg
license : GPL-3.0-or-later
component : system.devel
Expand Down Expand Up @@ -32,9 +32,6 @@ environment: |
# ensure our nuitka build doesn't pull in -v3 hwcaps libs
export GLIBC_TUNABLES=glibc.cpu.hwcaps=-AVX
setup : |
%patch -p1 -i $pkgfiles/0001-ypkg-Adapt-to-clang-rename.patch
%patch -p1 -i $pkgfiles/0001-ypkg-Add-Qt6-SBOM-files-to-devel.patch
%python3_setup
build : |
# build static bins from ypkg
Expand Down
12 changes: 6 additions & 6 deletions packages/y/ypkg/pspec_x86_64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<Name>ypkg</Name>
<Homepage>https://github.com/getsolus/ypkg</Homepage>
<Packager>
<Name>Reilly Brogan</Name>
<Email>solus@reillybrogan.com</Email>
<Name>Thomas Staudinger</Name>
<Email>Staudi.Kaos@gmail.com</Email>
</Packager>
<License>GPL-3.0-or-later</License>
<PartOf>system.devel</PartOf>
Expand Down Expand Up @@ -75,12 +75,12 @@ Simply put, it is a tool to convert a build process into a packaging operation.
</Files>
</Package>
<History>
<Update release="198">
<Date>2024-12-02</Date>
<Update release="199">
<Date>2024-12-10</Date>
<Version>34</Version>
<Comment>Packaging update</Comment>
<Name>Reilly Brogan</Name>
<Email>solus@reillybrogan.com</Email>
<Name>Thomas Staudinger</Name>
<Email>Staudi.Kaos@gmail.com</Email>
</Update>
</History>
</PISI>

0 comments on commit 57c55d4

Please sign in to comment.