Package Details: python-ruyaml 0.91.0-3

Git Clone URL: https://aur.archlinux.org/python-ruyaml.git (read-only, click to copy)
Package Base: python-ruyaml
Description: ruyaml is a openly maintained fork of elusive ruamel-yaml package that can be used as as a drop-in replacement.
Upstream URL: https://github.com/pycontribs/ruyaml
Licenses: MIT
Submitter: RiCON
Maintainer: RiCON
Last Packager: RiCON
Votes: 0
Popularity: 0.000000
First Submitted: 2021-03-12 15:06 (UTC)
Last Updated: 2024-03-04 09:50 (UTC)

Latest Comments

carlosal1015 commented on 2024-03-04 03:59 (UTC)

Please fix with this suggestions:

# Maintainer: Ricardo Constantino <ricardo@tsu.re>
# Contributor: Carlos Aznarán <caznaranl@uni.pe>
# Contributor: Felix Yan <felixonmars@archlinux.org>
# Contributor: Bruno Pagani <archange@archlinux.org>
# Contributor: Samuel Littley <aur@toastwaffle.com>
# Contributor: rnons <remotenonsense at gmail dot com>

_name=ruyaml
pkgname=python-$_name
pkgver=0.91.0
pkgrel=3
pkgdesc="A fork of ruamel.yaml"
arch=(any)
url="https://github.com/pycontribs/$_name"
license=(MIT)
depends=(python-distro python-setuptools)
makedepends=(python-build python-installer python-setuptools-scm python-wheel)
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
sha512sums=('32a464327e761d8cb686183f783ee272003560a4d3b3da792d3fdbb10f62674da71c45b392d8c5169f5b7e352086f329a2fd7595e122c57fd95ed4610fad0fa9')

build() {
  cd "$_name-$pkgver"
  export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
  python -m build --wheel --skip-dependency-check --no-isolation
}

package() {
  cd "$_name-$pkgver"
  PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python -m installer --destdir="${pkgdir}" dist/*.whl
  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}

carlosal1015 commented on 2024-03-04 03:37 (UTC)

Hi, I have the following message error

==> Making package: python-ruyaml 0.91.0-2 (Sun Mar  3 22:34:42 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
* Getting build dependencies for wheel...
running egg_info
writing lib/ruyaml.egg-info/PKG-INFO
writing dependency_links to lib/ruyaml.egg-info/dependency_links.txt
writing requirements to lib/ruyaml.egg-info/requires.txt
writing top-level names to lib/ruyaml.egg-info/top_level.txt
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
reading manifest file 'lib/ruyaml.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'ext*'
no previously-included directories found matching 'clib*'
adding license file 'LICENSE'
writing manifest file 'lib/ruyaml.egg-info/SOURCES.txt'

ERROR Missing dependencies:
        pip>=19.3.1
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: python-ruyaml-exit status 4

heylookmatt commented on 2023-01-11 20:38 (UTC)

FYI this package (and all who depend on it, notably yamlfix) is broken because it has python-setuptools-scm-git-archive in its makedepends which is no longer available: https://archlinux.org/packages/community/any/python-setuptools-scm-git-archive/