[arch-commits] Commit in python-txtorcon/repos/community-staging-any (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Thu Dec 2 20:04:40 UTC 2021


    Date: Thursday, December 2, 2021 @ 20:04:40
  Author: felixonmars
Revision: 1062504

archrelease: copy trunk to community-staging-any

Added:
  python-txtorcon/repos/community-staging-any/PKGBUILD
    (from rev 1062501, python-txtorcon/trunk/PKGBUILD)
Deleted:
  python-txtorcon/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   70 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 35 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 20:04:40 UTC (rev 1062503)
+++ PKGBUILD	2021-12-02 20:04:40 UTC (rev 1062504)
@@ -1,35 +0,0 @@
-# Maintainer: Alexander Epaneshnikov <alex19ep at archlinux.org>
-# Contributor: Storm Dragon <stormdragon2976 at gmail.com>
-
-pkgname=python-txtorcon
-pkgver=21.1.0
-pkgrel=2
-pkgdesc='A Twisted-based Python asynchronous controller library for Tor'
-arch=('any')
-url='https://txtorcon.readthedocs.org/'
-license=('MIT')
-depends=('python-automat' 'python-twisted')
-makedepends=('python-setuptools')
-checkdepends=('python-mock' 'python-cryptography' 'python-pyopenssl' 'lsof')
-source=("${pkgname#python-}-${pkgver}.tar.gz::https://github.com/meejah/txtorcon/releases/download/v${pkgver}/txtorcon-${pkgver}.tar.gz"
-        "${pkgname#python-}-${pkgver}.tar.gz.asc::https://github.com/meejah/txtorcon/releases/download/v${pkgver}/txtorcon-${pkgver}.tar.gz.asc")
-sha512sums=('1e8b1435d7bdf8cf1a9e64b9de6fe2c266ca9812d04405184a117b0b2549677f9881ac373a24d867d3d72e5c7771426de0a7a95e5b9361c9489d811c2a46c343'
-            'SKIP')
-validpgpkeys=('9D5A2BD5688ECB889DEBCD3FC2602803128069A7')
-
-build() {
-	cd "${pkgname#python-}-${pkgver}"
-	python setup.py build
-}
-
-check() {
-	cd "${pkgname#python-}-${pkgver}"
-	PYTHONPATH=. trial test
-}
-
-package() {
-	cd "${pkgname#python-}-$pkgver"
-	python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
-	rm -r "${pkgdir}/usr/share/txtorcon"
-	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: python-txtorcon/repos/community-staging-any/PKGBUILD (from rev 1062501, python-txtorcon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-02 20:04:40 UTC (rev 1062504)
@@ -0,0 +1,35 @@
+# Maintainer: Alexander Epaneshnikov <alex19ep at archlinux.org>
+# Contributor: Storm Dragon <stormdragon2976 at gmail.com>
+
+pkgname=python-txtorcon
+pkgver=21.1.0
+pkgrel=3
+pkgdesc='A Twisted-based Python asynchronous controller library for Tor'
+arch=('any')
+url='https://txtorcon.readthedocs.org/'
+license=('MIT')
+depends=('python-automat' 'python-twisted')
+makedepends=('python-setuptools')
+checkdepends=('python-mock' 'python-cryptography' 'python-pyopenssl' 'lsof')
+source=("${pkgname#python-}-${pkgver}.tar.gz::https://github.com/meejah/txtorcon/releases/download/v${pkgver}/txtorcon-${pkgver}.tar.gz"
+        "${pkgname#python-}-${pkgver}.tar.gz.asc::https://github.com/meejah/txtorcon/releases/download/v${pkgver}/txtorcon-${pkgver}.tar.gz.asc")
+sha512sums=('1e8b1435d7bdf8cf1a9e64b9de6fe2c266ca9812d04405184a117b0b2549677f9881ac373a24d867d3d72e5c7771426de0a7a95e5b9361c9489d811c2a46c343'
+            'SKIP')
+validpgpkeys=('9D5A2BD5688ECB889DEBCD3FC2602803128069A7')
+
+build() {
+	cd "${pkgname#python-}-${pkgver}"
+	python setup.py build
+}
+
+check() {
+	cd "${pkgname#python-}-${pkgver}"
+	PYTHONPATH=. trial test
+}
+
+package() {
+	cd "${pkgname#python-}-$pkgver"
+	python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+	rm -r "${pkgdir}/usr/share/txtorcon"
+	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list