1
0
forked from ports/contrib

python3-ruamel-yaml: use setuptools instead of pip to build the package

This commit is contained in:
Tim Biermann 2019-12-29 18:39:16 +00:00
parent 5278ed14ce
commit c6c9cccb5d
3 changed files with 7 additions and 6 deletions

View File

@ -7,7 +7,6 @@ drwxr-xr-x root/root usr/lib/python3.7/site-packages/ruamel.yaml-0.16.5-py3.7.eg
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/ruamel.yaml-0.16.5-py3.7.egg-info/PKG-INFO
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/ruamel.yaml-0.16.5-py3.7.egg-info/SOURCES.txt
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/ruamel.yaml-0.16.5-py3.7.egg-info/dependency_links.txt
-rw-r--r-- root/root usr/lib/python3.7/site-packages/ruamel.yaml-0.16.5-py3.7.egg-info/installed-files.txt
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/ruamel.yaml-0.16.5-py3.7.egg-info/namespace_packages.txt
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/ruamel.yaml-0.16.5-py3.7.egg-info/requires.txt
-rw-rw-r-- root/root usr/lib/python3.7/site-packages/ruamel.yaml-0.16.5-py3.7.egg-info/top_level.txt

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3/gupMwAFFrPpps6jIOPtD2lEKO0TctDtOTQuObgEevvIaXw6/h8b/DC8boNZg1jZewb62YuY6d2IpA+w1FWqQI=
SHA256 (Pkgfile) = c753f1eb0b129655d705f25c8ef989d9a2afcbf7fd3cde08a15676c239d37c9f
SHA256 (.footprint) = d4362c762e80e04c62718f11f4da3c8d0b424f34150bc609800c1abc1a3d7f85
RWSagIOpLGJF3yxktTwaifBqFk8SNYsJe9ta4sBr7ARaVWVn62fDs1dl4tV0M5ducic6UF1Wgf9c+Mh9Ik3moipSOYNcLBns6go=
SHA256 (Pkgfile) = 271a4bc78dead0d8db079729565440f39b521303f1e87703c6a648bd5791ab08
SHA256 (.footprint) = 42e5913d72ad19964e4095c2c686bcf96119a470b20749e56a8b99b19e1834b5
SHA256 (ruamel.yaml-0.16.5.tar.gz) = 412a6f5cfdc0525dee6a27c08f5415c7fd832a7afcb7a0ed7319628aed23d408

View File

@ -1,7 +1,7 @@
# Description: ruamel.yaml is a YAML parser/emitter that support comment preservation
# URL: https://bitbucket.org/ruamel/yaml/src/default/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-pip
# Depends on: python3-setuptools
name=python3-ruamel-yaml
version=0.16.5
@ -10,7 +10,9 @@ source=(https://files.pythonhosted.org/packages/source/r/ruamel.yaml/ruamel.yaml
build() {
cd ruamel.yaml-$version
pip3 install . --root=$PKG
RUAMEL_NO_PIP_INSTALL_CHECK=False \
python3 setup.py install --root=$PKG \
--optimize=1
find $PKG \
-iname "*INSTALLER*" \
-delete