python-pysocks: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 17:33:59 +07:00
parent df40edb8b5
commit ca28be8172
3 changed files with 18 additions and 30 deletions

View file

@ -1,29 +0,0 @@
# Template file for 'python-pysocks'
pkgname=python-pysocks
version=1.7.0
revision=1
archs=noarch
wrksrc="PySocks-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 SOCKS client module"
maintainer="Benjamín Albiñana <benalb@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/Anorov/PySocks"
distfiles="https://github.com/Anorov/PySocks/archive/${version}.tar.gz"
checksum=b6dbd9daf8ebe75c9f76b54c9747d3d1f1d5ac54d540e44b7eb93936ae38b01a
post_install() {
vlicense LICENSE
}
python3-pysocks_package() {
archs=noarch
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vlicense LICENSE
vmove usr/lib/python3*
}
}

View file

@ -1 +0,0 @@
python-pysocks

View file

@ -0,0 +1,18 @@
# Template file for 'python3-pysocks'
pkgname=python3-pysocks
version=1.7.0
revision=2
wrksrc="PySocks-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 SOCKS client module"
maintainer="Benjamín Albiñana <benalb@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/Anorov/PySocks"
distfiles="https://github.com/Anorov/PySocks/archive/${version}.tar.gz"
checksum=b6dbd9daf8ebe75c9f76b54c9747d3d1f1d5ac54d540e44b7eb93936ae38b01a
post_install() {
vlicense LICENSE
}