testing/py3-imap-tools: move from user
This commit is contained in:
parent
1749b1deed
commit
6947968de3
1 changed files with 15 additions and 6 deletions
|
@ -3,25 +3,34 @@
|
||||||
|
|
||||||
pkgname=py3-imap-tools
|
pkgname=py3-imap-tools
|
||||||
_pyname="imap-tools"
|
_pyname="imap-tools"
|
||||||
pkgver=1.0.0
|
pkgver=1.2.0
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
pkgdesc="Work with email and mailbox by IMAP"
|
pkgdesc="Work with email and mailbox by IMAP"
|
||||||
url="https://pypi.python.org/project/$_pyname"
|
url="https://pypi.python.org/project/$_pyname"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
depends="python3"
|
makedepends="
|
||||||
makedepends="py3-setuptools"
|
py3-setuptools
|
||||||
|
py3-gpep517
|
||||||
|
py3-wheel
|
||||||
|
py3-installer
|
||||||
|
"
|
||||||
options="!check" # No testsuite
|
options="!check" # No testsuite
|
||||||
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
|
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
|
||||||
builddir="$srcdir"/$_pyname-$pkgver
|
builddir="$srcdir"/$_pyname-$pkgver
|
||||||
|
subpackages="$pkgname-pyc"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
python3 setup.py build
|
gpep517 build-wheel \
|
||||||
|
--wheel-dir dist \
|
||||||
|
--output-fd 3 3>&1 >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build --prefix=/usr
|
python3 -m installer -d "$pkgdir" \
|
||||||
|
dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
6bf5ca4c1ad47cbc5b3780c7a511ce5e7f2c1b87df302704609b399bd1fb7ea2ce130b0d16fb202dd44a9f1a56400beff1e850bf8136a8679a9dc925e018efc4 py3-imap-tools-1.0.0.tar.gz
|
33f9b9e983b218968173505afe810e837eed3199e1e5abf108de1ddb75b99f4a821ca82f38d79e18d52f17766a553b40cf493b0c89e5fcd5681a5e891f65e889 py3-imap-tools-1.2.0.tar.gz
|
||||||
"
|
"
|
Loading…
Reference in a new issue