Fixed some ply issues, added ply version, and adjusted check-versions.sh.

This commit is contained in:
Zeckmathederg 2024-06-08 11:29:59 -06:00
parent f381d034ea
commit 23e0d5b6a7
4 changed files with 50 additions and 17 deletions

View File

@ -92,7 +92,8 @@ nettle
gnutls
pixman
vulkan
spirv
spirv-headers
spirv-tools
glslang
pciutils
hwdata
@ -150,6 +151,7 @@ spirv-llvm-translator
nvidia
rust-bindgen
libclc
ply
seatd
steam
binutils
@ -163,11 +165,11 @@ check_blfs_simple_packages() {
<(grep $package $BLFS_DIR/packages.ent) | \
grep -v fd | grep -v '^@' | grep ENTITY | \
grep '^\(+\|-\)' | \
grep -v xfce4 | grep -v balsa | \
grep -v dbus-glib | grep -v xdg-dbus | \
grep -v xfce4 | grep -v balsa | \
grep -v dbus-glib | grep -v xdg-dbus | \
grep -v dbus-python | grep -v dbusmock | \
grep -v libdbusmenu | grep -v plasma | \
grep -v mingw-w64
grep -v mingw-w64 | grep -v spirv-llvm
if [[ "$?" = 0 ]]; then
echo " "
fi
@ -179,11 +181,11 @@ check_blfs_complex_packages() {
<(grep $package $BLFS_DIR/packages.ent) | \
grep -v fd | grep -v '^@' | grep ENTITY | \
grep '^\(+\|-\)' | \
grep -v xfce4 | grep -v balsa | \
grep -v dbus-glib | grep -v xdg-dbus | \
grep -v xfce4 | grep -v balsa | \
grep -v dbus-glib | grep -v xdg-dbus | \
grep -v dbus-python | grep -v dbusmock | \
grep -v libdbusmenu | grep -v plasma | \
grep -v mingw-w64
grep -v mingw-w64 | grep -v spirv-llvm
if [[ "$?" = 0 ]]; then
echo " "
fi
@ -250,6 +252,20 @@ check_glfs_packages() {
rm glfsvarch-version.log
echo " "
fi
elif [[ $package == "ply" ]]; then
diff -Naur <(grep $package $GLFS_DIR/packages.ent | \
awk -F'"' '{print $2}') \
<(curl --silent "https://gitlab.archlinux.org/archlinux/packaging/packages/python-$package/-/raw/main/PKGBUILD" | \
grep "pkgver=" | sed 's/pkgver=//') | \
grep -v fd | grep -v '^@' > glfsvarch-version.log
if [[ "$?" != 0 ]]; then
rm glfsvarch-version.log
else
echo "$package:"
cat glfsvarch-version.log
rm glfsvarch-version.log
echo " "
fi
else
diff -Naur <(grep $package $GLFS_DIR/packages.ent | \
grep -v wine-major | \

View File

@ -66,6 +66,12 @@
<para>
[zeckma] - Added new packages from last commit to packages.ent.
</para>
</listitem>
<listitem>
<para>
[zeckma] - Fixed some ply issues, added ply version, and adjusted
check-versions.sh.
</para>
</listitem>
</itemizedlist>
</listitem>

View File

@ -87,6 +87,7 @@
<!ENTITY mako-version "1.3.5">
<!ENTITY libdrm-version "2.4.121">
<!ENTITY libclc-version "17.0.6">
<!ENTITY ply-version "3.11">
<!ENTITY mesa-major-minor "24.1">
<!ENTITY mesa-version "&mesa-major-minor;.1">
<!-- X11 -->

View File

@ -3,13 +3,16 @@
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY ply-download-http "http://www.dabeaz.com/ply/ply-&ply-version;.tar.gz">
<!ENTITY ply-download-ftp " ">
]>
<sect1 id="ply" xreflabel="PLY">
<sect1 id="ply" xreflabel="PLY-&ply-version;">
<?dbhtml filename="ply.html"?>
<title>PLY</title>
<title>PLY-&ply-version;</title>
<indexterm zone="ply">
<primary sortas="a-PLY">PLY</primary>
@ -25,16 +28,23 @@
&lfs121_checked;
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&ply-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&ply-download-ftp;"/>
</para>
</listitem>
</itemizedlist>
</sect2>
<sect2 role="installation">
<title>Installation of Mako</title>
<para>
First clone the repo using <xref linkend="git"/>:
</para>
<screen><userinput>git clone https://github.com/dabeaz/ply</userinput></screen>
<title>Installation of PLY</title>
<para>
Build the module:
@ -68,7 +78,7 @@
</seg>
<seg>
/usr/lib/python3.12/site-packages/ply and
/usr/lib/python3.12/site-packages/ply-2022.10.27.dist-info
/usr/lib/python3.12/site-packages/ply-&ply-version;.dist-info
</seg>
</seglistitem>
</segmentedlist>