[arch-commits] Commit in txt2tags/trunk (PKGBUILD)

2020-10-11 Thread Connor Behan via arch-commits
Date: Monday, October 12, 2020 @ 02:04:58
  Author: cbehan
Revision: 723567

upgpkg: txt2tags 3.7-2: Update dependencies

Modified:
  txt2tags/trunk/PKGBUILD

--+
 PKGBUILD |5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-12 01:53:47 UTC (rev 723566)
+++ PKGBUILD2020-10-12 02:04:58 UTC (rev 723567)
@@ -5,13 +5,12 @@
 
 pkgname=txt2tags
 pkgver=3.7
-pkgrel=1
+pkgrel=2
 pkgdesc='A text formatting and conversion tool.'
 arch=('any')
 url='http://www.txt2tags.org'
 license=('GPL')
-depends=('python')
-makedepends=('python-setuptools')
+depends=('python-setuptools')
 md5sums=('efdaf9d01f2681696526f244916683f5')
 
source=("https://files.pythonhosted.org/packages/0e/80/dc4215b549ddbe1d1251bc4cd47ad6f4a65e1f9803815997817ff297d22e/$pkgname-$pkgver.tar.gz;)
 


[arch-commits] Commit in txt2tags/trunk (PKGBUILD)

2020-06-13 Thread Connor Behan via arch-commits
Date: Saturday, June 13, 2020 @ 11:59:07
  Author: cbehan
Revision: 642852

upgpkg: txt2tags 3.7-1: Update to 3.7-1

Modified:
  txt2tags/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-06-13 10:36:48 UTC (rev 642851)
+++ PKGBUILD2020-06-13 11:59:07 UTC (rev 642852)
@@ -4,7 +4,7 @@
 # Contributor: Stefan Husmann 
 
 pkgname=txt2tags
-pkgver=3.3
+pkgver=3.7
 pkgrel=1
 pkgdesc='A text formatting and conversion tool.'
 arch=('any')
@@ -12,8 +12,8 @@
 license=('GPL')
 depends=('python')
 makedepends=('python-setuptools')
-md5sums=('3261d1d6e185a8159212970c2a8e617d')
-source=("https://github.com/jendrikseipp/$pkgname/archive/$pkgver.tar.gz;)
+md5sums=('efdaf9d01f2681696526f244916683f5')
+source=("https://files.pythonhosted.org/packages/0e/80/dc4215b549ddbe1d1251bc4cd47ad6f4a65e1f9803815997817ff297d22e/$pkgname-$pkgver.tar.gz;)
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"


[arch-commits] Commit in txt2tags/trunk (PKGBUILD)

2019-12-20 Thread Connor Behan via arch-commits
Date: Friday, December 20, 2019 @ 17:23:58
  Author: cbehan
Revision: 538546

upgpkg: txt2tags 3.3-1

Switch to maintained fork which is missing some features but supports Python 3

Modified:
  txt2tags/trunk/PKGBUILD

--+
 PKGBUILD |   66 +
 1 file changed, 10 insertions(+), 56 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-12-20 17:08:58 UTC (rev 538545)
+++ PKGBUILD2019-12-20 17:23:58 UTC (rev 538546)
@@ -4,70 +4,24 @@
 # Contributor: Stefan Husmann 
 
 pkgname=txt2tags
-pkgver=2.6
-pkgrel=6
+pkgver=3.3
+pkgrel=1
 pkgdesc='A text formatting and conversion tool.'
 arch=('any')
-url='https://www.txt2tags.org'
+url='http://www.txt2tags.org'
 license=('GPL')
-depends=('python2')
-optdepends=('ruby: for running t2tmake.rb'
-'sh: for running html-update.sh'
-'vim: for using the vim-files')
-makedepends=('gettext')
-source=("https://github.com/$pkgname/$pkgname/archive/$pkgver.tar.gz;)
-md5sums=('531e4ab3f0fb0a4dac5abb0605472109')
+depends=('python')
+makedepends=('python-setuptools')
+md5sums=('3261d1d6e185a8159212970c2a8e617d')
+source=("https://github.com/jendrikseipp/$pkgname/archive/$pkgver.tar.gz;)
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
-
-  # python2 fix
-  for f in txt2tags extras/gensite; do
-sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' "$f"
-  done
+  python setup.py build
 }
 
 package() {
   cd "$srcdir/$pkgname-$pkgver"
+  python setup.py install --root="$pkgdir"
+}
 
-  install -d "$pkgdir/usr/share/vim/vimfiles"/{plugin,syntax,compiler,macros}
-  install -d "$pkgdir/usr/share/man"/{it,pt_BR,fr,es,ca}/man1
-  install -d "$pkgdir/usr/share/man/man1"
-
-  install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
-  install -Dm644 extras/pagemaker.vim 
"$pkgdir/usr/share/vim/vimfiles/syntax/pagemaker.vim"
-  install -Dm644 "extras/$pkgname.vim" 
"$pkgdir/usr/share/vim/vimfiles/syntax/$pkgname.vim"
-  install -Dm644 extras/gvim-menu.vim \
-"$pkgdir/usr/share/vim/vimfiles/plugin/$pkgname-gvim-menu.vim"
-  install -Dm644 "extras/$pkgname-compiler.vim" \
-"$pkgdir/usr/share/vim/vimfiles/compiler/$pkgname-compiler.vim"
-  install -Dm644 extras/unhtml.vim \
-"$pkgdir/usr/share/vim/vimfiles/macros/unhtml.vim"
-
-  # installing other extra tools
-  install -m755 extras/{t2tmake.rb,gensite,html-update.sh,dynartslides} 
"$pkgdir/usr/bin"
-  install -Dm644 extras/txt2tags-mode.el 
"$pkgdir/usr/share/emacs/site-lisp/txt2tags-mode.el"
-  
-   # handling man pages
-  cd doc
-  for _file in `find . -name *.man | grep -v English`; do
-_lang=${_file:${#_file}-6:2}
-install -Dm644 "$_file" "$pkgname.1-${_lang}"
-if [[ ${_lang} == "pt" ]]; then
-  cp "$pkgname.1-${_lang}" "$pkgdir/usr/share/man/pt_BR/man1/$pkgname.1"
-else
-  install -Dm644 "$pkgname.1-${_lang}" 
"$pkgdir/usr/share/man/${_lang}/man1/$pkgname.1"
-fi
-  done
-  
-   # English man page
-  install -Dm644 English/manpage.man "$pkgdir/usr/share/man/man1/$pkgname.1"
-
-  # i18n
-  cd ../po
-  for _i in *.po
-  do
-msgfmt -o "${_i%.po}.mo" "${_i}"
-install -Dm644 "${_i%.po}.mo" 
"$pkgdir/usr/share/locale/${_i%.po}/LC_MESSAGES/$pkgname.mo"
-  done
-}


[arch-commits] Commit in txt2tags/trunk (PKGBUILD)

2019-01-25 Thread Connor Behan via arch-commits
Date: Saturday, January 26, 2019 @ 03:30:42
  Author: cbehan
Revision: 427934

upgpkg: txt2tags 2.6-6

Https URL

Modified:
  txt2tags/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-01-26 03:09:50 UTC (rev 427933)
+++ PKGBUILD2019-01-26 03:30:42 UTC (rev 427934)
@@ -5,10 +5,10 @@
 
 pkgname=txt2tags
 pkgver=2.6
-pkgrel=5
+pkgrel=6
 pkgdesc='A text formatting and conversion tool.'
 arch=('any')
-url='http://www.txt2tags.org'
+url='https://www.txt2tags.org'
 license=('GPL')
 depends=('python2')
 optdepends=('ruby: for running t2tmake.rb'


[arch-commits] Commit in txt2tags/trunk (PKGBUILD)

2017-12-24 Thread Connor Behan via arch-commits
Date: Sunday, December 24, 2017 @ 22:26:36
  Author: cbehan
Revision: 275863

upgpkg: txt2tags 2.6-5

Rescue source

Modified:
  txt2tags/trunk/PKGBUILD

--+
 PKGBUILD |   13 +++--
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-12-24 22:23:09 UTC (rev 275862)
+++ PKGBUILD2017-12-24 22:26:36 UTC (rev 275863)
@@ -5,7 +5,7 @@
 
 pkgname=txt2tags
 pkgver=2.6
-pkgrel=4
+pkgrel=5
 pkgdesc='A text formatting and conversion tool.'
 arch=('any')
 url='http://www.txt2tags.org'
@@ -15,8 +15,8 @@
 'sh: for running html-update.sh'
 'vim: for using the vim-files')
 makedepends=('gettext')
-source=("http://txt2tags.googlecode.com/files/$pkgname-$pkgver.tgz;)
-md5sums=('ac09fd624f1e3a553d5f0e01271cc0ee')
+source=("https://github.com/$pkgname/$pkgname/archive/$pkgver.tar.gz;)
+md5sums=('531e4ab3f0fb0a4dac5abb0605472109')
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
@@ -50,8 +50,9 @@
   
# handling man pages
   cd doc
-  for _lang in {"it","pt","fr","es","ca"}; do
-install -Dm644 "manpage-${_lang}.man" "$pkgname.1-${_lang}"
+  for _file in `find . -name *.man | grep -v English`; do
+_lang=${_file:${#_file}-6:2}
+install -Dm644 "$_file" "$pkgname.1-${_lang}"
 if [[ ${_lang} == "pt" ]]; then
   cp "$pkgname.1-${_lang}" "$pkgdir/usr/share/man/pt_BR/man1/$pkgname.1"
 else
@@ -60,7 +61,7 @@
   done
   
# English man page
-  install -Dm644 manpage.man "$pkgdir/usr/share/man/man1/$pkgname.1"
+  install -Dm644 English/manpage.man "$pkgdir/usr/share/man/man1/$pkgname.1"
 
   # i18n
   cd ../po


[arch-commits] Commit in txt2tags/trunk (PKGBUILD)

2014-07-04 Thread Connor Behan
Date: Friday, July 4, 2014 @ 10:31:33
  Author: cbehan
Revision: 114833

upgpkg: txt2tags 2.6-4

Update to 2.6-4

Modified:
  txt2tags/trunk/PKGBUILD

--+
 PKGBUILD |8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-07-04 08:27:13 UTC (rev 114832)
+++ PKGBUILD2014-07-04 08:31:33 UTC (rev 114833)
@@ -1,16 +1,18 @@
-# Maintainer: Lukas Fleischer archlinux at cryptocrack dot de
+# Maintainer: Connor Behan connor.be...@gmail.com
+# Contributor: Lukas Fleischer archlinux at cryptocrack dot de
 # Contributor: Douglas Soares de Andrade dsandr...@gmail.com
 # Contributor: Stefan Husmann stefan-husm...@t-online.de
 
 pkgname=txt2tags
 pkgver=2.6
-pkgrel=3
+pkgrel=4
 pkgdesc='A text formatting and conversion tool.'
 arch=('any')
 url='http://www.txt2tags.org'
 license=('GPL')
 depends=('python2')
-optdepends=('ruby: for running t2tmake.rb' 'sh: for running html-update.sh'
+optdepends=('ruby: for running t2tmake.rb'
+'sh: for running html-update.sh'
 'vim: for using the vim-files')
 makedepends=('gettext')
 source=(http://txt2tags.googlecode.com/files/$pkgname-$pkgver.tgz;)