Skip to contentSkip to conversation

python-urwid: bump version and add checksums

PATCH New Christophe Vu-Brugier 3 participants 18 messages Sep 3, 2015 – Oct 3, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/6 python-urwid: bump version and add checksums

---
Changes since v1:
* Change hash URL from PyPI as suggested by Baruch Siach

---
 package/python-urwid/python-urwid.hash | 3 +++
 package/python-urwid/python-urwid.mk   | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
 create mode 100644 package/python-urwid/python-urwid.hash
package/python-urwid/python-urwid.hash new file +3 -0
new file mode 100644
index 0000000..eceed9d
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/urwid/1.3.0, sha256 locally computed
+md5	a989acd54f4ff1a554add464803a9175  urwid-1.3.0.tar.gz
+sha256	29f04fad3bf0a79c5491f7ebec2d50fa086e9d16359896c9204c6a92bc07aba2  urwid-1.3.0.tar.gz
package/python-urwid/python-urwid.mk +1 -1
index 4f1be46..1cd3022 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-PYTHON_URWID_VERSION = 1.2.1
+PYTHON_URWID_VERSION = 1.3.0
 PYTHON_URWID_SOURCE = urwid-$(PYTHON_URWID_VERSION).tar.gz
 PYTHON_URWID_SITE = https://pypi.python.org/packages/source/u/urwid
 PYTHON_URWID_LICENSE = LGPLv2.1+
Signature · 1 line
2.5.0
#1 lore raw

PATCH v2 2/6 python-pyparsing: bump version

Also download tarball from PyPI instead of SourceForge.

---
Changes since v1:
* Change hash URL from PyPI as suggested by Baruch Siach

---
 package/python-pyparsing/python-pyparsing.hash | 5 +++--
 package/python-pyparsing/python-pyparsing.mk   | 4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)
package/python-pyparsing/python-pyparsing.hash +3 -2
index aee93af..93a0845 100644
@@ -1,2 +1,3 @@
-# Locally computed:
-sha256  17e43d6b17588ed5968735575b3983a952133ec4082596d214d7090b56d48a06  pyparsing-2.0.2.tar.gz
+# md5 from https://pypi.python.org/pypi/pyparsing/2.0.3, sha256 locally computed
+md5	0fe479be09fc2cf005f753d3acc35939  pyparsing-2.0.3.tar.gz
+sha256  06e729e1cbf5274703b1f47b6135ed8335999d547f9d8cf048b210fb8ebf844f  pyparsing-2.0.3.tar.gz
package/python-pyparsing/python-pyparsing.mk +2 -2
index 8e83f34..ad066b8 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_PYPARSING_VERSION = 2.0.2
+PYTHON_PYPARSING_VERSION = 2.0.3
 PYTHON_PYPARSING_SOURCE = pyparsing-$(PYTHON_PYPARSING_VERSION).tar.gz
-PYTHON_PYPARSING_SITE = http://downloads.sourceforge.net/project/pyparsing/pyparsing/pyparsing-$(PYTHON_PYPARSING_VERSION)
+PYTHON_PYPARSING_SITE = https://pypi.python.org/packages/source/p/pyparsing
 PYTHON_PYPARSING_LICENSE = MIT
 PYTHON_PYPARSING_LICENSE_FILES = LICENSE
 PYTHON_PYPARSING_SETUP_TYPE = distutils
Signature · 1 line
2.5.0
#2 lore raw

PATCH v2 2/6 python-pyparsing: bump version

Dear Christophe Vu-Brugier,

Quoted 30 lines · Christophe Vu-Brugier

Also download tarball from PyPI instead of SourceForge.

---
Changes since v1:
* Change hash URL from PyPI as suggested by Baruch Siach

---
 package/python-pyparsing/python-pyparsing.hash | 5 +++--
 package/python-pyparsing/python-pyparsing.mk   | 4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)
package/python-pyparsing/python-pyparsing.hash +3 -2
index aee93af..93a0845 100644
@@ -1,2 +1,3 @@
-# Locally computed:
-sha256  17e43d6b17588ed5968735575b3983a952133ec4082596d214d7090b56d48a06  pyparsing-2.0.2.tar.gz
+# md5 from https://pypi.python.org/pypi/pyparsing/2.0.3, sha256 locally computed
+md5	0fe479be09fc2cf005f753d3acc35939  pyparsing-2.0.3.tar.gz
+sha256  06e729e1cbf5274703b1f47b6135ed8335999d547f9d8cf048b210fb8ebf844f  pyparsing-2.0.3.tar.gz
package/python-pyparsing/python-pyparsing.mk +0 -0
index 8e83f34..ad066b8 100644
@@ -4,9 +4,9 @@
 #

