summaryrefslogtreecommitdiff
path: root/python3-poetry-core/Pkgfile
blob: a7c2735bb372431f48a02b14b4bbe2c132abc119 (plain)
    1 # Description: Poetry PEP 517 Build Backend & Core Utilities
    2 # URL: https://github.com/python-poetry/poetry-core
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: python3-dephell python3-jsonschema python3-lark-parser
    5 
    6 name=python3-poetry-core
    7 version=1.0.4
    8 release=1
    9 source=(https://github.com/python-poetry/poetry-core/archive/$version/$name-$version.tar.gz)
   10 
   11 build() {
   12   cd poetry-core-$version
   13   sed -i '/^__version__/!d' poetry/core/__init__.py
   14   rm -r poetry/core/_vendor
   15   rm poetry/__init__.py
   16 
   17   dephell deps convert --from pyproject.toml --to setup.py
   18 
   19   /usr/bin/python3 setup.py build
   20   /usr/bin/python3 setup.py install --prefix=/usr \
   21     --root=$PKG \
   22     -O1 \
   23     --skip-build
   24 }

Generated by cgit