Skip to content
Snippets Groups Projects
Commit e9266d57 authored by Leo's avatar Leo
Browse files

testing/py3-daemon: fix build

parent f5ca6e6e
No related branches found
No related tags found
No related merge requests found
...@@ -9,10 +9,19 @@ options="!check" # Has lots of dependencies ...@@ -9,10 +9,19 @@ options="!check" # Has lots of dependencies
arch="noarch" arch="noarch"
license="Apache-2.0 AND GPL-3.0-or-later" license="Apache-2.0 AND GPL-3.0-or-later"
depends="py3-setuptools py3-lockfile" depends="py3-setuptools py3-lockfile"
makedepends="py3-twine py3-docutils" makedepends="py3-docutils"
source="https://pypi.io/packages/source/p/python-daemon/python-daemon-$pkgver.tar.gz" source="https://pypi.io/packages/source/p/python-daemon/python-daemon-$pkgver.tar.gz"
builddir="$srcdir/python-daemon-$pkgver" builddir="$srcdir/python-daemon-$pkgver"
prepare() {
default_prepare
# Remove unnecessary dependency for building, twine is
# required for uploading the package to pypi which we don't
# do
sed -e '/twine/d' -i setup.py
}
build() { build() {
python3 setup.py build python3 setup.py build
} }
......
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