package/python-pyparsing/python-pyparsing.mk line 12

Quoted 10 lines
package/python-pyparsing/python-pyparsing.mk +2 -2
 ################################################################################
 
-PYTHON_PYPARSING_VERSION = 2.0.2
+PYTHON_PYPARSING_VERSION = 2.0.3
 PYTHON_PYPARSING_SOURCE = pyparsing-$(PYTHON_PYPARSING_VERSION).tar.gz
-PYTHON_PYPARSING_SITE = http://downloads.sourceforge.net/project/pyparsing/pyparsing/pyparsing-$(PYTHON_PYPARSING_VERSION)
+PYTHON_PYPARSING_SITE = https://pypi.python.org/packages/source/p/pyparsing
 PYTHON_PYPARSING_LICENSE = MIT
 PYTHON_PYPARSING_LICENSE_FILES = LICENSE
 PYTHON_PYPARSING_SETUP_TYPE = distutils

Compile test for MIPS architecture:

$ grep ^PYTHON_PYPARSING_VERSION
package/python-pyparsing/python-pyparsing.mk
PYTHON_PYPARSING_VERSION = 2.0.3
$ file output/target/usr/lib/python2.7/site-packages/pyparsing.pyc
output/target/usr/lib/python2.7/site-packages/pyparsing.pyc: DBase 3
data file (1408166079 records)

Regards,

Vincent.

#3 lore raw

PATCH v2 2/6 python-pyparsing: bump version

In reply to Christophe Vu-Brugier
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Christophe" == Christophe Vu-Brugier <[email protected]> writes:

Also download tarball from PyPI instead of SourceForge.

---
Changes since v1:
* Change hash URL from PyPI as suggested by Baruch Siach

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw

PATCH v2 3/6 python-rtslib-fb: bump version

In reply to Christophe Vu-Brugier

Also add new dependency to python-six.

---
Changes since v1:
* Select BR2_PACKAGE_PYTHON_SIX in Config.in

---
 package/python-rtslib-fb/Config.in           | 1 +
 package/python-rtslib-fb/python-rtslib-fb.mk | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
package/python-rtslib-fb/Config.in +1 -0
index 42a610c..7bae560 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_RTSLIB_FB
 	bool "python-rtslib-fb"
+	select BR2_PACKAGE_PYTHON_SIX
 	help
 	  rtslib-fb is an object-based Python library for configuring
 	  the LIO generic SCSI target, present in 3.x Linux kernel
package/python-rtslib-fb/python-rtslib-fb.mk +2 -1
index d45c261..85bee0b 100644
@@ -4,10 +4,11 @@
 #
 ################################################################################
 
-PYTHON_RTSLIB_FB_VERSION = v2.1.fb50
+PYTHON_RTSLIB_FB_VERSION = v2.1.fb57
 PYTHON_RTSLIB_FB_SITE = $(call github,agrover,rtslib-fb,$(PYTHON_RTSLIB_FB_VERSION))
 PYTHON_RTSLIB_FB_LICENSE = Apache-2.0
 PYTHON_RTSLIB_FB_LICENSE_FILES = COPYING
 PYTHON_RTSLIB_FB_SETUP_TYPE = setuptools
+PYTHON_RTSLIB_FB_DEPENDENCIES = python-six
 
 $(eval $(python-package))
Signature · 1 line
2.5.0
#5 lore raw

PATCH v2 3/6 python-rtslib-fb: bump version

Dear Christophe Vu-Brugier,

Quoted 32 lines · Christophe Vu-Brugier

Also add new dependency to python-six.

---
Changes since v1:
* Select BR2_PACKAGE_PYTHON_SIX in Config.in

---
 package/python-rtslib-fb/Config.in           | 1 +
 package/python-rtslib-fb/python-rtslib-fb.mk | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
package/python-rtslib-fb/Config.in +1 -0
index 42a610c..7bae560 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_RTSLIB_FB
 	bool "python-rtslib-fb"
+	select BR2_PACKAGE_PYTHON_SIX
 	help
 	  rtslib-fb is an object-based Python library for configuring
 	  the LIO generic SCSI target, present in 3.x Linux kernel
package/python-rtslib-fb/python-rtslib-fb.mk +0 -0
index d45c261..85bee0b 100644
@@ -4,10 +4,11 @@
 #
 ################################################################################

