1. kunstmusik
  2. csound-package-manager

Commits

kunstmusik  committed af3d3a1

made package.cspm the default name for package descriptors

  • Participants
  • Parent commits 295b2fc
  • Branches master

Comments (0)

Files changed (7)

File .gitignore

View file
-package.cspm
 *~
 *tar.bz2
 testRepo

File buildTestRepo.sh

View file
 cd testRepo
 mkdir packages
 cd packages 
-../../cspm.py build ../../testPackages/test/test.cspm
-../../cspm.py build ../../testPackages/test2/test2.cspm
+../../cspm.py build ../../testPackages/test/package.cspm
+../../cspm.py build ../../testPackages/test2/package.cspm
 cd ..
 echo "<packages>" > cspmrepo.xml
-../cspm.py xml ../testPackages/test/test.cspm >> cspmrepo.xml
-../cspm.py xml ../testPackages/test2/test2.cspm >> cspmrepo.xml
+../cspm.py xml ../testPackages/test/package.cspm >> cspmrepo.xml
+../cspm.py xml ../testPackages/test2/package.cspm >> cspmrepo.xml
 echo "</packages>" >> cspmrepo.xml

File cspm.py

View file
     author = args.author
     email = args.email
          
-    f = open(pkgName + '.cspm', 'w')
+    f = open('package.cspm', 'w')
     
     c = ConfigParser.RawConfigParser()
     section = 'package'
     f.flush()
     f.close()
     
-    print "Created %s.cspm file"%pkgName
+    print "Created package.cspm file"
 
 # BUILD COMMAND ################################
 

File testPackages/test/package.cspm

View file
+[package]
+name = test
+version = 1.0
+author = Steven Yi
+email = stevenyi@gmail.com
+description = description of test
+website = None
+license = None
+copyright = None
+files = test.udo 
+ 	README
+dependencies = None
+

File testPackages/test/test.cspm

-[package]
-name = test
-version = 1.0
-author = Steven Yi
-email = stevenyi@gmail.com
-description = description of test
-website = None
-license = None
-copyright = None
-files = test.udo 
- 	README
-dependencies = None
-

File testPackages/test2/package.cspm

View file
+[package]
+name = test2
+version = 1.0
+author = Steven Yi
+email = stevenyi@gmail.com
+description = description of test2
+website = None
+license = None
+copyright = None
+files = test2.udo 
+dependencies = test-1.0 
+

File testPackages/test2/test2.cspm

-[package]
-name = test2
-version = 1.0
-author = Steven Yi
-email = stevenyi@gmail.com
-description = description of test2
-website = None
-license = None
-copyright = None
-files = test2.udo 
-dependencies = test-1.0 
-