Package Details: python-pysubs2 0.2.4-1

Git Clone URL: https://aur.archlinux.org/python-pysubs2.git (read-only, click to copy)
Package Base: python-pysubs2
Description: A Python library for editing subtitle files
Upstream URL: https://pypi.org/project/pysubs2
Licenses: MIT
Submitter: b6b
Maintainer: b6b
Last Packager: b6b
Votes: 0
Popularity: 0.000000
First Submitted: 2020-03-26 01:15
Last Updated: 2020-03-26 01:15

Latest Comments

Shasta commented on 2020-11-26 03:14

Here's a patch to update to 1.0.0, and make updating the PyPi url easier:

diff --git a/PKGBUILD b/PKGBUILD
index 3f97484..56b2683 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
 # Maintainer: b6b <b6bb at pm dot me>

 pkgname=python-pysubs2
-pkgver=0.2.4
+_name=${pkgname#python-}
+pkgver=1.0.0
 pkgrel=1
 pkgdesc='A Python library for editing subtitle files'
 arch=(any)
@@ -9,8 +10,8 @@ url=https://pypi.org/project/pysubs2
 license=(MIT)
 depends=(python)
 makedepends=(python-setuptools)
-source=("https://files.pythonhosted.org/packages/8a/83/5ebaf5a1d6f04ae21c2bdc16dcdba4a950b1c0b10f0fe83e71f9c5738e33/pysubs2-$pkgver.tar.gz")
-sha256sums=(07f9bb5da0efe8238b88c9ee35cc42ad8c6a3ffc2e4bf8f3bff6d463d02a4b6f)
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('d3bebe7793068f2668456c0345ca2ed03ac2542688cdbe20c8bbf2967faf08c3')

 build() {
   cd "${srcdir}/pysubs2-${pkgver}"