forked from Plemya-x/alr-repo
		
	Merge branch 'refs/heads/devel'
This commit is contained in:
		| @@ -1,6 +1,6 @@ | |||||||
| name='gitea' | name='gitea' | ||||||
| version='1.22.2' | version='1.22.2' | ||||||
| release='1' | release='2' | ||||||
| desc='Painless self-hosted Git service, community managed.' | desc='Painless self-hosted Git service, community managed.' | ||||||
| homepage='https://gitea.io' | homepage='https://gitea.io' | ||||||
| maintainer="Евгений Храмов <xpamych@yandex.ru>" | maintainer="Евгений Храмов <xpamych@yandex.ru>" | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| name='python-poetry' | name='python-poetry' | ||||||
| version='1.8.3' | version='1.8.3' | ||||||
| release='1' | release='2' | ||||||
| desc='Python dependency management and packaging made easy' | desc='Python dependency management and packaging made easy' | ||||||
| homepage='https://python-poetry.org' | homepage='https://python-poetry.org' | ||||||
| maintainer="Евгений Храмов <xpamych@yandex.ru>" | maintainer="Евгений Храмов <xpamych@yandex.ru>" | ||||||
| @@ -101,13 +101,13 @@ prepare() { | |||||||
| } | } | ||||||
|  |  | ||||||
| build() { | build() { | ||||||
| 	local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") | 	site_packages=$(python -c "import site; print(site.getsitepackages()[0])") | ||||||
| 	cd "poetry-$version" | 	cd "poetry-$version" | ||||||
| 	python -m build -wn | 	python -m build -wn | ||||||
| 	# install to tmp dir for tests and generate completions | 	# install to tmp dir for tests and generate completions | ||||||
| 	python -m installer --destdir=test_dir dist/*.whl | 	python -m installer --destdir=test_dir dist/*.whl | ||||||
| 	export PYTHONPATH="$PWD/test_dir/$site_packages:$PYTHONPATH" | 	export PYTHONPATH="$PWD/test_dir/$site_packages:$PYTHONPATH" | ||||||
| 	export PATH="$PWD/test_dir/usr/bin:$PATH" | 	export PATH="$PWD/test_dir/usr/local/bin:$PATH" | ||||||
| 	poetry completions bash > poetry.bash | 	poetry completions bash > poetry.bash | ||||||
| 	poetry completions zsh > poetry.zsh | 	poetry completions zsh > poetry.zsh | ||||||
| 	poetry completions fish > poetry.fish | 	poetry completions fish > poetry.fish | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user