package/python-rtslib-fb/python-rtslib-fb.mk line 14

Quoted 10 lines
package/python-rtslib-fb/python-rtslib-fb.mk +2 -1
 
-PYTHON_RTSLIB_FB_VERSION = v2.1.fb50
+PYTHON_RTSLIB_FB_VERSION = v2.1.fb57
 PYTHON_RTSLIB_FB_SITE = $(call github,agrover,rtslib-fb,$(PYTHON_RTSLIB_FB_VERSION))
 PYTHON_RTSLIB_FB_LICENSE = Apache-2.0
 PYTHON_RTSLIB_FB_LICENSE_FILES = COPYING
 PYTHON_RTSLIB_FB_SETUP_TYPE = setuptools
+PYTHON_RTSLIB_FB_DEPENDENCIES = python-six
 
 $(eval $(python-package))

Compile test for MIPS architecture:

$ grep ^PYTHON_RTSLIB_FB_VERSION
package/python-rtslib-fb/python-rtslib-fb.mk
PYTHON_RTSLIB_FB_VERSION = v2.1.fb57
$ file output/target/usr/lib/python2.7/site-packages/rtslib_fb/root.pyc
output/target/usr/lib/python2.7/site-packages/rtslib_fb/root.pyc: DBase
3 data file (1435076471 records)

Regards,

Vincent.

#7 lore raw

PATCH v2 4/6 python-configshell-fb: bump version

In reply to Christophe Vu-Brugier

Also add new dependency to python-six.

---
Changes since v1:
* Select BR2_PACKAGE_PYTHON_SIX in Config.in

---
 package/python-configshell-fb/Config.in                | 1 +
 package/python-configshell-fb/python-configshell-fb.mk | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
package/python-configshell-fb/Config.in +1 -0
index 85f47a8..a680ce0 100644
@@ -3,6 +3,7 @@ config BR2_PACKAGE_PYTHON_CONFIGSHELL_FB
 	select BR2_PACKAGE_PYTHON_PYPARSING
 	select BR2_PACKAGE_PYTHON3_READLINE if BR2_PACKAGE_PYTHON3
 	select BR2_PACKAGE_PYTHON_READLINE if BR2_PACKAGE_PYTHON
+	select BR2_PACKAGE_PYTHON_SIX
 	select BR2_PACKAGE_PYTHON_URWID
 	help
 	  configshell-fb is a Python library that provides a framework
package/python-configshell-fb/python-configshell-fb.mk +2 -2
index 76ef48d..d0671d5 100644
@@ -4,11 +4,11 @@
 #
 ################################################################################
 
-PYTHON_CONFIGSHELL_FB_VERSION = v1.1.fb15
+PYTHON_CONFIGSHELL_FB_VERSION = v1.1.fb18
 PYTHON_CONFIGSHELL_FB_SITE = $(call github,agrover,configshell-fb,$(PYTHON_CONFIGSHELL_FB_VERSION))
 PYTHON_CONFIGSHELL_FB_LICENSE = Apache-2.0
 PYTHON_CONFIGSHELL_FB_LICENSE_FILES = COPYING
 PYTHON_CONFIGSHELL_FB_SETUP_TYPE = setuptools
-PYTHON_CONFIGSHELL_FB_DEPENDENCIES = python-pyparsing python-urwid
+PYTHON_CONFIGSHELL_FB_DEPENDENCIES = python-pyparsing python-six python-urwid
 
 $(eval $(python-package))
Signature · 1 line
2.5.0
#8 lore raw

PATCH v2 4/6 python-configshell-fb: bump version

Dear Christophe Vu-Brugier,

Quoted 34 lines · Christophe Vu-Brugier

Also add new dependency to python-six.

---
Changes since v1:
* Select BR2_PACKAGE_PYTHON_SIX in Config.in

---
 package/python-configshell-fb/Config.in                | 1 +
 package/python-configshell-fb/python-configshell-fb.mk | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
package/python-configshell-fb/Config.in +1 -0
index 85f47a8..a680ce0 100644
@@ -3,6 +3,7 @@ config BR2_PACKAGE_PYTHON_CONFIGSHELL_FB
 	select BR2_PACKAGE_PYTHON_PYPARSING
 	select BR2_PACKAGE_PYTHON3_READLINE if BR2_PACKAGE_PYTHON3
 	select BR2_PACKAGE_PYTHON_READLINE if BR2_PACKAGE_PYTHON
+	select BR2_PACKAGE_PYTHON_SIX
 	select BR2_PACKAGE_PYTHON_URWID
 	help
 	  configshell-fb is a Python library that provides a framework
package/python-configshell-fb/python-configshell-fb.mk +0 -0
index 76ef48d..d0671d5 100644
@@ -4,11 +4,11 @@
 #
 ################################################################################
 

package/python-configshell-fb/python-configshell-fb.mk line 14

Quoted 10 lines
package/python-configshell-fb/python-configshell-fb.mk +2 -2
-PYTHON_CONFIGSHELL_FB_VERSION = v1.1.fb15
+PYTHON_CONFIGSHELL_FB_VERSION = v1.1.fb18
 PYTHON_CONFIGSHELL_FB_SITE = $(call github,agrover,configshell-fb,$(PYTHON_CONFIGSHELL_FB_VERSION))
 PYTHON_CONFIGSHELL_FB_LICENSE = Apache-2.0
 PYTHON_CONFIGSHELL_FB_LICENSE_FILES = COPYING
 PYTHON_CONFIGSHELL_FB_SETUP_TYPE = setuptools
-PYTHON_CONFIGSHELL_FB_DEPENDENCIES = python-pyparsing python-urwid
+PYTHON_CONFIGSHELL_FB_DEPENDENCIES = python-pyparsing python-six python-urwid
 
 $(eval $(python-package))

Compile test for MIPS architecture:

$ grep ^PYTHON_CONFIGSHELL_FB_VERSION
package/python-configshell-fb/python-configshell-fb.mk
PYTHON_CONFIGSHELL_FB_VERSION = v1.1.fb18
$ file
output/target/usr/lib/python2.7/site-packages/configshell_fb/console.pyc
output/target/usr/lib/python2.7/site-packages/configshell_fb/console.pyc: DBase
3 data file (1435076290 records)

Regards,

Vincent.

#10 lore raw

PATCH v2 5/6 targetcli-fb: bump version

In reply to Christophe Vu-Brugier

Also add new dependency to python-six.

---
Changes since v1:
* Select BR2_PACKAGE_PYTHON_SIX in Config.in

---
 package/targetcli-fb/Config.in       | 1 +
 package/targetcli-fb/targetcli-fb.mk | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
package/targetcli-fb/Config.in +1 -0
index ee241ef..b655938 100644
@@ -6,6 +6,7 @@ config BR2_PACKAGE_TARGETCLI_FB
 	depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
 	select BR2_PACKAGE_PYTHON_CONFIGSHELL_FB
 	select BR2_PACKAGE_PYTHON_RTSLIB_FB
+	select BR2_PACKAGE_PYTHON_SIX
 	help
 	  targetcli-fb is a command-line interface for configuring the
 	  LIO generic SCSI target, present in 3.x Linux kernel
package/targetcli-fb/targetcli-fb.mk +2 -2
index b5f2fbe..0a64c46 100644
@@ -4,12 +4,12 @@
 #
 ################################################################################
 
-TARGETCLI_FB_VERSION = v2.1.fb37
+TARGETCLI_FB_VERSION = v2.1.fb41
 TARGETCLI_FB_SITE = $(call github,agrover,targetcli-fb,$(TARGETCLI_FB_VERSION))
 TARGETCLI_FB_LICENSE = Apache-2.0
 TARGETCLI_FB_LICENSE_FILES = COPYING
 TARGETCLI_FB_SETUP_TYPE = setuptools
-TARGETCLI_FB_DEPENDENCIES = python-configshell-fb python-rtslib-fb
+TARGETCLI_FB_DEPENDENCIES = python-configshell-fb python-rtslib-fb python-six
 
 define TARGETCLI_FB_INSTALL_INIT_SYSV
 	$(INSTALL) -m 0755 -D package/targetcli-fb/S50target $(TARGET_DIR)/etc/init.d/S50target
Signature · 1 line
2.5.0
#11 lore raw

PATCH v2 5/6 targetcli-fb: bump version

Dear Christophe Vu-Brugier,

Quoted 35 lines · Christophe Vu-Brugier

Also add new dependency to python-six.

---
Changes since v1:
* Select BR2_PACKAGE_PYTHON_SIX in Config.in

---
 package/targetcli-fb/Config.in       | 1 +
 package/targetcli-fb/targetcli-fb.mk | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
