Skip to content
Snippets Groups Projects
Commit bc41f969 authored by Bart Ribbers's avatar Bart Ribbers Committed by Rasmus Thomsen
Browse files

community/py3-twine: move from testing and take over maintainership

parent 9cd73868
No related branches found
No related tags found
1 merge request!10533community/mycroft-deps: move from testing
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-twine
_pkgname=twine
pkgver=3.2.0
pkgrel=0
pkgdesc="Collection of utilities for publishing packages on PyPI"
......@@ -9,8 +8,7 @@ options="!check" # Requires unpackaged 'pretend'
url="https://twine.readthedocs.io/en/latest/"
arch="noarch"
license="Apache-2.0"
depends="
python3
depends="python3
py3-pkginfo
py3-readme_renderer
py3-requests>=2.20.0
......@@ -20,15 +18,15 @@ depends="
py3-keyring
"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
source="https://files.pythonhosted.org/packages/source/t/twine/twine-$pkgver.tar.gz"
builddir="$srcdir/twine-$pkgver"
build() {
python3 setup.py build
}
check() {
PYTHONPATH="$PWD/build/lib" py.test-3
PYTHONPATH="$PWD/build/lib" pytest
}
package() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment