subrepo:
  subdir:   "python-txtorcon"
  merged:   "d82e1d6"
upstream:
  origin:   "https://aur.archlinux.org/python-txtorcon"
  branch:   "master"
  commit:   "d82e1d6"
git-subrepo:
  version:  "0.4.1"
  origin:   "???"
  commit:   "???"
This commit is contained in:
Gabriel Ebner 2020-12-30 10:37:10 +01:00
parent f1e391fa93
commit f570470fd5
3 changed files with 54 additions and 0 deletions

15
python-txtorcon/.SRCINFO Normal file
View File

@ -0,0 +1,15 @@
pkgbase = python-txtorcon
pkgdesc = A Twisted-based Python asynchronous controller library for Tor
pkgver = 20.0.0
pkgrel = 1
url = https://txtorcon.readthedocs.org/
arch = any
license = MIT
makedepends = python-setuptools
depends = python-geoip
depends = python-twisted
source = txtorcon-20.0.0.tar.gz::https://github.com/meejah/txtorcon/archive/v20.0.0.tar.gz
sha512sums = 8a685140f69d993a2a7808c862059bcaceee74d413ab380c13cfdade7d5749d0a8db5a3c10267050102d75a7bd66c62e327b9300d5b34e2cdc4649a2c60cc9af
pkgname = python-txtorcon

12
python-txtorcon/.gitrepo Normal file
View File

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = https://aur.archlinux.org/python-txtorcon
branch = master
commit = d82e1d668bf8d787b6a73b5319dc07bd263ffad5
parent = f1e391fa93282717fc9b72b54368f7a92d42b643
method = merge
cmdver = 0.4.1

27
python-txtorcon/PKGBUILD Normal file
View File

@ -0,0 +1,27 @@
# maintainer Storm Dragon <stormdragon2976@gmail.com>
pkgname='python-txtorcon'
_pkgname='txtorcon'
pkgver=20.0.0
pkgrel=1
pkgdesc='A Twisted-based Python asynchronous controller library for Tor'
arch=('any')
url='https://txtorcon.readthedocs.org/'
license=('MIT')
depends=('python-geoip' 'python-twisted')
makedepends=('python-setuptools')
source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/meejah/$_pkgname/archive/v$pkgver.tar.gz")
sha512sums=('8a685140f69d993a2a7808c862059bcaceee74d413ab380c13cfdade7d5749d0a8db5a3c10267050102d75a7bd66c62e327b9300d5b34e2cdc4649a2c60cc9af')
build() {
cd "$srcdir"/${_pkgname}-${pkgver}
python setup.py build
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et: