Package Details: python-pysubs2 1.7.3-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: tyrannis.hawk (micwoj92)
Last Packager: micwoj92
Votes: 9
Popularity: 1.04
First Submitted: 2020-03-26 01:15 (UTC)
Last Updated: 2024-08-01 21:04 (UTC)

Latest Comments

micwoj92 commented on 2024-08-01 20:57 (UTC)

Thanks, I will push update soon.

tyrannis.hawk commented on 2024-08-01 08:43 (UTC)

Due to too much going on in my personal life, I am unable to maintain this package at this time. @micwoj92 as you requested to orphan this package, I made you co-maintainer so you can update it if you like ;-)

cipher699 commented on 2024-06-30 06:09 (UTC)

diff --git a/PKGBUILD b/PKGBUILD
index c891bed..903b08b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: John Gerritse <tyrannis dot hawk at gmail dot com>
 pkgname=python-pysubs2
 _name=${pkgname#python-}
-pkgver=1.6.1
+pkgver=1.7.2
 pkgrel=1
 pkgdesc='A Python library for editing subtitle files'
 arch=(any)
@@ -10,7 +10,7 @@ license=(MIT)
 depends=('python')
 makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')
 source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('0261611e71735ff7763972c519c72593c8063efcb9039c54af65f31b81cec116')
+sha256sums=('b708904269cb252dbc51de75a372e04ab00c368939bb8220f7b0f940d978725e')

 build() {
     cd "$_name-$pkgver"

tyrannis.hawk commented on 2021-06-19 17:26 (UTC)

@miguelbernadi Fixed. Thanks. I added $pkgver after testing the build, which is silly on my part.

miguelbernadi commented on 2021-06-19 15:52 (UTC)

The PKGBUILD is broken because it uses single quotes instead of double quotess for the download, so the version does not get interpolated. This fixes it:

diff --git a/PKGBUILD b/PKGBUILD
index 6fb4ceb..7c45700 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ url=https://pypi.org/project/pysubs2
 license=(MIT)
 depends=(python)
 makedepends=(python-setuptools)
-source=('https://files.pythonhosted.org/packages/0c/5d/ea6cb4fda284b18a034008e08650e68885cd5fca90dc17f45886ce15320d/pysubs2-$pkgver.tar.gz')
+source=("https://files.pythonhosted.org/packages/0c/5d/ea6cb4fda284b18a034008e08650e68885cd5fca90dc17f45886ce15320d/pysubs2-$pkgver.tar.gz")
 sha256sums=('6bac5307455eb1f63e1c1d696a4c4d78615765ecada83c323e28507e9bd9d887')

 build() {

tyrannis.hawk commented on 2021-03-21 16:21 (UTC) (edited on 2021-03-21 16:24 (UTC) by tyrannis.hawk)

... and this is the PKGBUILD for the current version (1.1.0).

# Maintainer: b6b <b6bb at pm dot me>

pkgname=python-pysubs2
_name=${pkgname#python-}
pkgver=1.1.0
pkgrel=1
pkgdesc='A Python library for editing subtitle files'
arch=(any)
url=https://pypi.org/project/pysubs2
license=(MIT)
depends=(python)
makedepends=(python-setuptools)
source=('https://files.pythonhosted.org/packages/9f/ec  /67901009615aa43fdaa17a1e5e795d91db85057136e7776403155e0acef1/pysubs2-1.1.0.tar.gz')
sha256sums=('d64e3e8260519d4889bad397e78f0c93bd7ed6b59102e657612166e320da167c')

build() {
  cd "${srcdir}/pysubs2-${pkgver}"
  python setup.py build
}

package() {
  cd "${srcdir}/pysubs2-${pkgver}"
  python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
}

Shasta commented on 2020-11-26 03:14 (UTC)

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}"