package/targetcli-fb/Config.in +1 -0
index ee241ef..b655938 100644
@@ -6,6 +6,7 @@ config BR2_PACKAGE_TARGETCLI_FB
 	depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
 	select BR2_PACKAGE_PYTHON_CONFIGSHELL_FB
 	select BR2_PACKAGE_PYTHON_RTSLIB_FB
+	select BR2_PACKAGE_PYTHON_SIX
 	help
 	  targetcli-fb is a command-line interface for configuring the
 	  LIO generic SCSI target, present in 3.x Linux kernel
package/targetcli-fb/targetcli-fb.mk +0 -1
index b5f2fbe..0a64c46 100644
@@ -4,12 +4,12 @@
 #
 ################################################################################
 
-TARGETCLI_FB_VERSION = v2.1.fb37

package/targetcli-fb/targetcli-fb.mk line 15

Quoted 10 lines
package/targetcli-fb/targetcli-fb.mk +2 -1
+TARGETCLI_FB_VERSION = v2.1.fb41
 TARGETCLI_FB_SITE = $(call github,agrover,targetcli-fb,$(TARGETCLI_FB_VERSION))
 TARGETCLI_FB_LICENSE = Apache-2.0
 TARGETCLI_FB_LICENSE_FILES = COPYING
 TARGETCLI_FB_SETUP_TYPE = setuptools
-TARGETCLI_FB_DEPENDENCIES = python-configshell-fb python-rtslib-fb
+TARGETCLI_FB_DEPENDENCIES = python-configshell-fb python-rtslib-fb python-six
 
 define TARGETCLI_FB_INSTALL_INIT_SYSV
 	$(INSTALL) -m 0755 -D package/targetcli-fb/S50target $(TARGET_DIR)/etc/init.d/S50target

Compile test for MIPS architecture:

$ grep ^TARGETCLI_FB_VERSION package/targetcli-fb/targetcli-fb.mk
TARGETCLI_FB_VERSION = v2.1.fb41
$ file output/target/usr/lib/python2.7/site-packages/targetcli/ui_target.pyc
output/target/usr/lib/python2.7/site-packages/targetcli/ui_target.pyc:
DBase 3 data file (1435076614 records)

Regards,

Vincent.

#13 lore raw

PATCH v2 6/6 targetcli-fb: systemd support

In reply to Christophe Vu-Brugier

The systemd service file is taken from Fedora.

---
 package/targetcli-fb/target.service  | 14 ++++++++++++++
 package/targetcli-fb/targetcli-fb.mk |  8 +++++++-
 2 files changed, 21 insertions(+), 1 deletion(-)
 create mode 100644 package/targetcli-fb/target.service
package/targetcli-fb/target.service new file +14 -0
new file mode 100644
index 0000000..400284e
@@ -0,0 +1,14 @@
+[Unit]
+Description=Restore LIO kernel target configuration
+Requires=sys-kernel-config.mount
+After=sys-kernel-config.mount network.target local-fs.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/bin/targetctl restore
+ExecStop=/usr/bin/targetctl clear
+SyslogIdentifier=target
+
+[Install]
+WantedBy=multi-user.target
package/targetcli-fb/targetcli-fb.mk +7 -1
index 0a64c46..cf7f29f 100644
@@ -12,7 +12,13 @@ TARGETCLI_FB_SETUP_TYPE = setuptools
 TARGETCLI_FB_DEPENDENCIES = python-configshell-fb python-rtslib-fb python-six
 
 define TARGETCLI_FB_INSTALL_INIT_SYSV
-	$(INSTALL) -m 0755 -D package/targetcli-fb/S50target $(TARGET_DIR)/etc/init.d/S50target
+	$(INSTALL) -m 0755 -D package/targetcli-fb/S50target \
+		$(TARGET_DIR)/etc/init.d/S50target
+endef
+
+define TARGETCLI_FB_INSTALL_INIT_SYSTEMD
+	$(INSTALL) -m 0644 -D package/targetcli-fb/target.service \
+		$(TARGET_DIR)/usr/lib/systemd/system/target.service
 endef
 
 # Targetcli stores its configuration in /etc/target/saveconfig.json
Signature · 1 line
2.5.0
#14 lore raw

PATCH v2 6/6 targetcli-fb: systemd support

Dear Christophe Vu-Brugier,

Quoted 39 lines · Christophe Vu-Brugier

The systemd service file is taken from Fedora.

