Package Details: python-svgpathtools 1.6.1-2

Git Clone URL: https://aur.archlinux.org/python-svgpathtools.git (read-only, click to copy)
Package Base: python-svgpathtools
Description: Manipulate and analyze SVG Path objects and Bezier curves
Upstream URL: https://github.com/mathandy/svgpathtools
Keywords: bezier path svg vector
Licenses: MIT
Submitter: pintert3
Maintainer: pintert3
Last Packager: pintert3
Votes: 1
Popularity: 0.34
First Submitted: 2022-09-05 22:25 (UTC)
Last Updated: 2024-06-18 23:56 (UTC)

Latest Comments

pintert3 commented on 2024-06-19 00:01 (UTC)

I've updated it to use the recommended standards-based tools. Thanks for the reminder @dreieck.

dreieck commented on 2024-04-28 10:46 (UTC)

Please move away from calling setup.py directly and instead use python -m build and python -m installer (together with the appropriate makedepends), as documented in the Arch Linux wiki for python packages:

==> Starting package()...
running install
/usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
running install_lib

Regards and thanks for maintaining!

pintert3 commented on 2023-07-22 15:11 (UTC)

Thanks for the heads up guys. Been quite busy of lately, and you're comments are very helpful. Will work on fixing it today.

cedric-air commented on 2023-07-22 06:15 (UTC)

this PKGBUILD makes the current version (1.6.1):

# Maintainer: Phillip S. Kajubi <pintert3 at protonmail dot com>

pkgname=python-svgpathtools
_name=${pkgname#python-}
pkgver=1.6.1
pkgrel=1
pkgdesc='Manipulate and analyze SVG Path objects and Bezier curves'
arch=('any')
url='https://github.com/mathandy/svgpathtools'
license=('MIT')
depends=('python' 'python-numpy' 'python-svgwrite' 'python-scipy')
makedepends=('python-setuptools')
source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('7054e6de1953e295bf565d535d585695453b09f8db4a2f7c4853348732097a3e')

build() {
  cd $_name-$pkgver
  python setup.py build
}

package() {
  cd $_name-$pkgver

  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}

# vim:set ts=2 sw=2 et:

dreieck commented on 2023-07-18 16:36 (UTC)

You need to change the installation routines, moving away from setup.py, and using python-build, python-installer, python-wheel:

/usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!

Regards!