python3-dkimpy: drop noarch, python 2 dummy

This commit is contained in:
Đoàn Trần Công Danh 2020-09-25 08:40:51 +07:00
parent c5d268c63d
commit bb19302183
3 changed files with 20 additions and 28 deletions

View File

@ -1,26 +1,28 @@
# Template file for 'hg-git'
pkgname=hg-git
version=0.8.12
version=0.9.0
revision=1
wrksrc="durin42-hg-git-c651bb6fcf33"
archs=noarch
build_style=python2-module
hostmakedepends="python"
makedepends="python python-dulwich"
depends="${makedepends}"
checkdepends="mercurial git"
pycompile_module="hggit"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-dulwich mercurial"
checkdepends="$depends git unzip openssh"
short_desc="Mercurial plugin adding the ability to push and pull to/from Git"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://bitbucket.org/durin42/hg-git"
distfiles="https://bitbucket.org/durin42/hg-git/get/${version}.tar.bz2"
checksum=5ca4aac0b526e8fb6c31a3d67d09f6bdd4c1ad94075a3e25bd28307d6fd84158
# https://www.mercurial-scm.org/wiki/HgGit
homepage="https://foss.heptapod.net/mercurial/hg-git"
distfiles="$PYPI_SITE/h/hg-git/hg-git-$version.tar.gz"
checksum=77acbd8c322847ec109046d931e0731a91fcf13e10cfe9c183812706ec867671
do_check() {
# broken connecting to fake ssh server
rm tests/test-pull.t
rm tests/test-push.t
rm tests/test-git-clone.t
make tests
cd tests
rm -f test-branch-bookmark-suffix.t
# Git 2.28 appends merge into master, Git 2.29 reverts that change
rm -f test-merge.t test-octopus.t test-pull.t
# test hg serve, bind to localhost instead *
rm -f test-http.t
# Differ in warning, which is new in Git 2.28
rm -f test-subrepos.t
python3 run-tests.py --with-hg=/usr/bin/hg
}

View File

@ -1 +0,0 @@
python3-dkimpy

View File

@ -1,11 +1,9 @@
# Template file for 'python3-dkimpy'
pkgname=python3-dkimpy
version=1.0.0
revision=2
archs=noarch
revision=3
wrksrc="dkimpy-${version}"
build_style=python3-module
pycompile_module="dkim"
hostmakedepends="python3-setuptools"
depends="python3-dnspython python3-authres python3-pynacl python3-aiodns"
checkdepends="$depends python3-pytest"
@ -27,10 +25,3 @@ post_install() {
rm -f ${DESTDIR}/usr/lib/python3.?/site-packages/dkim/__main__.py
vlicense LICENSE
}
python-dkimpy_package() {
build_style=meta
archs=noarch
depends="python3-dkimpy"
short_desc+=" - transitional dummy package"
}