[packages/adapter: 571/631] some new macro substitutions

glen glen at pld-linux.org
Mon Sep 12 20:22:18 CEST 2016


commit 55e94100085284359dd659f0c261edfefdc031d6
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Mar 21 20:25:06 2013 +0200

    some new macro substitutions

 adapter.awk | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 30d76ae..ab284dd 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1088,6 +1088,8 @@ function use_macros()
 	gsub(py3_sitescriptdir, "%{py3_sitescriptdir}")
 	gsub(py3_sitedir, "%{py3_sitedir}")
 	gsub(py3_scriptdir, "%{py3_scriptdir}")
+	gsub("%{python3_sitelib}", "%{py3_sitescriptdir}")
+	gsub("%{python3_version}", "%{py3_ver}")
 
 	gsub(ruby_archdir, "%{ruby_archdir}")
 	gsub(ruby_ridir, "%{ruby_ridir}")
@@ -2115,6 +2117,7 @@ function replace_requires(field,   pkg) {
 	# {{{ fedora / redhat
 	sub(/^Django$/, "python-django", $2);
 	sub(/^GitPython$/, "python-git", $2);
+	sub(/^pytest$/, "python-pytest", $2);
 	sub(/^MySQL-python$/, "python-MySQLdb", $2);
 	sub(/^PyQt4-devel$/, "python-PyQt4-devel", $2);
 	sub(/^PyQwt-devel$/, "python-PyQwt-devel", $2);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list