On 4/21/26 1:37 PM, Pocket wrote:
I am trying to build python-dbus-deviation
It fails and this is from the build log, and it appers to have not gotten to the check() function
* Getting build dependencies for wheel... <string>:59: SetuptoolsDeprecationWarning: The test command is disabled and references to it are deprecated. !!
******************************************************************************** Please remove any references to `setuptools.command.test` in all supported versions of the affected package.
This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ********************************************************************************
!!
ERROR Missing dependencies: sphinx roman-numerals>=1.0.0 ==> ERROR: A failure occurred in build(). Aborting... ERROR Missing dependencies: sphinx
mkdir -v PKGBUILD/extra/python-roman-numerals cat > PKGBUILD/extra/python-roman-numerals/PKGBUILD <<- EOF # Maintainer: Pocket <pocket@oldfart.online> _name=roman_numerals pkgname=python-roman-numerals pkgver=4.1.0 pkgrel=1 pkgdesc='Manipulate well-formed Roman numerals' arch=(any) url=https://pypi.org/project/roman-numerals/ license=('0BSD OR CC0-1.0') depends=(python) makedepends=( python-build python-flit-core python-installer ) checkdepends=(python-pytest) source=(https://files.pythonhosted.org/packages/ae/f9/41dc953bbeb056c17d5f7a519f50fdf010bd0553be2d630bc69d1e022703/"$_name"-"$pkgver".tar.gz) b2sums=('0c7c8acb664ff43dc1b413230cedfcbfa2d037f703a7052da3eabc697b9d893ee83b20db587eb8fb094ad6b4e23f486d2446dfabf93f69b9e8b9832ee5e00163') build() { cd $"$_name"-"$pkgver" python -m build --wheel --skip-dependency-check --no-isolation } check() { cd $"$_name"-"$pkgver" pytest } package() { cd $"$_name"-"$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl } EOF sed -e 's/python-roman-numerals-py/python-roman-numerals/' -i PKGBUILD/extra/python-sphinx/PKGBUILD sed -e 's/python-roman-numerals-py/python-roman-numerals/' -i PKGBUILD/extra/python-dbus-deviation/PKGBUILD Build python-roman-numerals copy to Repository Build python-sphinx copy to Repository Build python-dbus-deviation copy to Repository Works now. Thanks everyone for the help -- Hindi madali ang maging ako