put back python-augeas part for now; ERROR: Could not satisfy constraints for 'python-augeas': installation from path or url cannot be constrained to a version

This commit is contained in:
Erica Portnoy 2020-06-15 17:47:52 -07:00
parent f962845cb8
commit c77874cb32

View file

@ -37,13 +37,26 @@ apps:
parts:
python-augeas:
plugin: python
source: git://github.com/basak/python-augeas
source-branch: snap
build-packages: [libaugeas-dev]
python-packages:
- wheel
stage:
- -pyvenv.cfg
- -**/__pycache__
- -bin
- -**/RECORD
- -**/wheel
- -lib64
certbot:
plugin: python
source: .
constraints: [$SNAPCRAFT_PART_SRC/snap-constraints.txt]
python-packages:
- wheel
- git+https://github.com/basak/python-augeas.git@snap
- ./acme
- ./certbot
- ./certbot-apache
@ -56,10 +69,11 @@ parts:
- libaugeas0
- python3-venv
# To build cryptography and cffi if needed
build-packages: [libaugeas-dev, libffi-dev, libssl-dev]
build-packages: [libffi-dev, libssl-dev]
override-pull: |
snapcraftctl pull
snapcraftctl set-version `cd $SNAPCRAFT_PART_SRC/certbot && git describe|sed s/^v//`
after: [python-augeas]
wrappers:
plugin: dump