---
 package/targetcli-fb/target.service  | 14 ++++++++++++++
 package/targetcli-fb/targetcli-fb.mk |  8 +++++++-
 2 files changed, 21 insertions(+), 1 deletion(-)
 create mode 100644 package/targetcli-fb/target.service
package/targetcli-fb/target.service new file +14 -0
new file mode 100644
index 0000000..400284e
@@ -0,0 +1,14 @@
+[Unit]
+Description=Restore LIO kernel target configuration
+Requires=sys-kernel-config.mount
+After=sys-kernel-config.mount network.target local-fs.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/bin/targetctl restore
+ExecStop=/usr/bin/targetctl clear
+SyslogIdentifier=target
+
+[Install]
+WantedBy=multi-user.target
package/targetcli-fb/targetcli-fb.mk +0 -1
index 0a64c46..cf7f29f 100644
@@ -12,7 +12,13 @@ TARGETCLI_FB_SETUP_TYPE = setuptools
 TARGETCLI_FB_DEPENDENCIES = python-configshell-fb python-rtslib-fb python-six
 
 define TARGETCLI_FB_INSTALL_INIT_SYSV
-	$(INSTALL) -m 0755 -D package/targetcli-fb/S50target $(TARGET_DIR)/etc/init.d/S50target

package/targetcli-fb/targetcli-fb.mk TARGETCLI_FB_SETUP_TYPE = setuptools · line 24

Quoted 10 lines
package/targetcli-fb/targetcli-fb.mk +7 -0
+	$(INSTALL) -m 0755 -D package/targetcli-fb/S50target \
+		$(TARGET_DIR)/etc/init.d/S50target
+endef
+
+define TARGETCLI_FB_INSTALL_INIT_SYSTEMD
+	$(INSTALL) -m 0644 -D package/targetcli-fb/target.service \
+		$(TARGET_DIR)/usr/lib/systemd/system/target.service
 endef
 
 # Targetcli stores its configuration in /etc/target/saveconfig.json

Compile test for MIPS architecture:

$ file output/target/usr/lib/systemd/system/target.service
output/target/usr/lib/systemd/system/target.service: ASCII text

Although I'm a bit confused since I googled about it and it seems the target.service file should be installed by python-rtslib-fb instead:

https://github.com/agrover/targetcli-fb/issues/39#issuecomment-37868163
https://wiki.archlinux.org/index.php/ISCSI_Target#Setup_with_LIO_Target

Regards,

Vincent.

#16 lore raw

PATCH v2 1/6 python-urwid: bump version and add checksums

In reply to Christophe Vu-Brugier

Dear Christophe Vu-Brugier,

Quoted 27 lines · Christophe Vu-Brugier

---
Changes since v1:
* Change hash URL from PyPI as suggested by Baruch Siach

---
 package/python-urwid/python-urwid.hash | 3 +++
 package/python-urwid/python-urwid.mk   | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
 create mode 100644 package/python-urwid/python-urwid.hash
package/python-urwid/python-urwid.hash new file +3 -0
new file mode 100644
index 0000000..eceed9d
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/urwid/1.3.0, sha256 locally computed
+md5	a989acd54f4ff1a554add464803a9175  urwid-1.3.0.tar.gz
+sha256	29f04fad3bf0a79c5491f7ebec2d50fa086e9d16359896c9204c6a92bc07aba2  urwid-1.3.0.tar.gz
package/python-urwid/python-urwid.mk +0 -0
index 4f1be46..1cd3022 100644

package/python-urwid/python-urwid.mk line 10

Quoted 8 lines
package/python-urwid/python-urwid.mk +1 -1
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-PYTHON_URWID_VERSION = 1.2.1
+PYTHON_URWID_VERSION = 1.3.0
 PYTHON_URWID_SOURCE = urwid-$(PYTHON_URWID_VERSION).tar.gz
 PYTHON_URWID_SITE = https://pypi.python.org/packages/source/u/urwid
 PYTHON_URWID_LICENSE = LGPLv2.1+

Compile test for MIPS architecture:

$ grep ^PYTHON_URWID_VERSION package/python-urwid/python-urwid.mk
PYTHON_URWID_VERSION = 1.3.0
$ file output/target/usr/lib/python2.7/site-packages/urwid/str_util.so
output/target/usr/lib/python2.7/site-packages/urwid/str_util.so: ELF
32-bit MSB shared object, MIPS, MIPS32 rel2 version 1 (SYSV),
dynamically linked, with unknown capability 0x41000000 = 0xf676e75, with
unknown capability 0x10000 = 0x70401, stripped

Regards,

Vincent.