diff --git a/app/shell/fish/ympbuild b/app/shell/fish/ympbuild index 606714c7..75b3dadb 100644 --- a/app/shell/fish/ympbuild +++ b/app/shell/fish/ympbuild @@ -26,7 +26,8 @@ setup(){ -DBUILD_SHARED_LIBS=True \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_SYSCONFDIR=/etc \ - -DFISH_USE_SYSTEM_PCRE2=false + -DFISH_USE_SYSTEM_PCRE2=true \ + -DBUILD_DOCS=false } build(){ diff --git a/dev/lang/tcl/ympbuild b/dev/lang/tcl/ympbuild deleted file mode 100644 index 842618b0..00000000 --- a/dev/lang/tcl/ympbuild +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash -name='tcl' -release='1' -version='8.6.13' -url='https://www.tcl-lang.org/' -description=' The Tcl scripting language' -email='akarsu@protonmail.com' -maintainer='akarsu' -license=('TCL') -source=("http://prdownloads.sourceforge.net/tcl/tcl${version}-src.tar.gz") -depends=(zlib) -makedepends=() -md5sums=('0e4358aade2f5db8a8b6f2f6d9481ec2') -group=(dev.lang) -uses=() -arch=('x86_64') - -cd $name$version"/unix" - -setup(){ - ./configure --prefix=/usr \ - --libdir=/usr/lib64/ \ - --mandir=/usr/share/man \ - --enable-threads \ - --with-system-sqlite \ - --enable-64bit -} - -build(){ - make -} - -package(){ - make INSTALL_ROOT="${DESTDIR}" install install-private-headers -} - diff --git a/dev/lang/tk/ympbuild b/dev/lang/tk/ympbuild deleted file mode 100644 index 9ff28afd..00000000 --- a/dev/lang/tk/ympbuild +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash -name='tk' -release='1' -version='8.6.13' -url='https://tcl.sourceforge.net/' -description='GUI toolkit for the Tcl scripting language' -email='akarsu@protonmail.com' -maintainer='akarsu' -license=('TCL') -source=("https://downloads.sourceforge.net/sourceforge/tcl/tk${version}-src.tar.gz") -depends=(tcl libX11 libxss libXft fontconfig) -makedepends=() -md5sums=('95adc33d55a133ee29bc9f81efdf31b2') -group=(dev.lang) -uses=() -arch=('x86_64') - -cd $name$version"/unix" - -setup(){ - ./configure --prefix=/usr \ - --libdir=/usr/lib64/ \ - --mandir=/usr/share/man \ - --enable-threads \ - --disable-rpath \ - --enable-64bit -} - -build(){ - make -} - -package(){ - make INSTALL_ROOT="${DESTDIR}" install install-private-headers -} - diff --git a/dev/libs/libdbusmenu-glib/ympbuild b/dev/libs/libdbusmenu-glib/ympbuild deleted file mode 100644 index e1790428..00000000 --- a/dev/libs/libdbusmenu-glib/ympbuild +++ /dev/null @@ -1,47 +0,0 @@ -#!/usr/bin/env bash -name='libdbusmenu-glib' -release='1' -version='16.04.0' -url='https://launchpad.net/libdbusmenu' -description='Library for passing menus over DBus' -email='akarsu@protonmail.com' -maintainer='akarsu' -license=('GPL3' 'LGPL2.1' 'LGPL3') -source=(https://launchpad.net/libdbusmenu/${version%.?}/${version}/+download/libdbusmenu-${version}.tar.gz{,.asc}) -depends=(glib) -makedepends=(gnome-common gobject-introspection gtk3 intltool vala valgrind) -md5sums=('3c05d53053b3ea69384b5f93d7a4c7c4' 'SKIP') -group=(dev.libs) -uses=() -arch=('x86_64') - -cd "libdbusmenu"-$version - -setup(){ - sed -i 's/-Werror//' libdbusmenu-*/Makefile.{am,in} - export HAVE_VALGRIND_TRUE='#' - export HAVE_VALGRIND_FALSE='' - - ( - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --disable-{dumper,static,tests} \ - --with-gtk=3 - make - ) -} - -build(){ - make -j1 -C libdbusmenu-glib DESTDIR="${DESTDIR}" install -} - -package(){ - pkgdesc+=" (GTK+ 3 library)" - depends=("libdbusmenu-glib" 'gtk3') - - make -j1 -C libdbusmenu-glib DESTDIR="${DESTDIR}" install - make -j1 -C libdbusmenu-gtk DESTDIR="${DESTDIR}" install - make -j1 -C libdbusmenu-glib DESTDIR="${DESTDIR}" uninstall -} - diff --git a/dev/libs/libdbusmenu-gtk3/ympbuild b/dev/libs/libdbusmenu-gtk3/ympbuild deleted file mode 100644 index f8856bf4..00000000 --- a/dev/libs/libdbusmenu-gtk3/ympbuild +++ /dev/null @@ -1,49 +0,0 @@ -#!/usr/bin/env bash -name='libdbusmenu-gtk3' -release='1' -version='16.04.0' -url='https://launchpad.net/libdbusmenu' -description='Library for passing menus over DBus (GTK+ 3 library)' -email='akarsu@protonmail.com' -maintainer='akarsu' -license=('GPL3' 'LGPL2.1' 'LGPL3') -source=(https://launchpad.net/libdbusmenu/16.04/${version}/+download/libdbusmenu-${version}.tar.gz{,.asc}) -depends=(gtk3 libdbusmenu-glib) -makedepends=(gnome-common gobject-introspection intltool vala valgrind) -md5sums=('3c05d53053b3ea69384b5f93d7a4c7c4' 'SKIP') -group=(dev.libs) -uses=() -arch=('x86_64') - -cd "libdbusmenu"-$version - -sed -i 's/-Werror//' libdbusmenu-*/Makefile.{am,in} - -setup(){ - export HAVE_VALGRIND_TRUE='#' - export HAVE_VALGRIND_FALSE='' - - ( - ./configure --prefix=/usr \ - --libdir=/usr/lib64/ \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --disable-{dumper,static,tests} \ - --with-gtk=3 - make - ) -} - -build(){ - make -j1 -C libdbusmenu-glib DESTDIR="${DESTDIR}" install $jobs -} - -package(){ - pkgdesc+=" (GTK+ 3 library)" - depends=("libdbusmenu-glib" 'gtk3') - - #make -j1 -C libdbusmenu-glib DESTDIR="${DESTDIR}" install - #make -j1 -C libdbusmenu-gtk DESTDIR="${DESTDIR}" install - #make -j1 -C libdbusmenu-glib DESTDIR="${DESTDIR}" uninstall -} - diff --git a/dev/libs/timezonemap/ympbuild b/dev/libs/timezonemap/ympbuild index 033876ff..91737b2d 100644 --- a/dev/libs/timezonemap/ympbuild +++ b/dev/libs/timezonemap/ympbuild @@ -8,7 +8,7 @@ email='akarsu@protonmail.com' maintainer='akarsu' license=('GPLv3') source=("https://github.com/dashea/timezonemap/archive/refs/tags/${version}.tar.gz") -depends=(gtk3 libsoup3) +depends=(gtk3 libsoup3 libsoup2) makedepends=(gobject-introspection) md5sums=('091779f1656645854f2d3cfbc2718540') group=(dev.libs) diff --git a/dev/python/py3-packaging/ympbuild b/dev/python/py3-packaging/ympbuild index 8a42bbc5..363da490 100644 --- a/dev/python/py3-packaging/ympbuild +++ b/dev/python/py3-packaging/ympbuild @@ -17,11 +17,15 @@ arch=('x86_64') cd "packaging"-$version +export PYTHONPATH=src/packaging + build(){ python -m build -nw } package(){ +# mkdir -p $DESTDIR/usr/lib64/python3 +# cp -prfv src/* $DESTDIR/usr/lib64/python3 python -m installer --destdir="$DESTDIR" dist/*.whl } diff --git a/dev/python/py3-pathspec/ympbuild b/dev/python/py3-pathspec/ympbuild index dd3fc8a4..613f18fb 100644 --- a/dev/python/py3-pathspec/ympbuild +++ b/dev/python/py3-pathspec/ympbuild @@ -9,7 +9,7 @@ maintainer='akarsu' license=('MPL-2.0') source=("https://github.com/cpburnz/python-pathspec/archive/refs/tags/v${version}.tar.gz") depends=(python) -makedepends=(py3-build py3-flit-core py3-installer py3-wheel) +makedepends=(py3-build py3-flit py3-installer py3-wheel) md5sums=('0965b5b501cf63c8c8b1139e1c04c4ce') group=(dev.python) uses=() diff --git a/dev/python/py3-pdm-pep517/ympbuild b/dev/python/py3-pdm-pep517/ympbuild index 79dc236b..7aaed0c0 100644 --- a/dev/python/py3-pdm-pep517/ympbuild +++ b/dev/python/py3-pdm-pep517/ympbuild @@ -16,7 +16,7 @@ uses=() arch=('x86_64') cd "pdm-backend"-$version -ls -l ../ + prepare(){ patch -Np1 -d ../pdm-backend-$version -i ../python-pdm-pep517-1.1.2-devendor.patch } diff --git a/dev/python/py3-pillow/ympbuild b/dev/python/py3-pillow/ympbuild index b3ca1c04..7dcffa89 100644 --- a/dev/python/py3-pillow/ympbuild +++ b/dev/python/py3-pillow/ympbuild @@ -9,7 +9,7 @@ maintainer='akarsu' license=('BSD') source=("https://github.com/python-pillow/Pillow/archive/refs/tags/${version}.tar.gz") depends=(python freetype lcms2 libtiff libxcb) -makedepends=(git py3-build py3-installer py3-wheel py3-setuptools libwebp tk) +makedepends=(git py3-build py3-installer py3-wheel py3-setuptools libwebp) md5sums=('7eee6ea92f43d34e0c0a04a05fb435be') group=() uses=() diff --git a/dev/python/py3-pyproject-hooks/ympbuild b/dev/python/py3-pyproject-hooks/ympbuild new file mode 100644 index 00000000..209d869d --- /dev/null +++ b/dev/python/py3-pyproject-hooks/ympbuild @@ -0,0 +1,31 @@ +#!/usr/bin/env bash +name='py3-pyproject-hooks' +release='1' +version='1.0.0' +url='https://github.com/pypa/pyproject-hooks' +description='Python project hooks' +email='aliriza.keskin@pardus.org.tr' +maintainer='aliriza' +license=('GPLv3') +source=('https://github.com/pypa/pyproject-hooks/archive/refs/tags/v1.0.0.tar.gz') +depends=(python) +makedepends=(py3-build) +md5sums=('03ea6db4dd6f0f06a5732e8d2f4fb39f') +group=(dev.python) +uses=() +arch=('x86_64') + +cd pyproject-hooks-$version + +export PYTHONPATH=src/pyproject_hooks + +build () { + python -m build --wheel --no-isolation +} + +package () { +# mkdir $DESTDIR/usr/lib64/python3 -p +# cp -prfv src/* $DESTDIR/usr/lib64/python3 + python -m installer --destdir="$DESTDIR" dist/*.whl +} + diff --git a/dev/python/py3-sphinx/ympbuild b/dev/python/py3-sphinx/ympbuild index bb181b5f..57aba868 100644 --- a/dev/python/py3-sphinx/ympbuild +++ b/dev/python/py3-sphinx/ympbuild @@ -9,7 +9,7 @@ maintainer='akarsu' license=('BSD-2-Clause') source=("https://github.com/sphinx-doc/sphinx/archive/refs/tags/v${version}.tar.gz") depends=(python py3-babel py3-docutils py3-imagesize py3-jinja py3-packaging py3-pygments py3-requests py3-snowballstemmer) -makedepends=(py3-build py3-flit-core py3-installer) +makedepends=(py3-build py3-flit py3-installer) md5sums=('1bb87f2b84b2fd3401fff53cc9681209') group=(dev.python) uses=() diff --git a/dev/python/py3-tomli/ympbuild b/dev/python/py3-tomli/ympbuild index fef56730..b709b246 100644 --- a/dev/python/py3-tomli/ympbuild +++ b/dev/python/py3-tomli/ympbuild @@ -9,7 +9,7 @@ maintainer='akarsu' license=('MIT') source=("https://github.com/hukkin/tomli/archive/refs/tags/${version}.tar.gz") depends=(python) -makedepends=(py3-build py3-flit-core) +makedepends=(py3-build py3-flit) md5sums=('b32f504876fd88ea1ca0c2fab4ce8e27') group=(dev.python) uses=()