[arch-commits] Commit in python-docs/trunk (PKGBUILD mirror-to-arch.sh)
Sergej Pupykin
spupykin at archlinux.org
Thu Jun 21 17:13:51 UTC 2018
Date: Thursday, June 21, 2018 @ 17:13:50
Author: spupykin
Revision: 344324
python-docs: use archlinux source mirror
Added:
python-docs/trunk/mirror-to-arch.sh
Modified:
python-docs/trunk/PKGBUILD
-------------------+
PKGBUILD | 4 ++--
mirror-to-arch.sh | 5 +++++
2 files changed, 7 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-21 16:55:35 UTC (rev 344323)
+++ PKGBUILD 2018-06-21 17:13:50 UTC (rev 344324)
@@ -11,8 +11,8 @@
url="http://docs.python.org/py3k/"
license=('GPL')
options=('docs')
-source=(https://docs.python.org/3/archives/python-$pkgver-docs-html.tar.bz2)
-sha256sums=('2d09f070d7b1cea6ccececc559c5d9c013b047bb8d6e10eb5a1a3e1cc5d1f0c8')
+source=(https://sources.archlinux.org/other/community/python-docs/python-$pkgver-docs-html.tar.bz2)
+sha256sums=('95835e11a1da9879453973514487670265572f8f70f185ef80f1d452a16fa0b0')
package() {
mkdir -p "$pkgdir"/usr/share/doc/python/html
Added: mirror-to-arch.sh
===================================================================
--- mirror-to-arch.sh (rev 0)
+++ mirror-to-arch.sh 2018-06-21 17:13:50 UTC (rev 344324)
@@ -0,0 +1,5 @@
+#!/bin/bash -x
+
+source PKGBUILD
+wget https://docs.python.org/3/archives/python-$pkgver-docs-html.tar.bz2
+scp python-$pkgver-docs-html.tar.bz2 repos.archlinux.org:/srv/sources/other/community/python-docs/
Property changes on: python-docs/trunk/mirror-to-arch.sh
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+LF
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
More information about the arch-commits
mailing list